Import
Usage
Props
Size variant:
big (48px height) or small (38px height)Visual design:
primary (gray background) or secondary (white with border)Placeholder text for the search input
Callback fired when the input value changes
Controlled input value
Custom styles for the container
Unique identifier for the search bar
Features
- Magnifying glass icon (lucide-react Search component)
- Auto-focuses on click and changes style on interaction
- Two size variants: big (48px) and small (38px)
- Two design variants: primary (gray background) and secondary (white with border)
- Rounded pill shape (100px border radius)
- Font size: 14px (small) or 16px (big with secondary design)
- Supports all standard HTML input props