Search input with a leading search icon and a clear button that appears once there is text. Comes in sm, default and lg sizes, controlled or uncontrolled.
npx shadcn@latest add @minidev/search-input
Loading the source for search-input…
Registry Items
search-input
Configuration
Name
search-input
Type
UI
Description
Search input with a leading search icon and a clear button that appears once there is text. Comes in sm, default and lg sizes, controlled or uncontrolled.
Files · 1
Dependencies
npm packages
lucide-react
Registry items
https://ui.minidev.pro/r/input-affix.json
Registry Items
search-input
Configuration
Name
search-input
Type
UI
Description
Search input with a leading search icon and a clear button that appears once there is text. Comes in sm, default and lg sizes, controlled or uncontrolled.