Divider
=======

*   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)

The component will not include styling by itself. Make sure to include the right styles for the component. See example below: `@use '@bonniernews/dn-design-system-web/components/divider/divider.scss'`

| Name | Description | Default |
|:--- | :--- | :--- |
| variant | "soft", "medium", "hard" | "soft" |
| classNames | Ex. "my-special-class"<br />string | \- |
| attributes | Ex. { target: "\_blank", "data-test": "lorem ipsum" }<br />Record<string, unknown> | \- |

```jsx
<Divider variant="soft" />
```