Badge
=====

*   GitHub: [BonnierNews/dn-design-system/web/src/components/badge](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/badge)
*   Storybook: [Badge](https://designsystem.dn.se/?path=/docs/basic-badge--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/badge/badge.scss'`

| Name | Description | Default |
|:--- | :--- | :--- |
| figure | number | \- |
| forcePx | boolean | \- |
| classNames | Ex. "my-special-class"<br />string | \- |
| attributes | Ex. { target: "\_blank", "data-test": "lorem ipsum" }<br />Record<string, unknown> | \- |

```jsx
<Badge />
```