Dropdown

Menu-style dropdown with proximity hover and animated backgrounds.

Installation

npx shadcn@latest add https://fluid-functionalism.vercel.app/r/dropdown.json

Basic

API Reference — Dropdown

PropTypeDefaultDescription
checkedIndexnumberIndex of the currently checked item.
childrenReactNodeMenuItem children.

API Reference — MenuItem

PropTypeDefaultDescription
iconLucideIconIcon displayed in the menu item.
labelstringText label for the menu item.
indexnumberPosition index within the dropdown.
checkedbooleanfalseWhether this item is checked.
onSelect() => voidCalled when this item is selected.