Dropdown
Animated Dropdown Reveals a menu of options or actions when activated by a button.
Installation
npx scrollx-ui@latest add dropdown
Usage
import Dropdown, { MenuItem } from "@/components/ui/dropdown";
<Dropdown
menuItems={profileMenuItems}
triggerText="User Menu"
menuTitle="User Options"
buttonVariant="outline"
buttonSize="default"
/>
Examples
Notifications
API Reference
Dropdown
The Dropdown
component displays a clickable trigger that reveals a list of selectable menu items with icons and descriptions.