- GitHub: [BonnierNews/dn-design-system/../web/src/components/divider](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/divider)
- Storybook: [Divider](https://designsystem.dn.se/?path=/docs/basic-divider--docs)
- Storybook (Latest): [Divider](https://designsystem-latest.dn.se/?path=/docs/basic-divider--docs)

----

# Divider

## Parameters

|parameter | type | required | options | default | description |
|:--- | :--- | :--- | :--- | :--- | :--- |
|variant | String | no | soft, medium, strong | soft | |
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
|classNames | String | no | | | Ex. "my-special-class" |

## 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/divider/divider.njk' import Divider %}

{{ Divider({
  variant: "soft"
})}}
```

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