Search
An expanding search bar for React that starts as a single icon. Press the icon and it opens into a search field as one object, with a spring setting for how the width settles. Corners and how far it leans toward the cursor can be tuned too. Suits navigation bars, headers and compact toolbars.

Press · free, with full source
Search props
| Name | Type | Default | Description |
|---|---|---|---|
corner | number | 24px | Corner. From 0 to 24px. |
give | number | 50 | How far it leans toward the cursor. From 0 to 100. |
width | number | 240px | The field at rest. From 200 to 360px. |
Free under MIT. Licence