Search Field
Type and search, exploring your data like searching for stars with a telescope, quick and responsive.
Basic
A search field is a box where you can type in keywords to search for something, like finding content on a website.
Preview
Code
Installation
CLI
Manual
npx hq-kit add search-field
Controlled
Like other fields, the search field can be controlled by managing its value through the value
prop.
Preview
Code
You have typed:
With Label
You can add a label to the search field by using the label
prop.
Preview
Code
Validation
Add a validation message to the search field by setting the validationMessage
prop.
Preview
Code
Pending
Show a loading indicator to indicate that the search field is in a pending state by using the isPending
prop.
Preview
Code
Disabled
Disable the search field by using the isDisabled
prop.
Preview
Code