Displays a menu to the user — such as a set of actions or functions — triggered by a button.
Made by imskyleenInstallation
Usage
With Highlight
Without Highlight
API Reference
DropdownMenu
Radix UI API Reference - DropdownMenu.RootDropdownMenuTrigger
Radix UI API Reference - DropdownMenu.TriggerDropdownMenuPortal
Radix UI API Reference - DropdownMenu.PortalThe forceMount property is not supported in the DropdownMenuPortal
component, as it is used for animation.
DropdownMenuContent
Radix UI API Reference - DropdownMenu.Content| Prop | Type | Default |
|---|---|---|
container? | HTMLElement | document.body |
transition? | Transition | { duration: 0.2 } |
...props? | HTMLMotionProps<"div"> | - |
The forceMount and asChild properties are not supported in the
DropdownMenuContent component, as it is used for animation.
DropdownMenuHighlight
Animate UI API Reference - Highlight| Prop | Type | Default |
|---|---|---|
transition? | Transition | { type: "spring", stiffness: 350, damping: 35 } |
DropdownMenuLabel
Radix UI API Reference - DropdownMenu.LabelDropdownMenuSeparator
Radix UI API Reference - DropdownMenu.SeparatorDropdownMenuGroup
Radix UI API Reference - DropdownMenu.GroupDropdownMenuItem
Radix UI API Reference - DropdownMenu.ItemDropdownMenuItemIndicator
Radix UI API Reference - DropdownMenu.ItemIndicatorDropdownMenuHighlightItem
Animate UI API Reference - HighlightItemDropdownMenuCheckboxItem
Radix UI API Reference - DropdownMenu.CheckboxItemDropdownMenuRadioGroup
Radix UI API Reference - DropdownMenu.RadioGroupDropdownMenuRadioItem
Radix UI API Reference - DropdownMenu.RadioItemDropdownMenuShortcut
| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<"span"> | - |
DropdownMenuSub
Radix UI API Reference - DropdownMenu.SubDropdownMenuSubTrigger
Radix UI API Reference - DropdownMenu.SubTriggerDropdownMenuSubContent
Radix UI API Reference - DropdownMenu.SubContent| Prop | Type | Default |
|---|---|---|
transition? | Transition | { duration: 0.2 } |
...props? | HTMLMotionProps<"div"> | - |
The forceMount and asChild properties are not supported in the
DropdownMenuSubContent component, as it is used for animation.