Search Field
A search field allows a user to enter and clear a search query.
Installation
CLI
Copy & Paste
npx @sly-cli/sly add draft-ui search-fieldExamples
Default
This is the default SearchField
Example
Code
With Clear Button
Use SearchFieldClearButton to display a button that clear the SearchField input. By default, it will only show up when the input is not empty.
Example
Code