- GitHub: [BonnierNews/dn-design-system/../web/src/components/teaser-dot](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/teaser-dot)
- Storybook: [Subcomponents > TeaserDot](https://designsystem.dn.se/?path=/docs/section-subcomponents-teaserdot--docs)
- Storybook (Latest): [Subcomponents > TeaserDot](https://designsystem-latest.dn.se/?path=/docs/section-subcomponents-teaserdot--docs)

----

# TeaserDot

## Parameters

|parameter | type | required | options | default | description |
|:--- | :--- | :--- | :--- | :--- | :--- |
|flashing | boolean | no | true, false | false | If the dot should be flashing |
|classNames | String | no | | | Ex. "my-special-class" |
|forcePx | bool | no | true, false | false | Fixed pixel value is used for typography to prevent scaling based on html font-size |
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |


## 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-dot/teaser-dot.njk' import TeaserDot %}

{{ TeaserDot({
  flashing: false
})}}
```

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

.ds-teaser-dot {
  // use css variable to optionally override size
  --ds-teaser-dot-size: 10px;
}
```
