Basic Dropdown
A simple dropdown menu with label, items, and change callbacks.
Installation
pnpm dlx shadcn add @smoothui/basic-dropdownnpx shadcn@latest add @smoothui/basic-dropdownyarn dlx shadcn add @smoothui/basic-dropdownbunx shadcn add @smoothui/basic-dropdownFeatures
- Toggleable menu with keyboard navigation
- Customizable label and items with optional icons
onChangecallback with selected item- Compact, accessible, and easy to style
- Works with any React content
Props
Prop
Type