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

----

# TeaserSplitContainer

## Parameters

|parameter | type | required | options | default | description |
|:--- | :--- | :--- | :--- | :--- | :--- |
|teasersHtml | HTML String | yes | | | HTML teaser output |
|theme | String | no | nyheter, kultur | (empty) | The theme is applied to all teasers in the container |
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
|classNames | String | no | | | Ex. "my-special-class" |
|areaType | string | no | "right" or "bauta" | | The area where the column is rendered |
|~forcePx~ | | | | | Not supported |

## Minimum requirement example

### Nunjucks

These are copy paste friendly examples to quickliy get started using a component.

```html
{% from "@bonniernews/dn-design-system-web/components/teaser-split/teaser-split.njk" import TeaserSplitContainer %}

{{ TeaserSplitContainer({
  areaType: "bauta",
  teasersHtml: "",
  attributes: {},
  classNames: ""
})}}
```

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