Dropdown Menu
Displays a menu to the user — such as a set of actions or functions — triggered by a button.
Made by imskyleen
Installation
Usage
Examples
Checkboxes
Radio Group
Props
Animate UI props
DropdownMenu
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: "spring", stiffness: 350, damping: 35 } |
animateOnHover? | boolean | true |
DropdownMenuSubTrigger
Prop | Type | Default |
---|---|---|
inset? | boolean | false |
DropdownMenuContent
Prop | Type | Default |
---|---|---|
transition? | Transition | { duration: 0.2 } |
DropdownMenuItem
Prop | Type | Default |
---|---|---|
variant? | 'default' | 'destructive' | default |
inset? | boolean | false |
DropdownMenuLabel
Prop | Type | Default |
---|---|---|
inset? | boolean | false |