Certain props are shared across all form-related components, and you can find them in the form wrapper.
By using the class prop, you can apply custom classes or Tailwind CSS classes to customize the appearance and behavior of the gallery, allowing for flexible design changes.
Search component
The
search
component is represented by
input type="search"
, designed specifically for handling user search queries. This input type comes with built-in browser features like a clear button, making it easier for users to reset their search terms. It’s an ideal component for adding search functionality to a page, allowing users to enter queries efficiently.
<.search_field name="" value="" label="Search" placeholder="What do you have in mind" />
Search button prop
The
search_button
attribute adds a button to the
search
component, allowing users to submit their search queries with a single click.
<.search_field name="" value="" label="Search" placeholder="What do you have in mind" search_button />