Skip to main content
The Search component provides an interface for search functionality. It allows custom styling through various style properties and supports dark mode.

Usage

Props

string
An anonymous key for identification.
boolean
Indicates whether dark mode is enabled or not.
StyleOverrideProps
Overrides for default styles in light mode.
StyleOverrideProps
Overrides for default styles in dark mode.
boolean
Determines if the state should be preserved when the component is closed.

StyleOverrideProps

This type allows you to customize the appearance of the Search component.
string
Sets the font family for the text.
string
Sets the color of the text.
string | number
Sets the font size of the text.
string
Sets the color of the icon.
string
Sets the border color of the component.
string
Sets the color when hovering over the component.
string
Sets the background color of the component.
string | number
Sets the border radius for the input.
string | number
Sets the border radius for the component.
string
Sets the background color for the input.