SearchInput
===========

*   GitHub: [BonnierNews/dn-design-system/web/src/components/search-input](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/search-input)
*   Storybook: [Search Input](https://designsystem.dn.se/?path=/docs/search-input--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/search-input/search-input";`

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

```jsx
<SearchInput
  name="bar"
  placeholder="Sök efter artiklar, ämnen, skribenter och mer..."
/>
```