Forms & Inputs
Search Bar
Search input with two sizes (Small 34px / Default 48px) and four states: Default, Active (arrow + cursor), Typing (violet border + clear), Searched. Mic section is separated by a vertical divider.
V 1.0View in Storybook
Controls
Size
State
showMic
Variants
Props
Code
import { SearchBar } from '@/src/components/SearchBar/SearchBar'
// Default (interactive — state changes on focus/type/blur)
<SearchBar placeholder="Search for products, brands . ." />
// Controlled with explicit state
<SearchBar state="typing" value="Apple" onChange={setValue} />
// Small, no mic
<SearchBar size="small" showMic={false} />