- Docs
- components
- Searchfield
Searchfield
A search field allows a user to enter and clear a search query.
Preview
Code
Installation
CLI
Copy & Paste
npx @sly-cli/sly add jolly-ui searchfield
Note: Only the default style can be installed via CLI at the moment
Usage
Basic
Preview
Code
Disabled
Preview
Code
Custom Icons
You provide the icons for the magnifying glass and close button. Please ensure you use aria-hidden
on these.
Preview
Code