- GitHub: [BonnierNews/dn-design-system/../web/src/components/teaser-native](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/teaser-native)
- Storybook: [TeaserNative](https://designsystem.dn.se/?path=/docs/section-teasernative--docs)
- Storybook (Latest): [TeaserNative](https://designsystem-latest.dn.se/?path=/docs/section-teasernative--docs)

----

# teaser-native

## Parameters

|parameter | type | required | options | default | description |
|:--- | :--- | :--- | :--- | :--- | :--- |
|title | String | yes | | | Heading of the teaser |
|targetLink | String | yes | | | Target URL for the teaser |
|nativeVariant | String | no | "standard" or "large" or "right"  | "standard" | |
|areaType | String | no | "right" or "bauta" | | The area where the column is rendered |
|text | String | no | | | Teaser subtext |
|vignette | String | no | | | Top text in the teaser |
|mediaHtml | HTML String | no | | | Main image or other media |
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
|classNames | String | no | | | Ex. "my-special-class" |
|~forcePx~ | | | | | Not supported |

## Minimum requirement example
These are copy paste friendly examples to quickly get started using a component.

### Nunjucks
```html
{% from '@bonniernews/dn-design-system-web/components/teaser-native/teaser-native.njk' import TeaserNative %}

{{ TeaserNative({
  title: "Fossilfri vätgas – en nyckel till minskade koldioxidutsläpp",
  text: "Det blir en viktig konkurrensfördel att kunna leverera produkter som inte skadar klimatet",
  vignette: "Innehåll från Vattenfall"
})}}
```

### SCSS
```scss
@use "@bonniernews/dn-design-system-web/components/teaser-native/teaser-native";
```
