Search
The Search
component provides an interface for search functionality. It allows custom styling through various style properties and supports dark mode.
Usage
import { LibrariaSearch } from '@libraria/react';
<LibrariaSearch
anonKey="your_anon_key"
isDarkMode={false}
style={{ fontFamily: 'Roboto' }}
/>
Props
An anonymous key for identification.
Indicates whether dark mode is enabled or not.
Overrides for default styles in light mode.
Overrides for default styles in dark mode.
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.
Sets the font family for the text.
Sets the color of the text.
Sets the font size of the text.
Sets the color of the icon.
Sets the border color of the component.
Sets the color when hovering over the component.
Sets the background color of the component.
Sets the border radius for the input.
Sets the border radius for the component.
Sets the background color for the input.