An accessible dropdown menu component built on Radix UI with smooth Motion spring scale and submenu slide animations.
Made by AxylAn animated dropdown menu with spring entrance transitions, nested submenus, checkable items, radio items, shortcuts, and destructive styling.
Installation
File Structure
Usage
RTL
The same dropdown menu pattern rendered right-to-left with Radix UI DirectionProvider.
Use Radix UI's DirectionProvider together with dir="rtl" on the demo
container to render the menu from right to left. The provider keeps popup
positioning, slide transitions, and keyboard navigation aware of the text direction.
Props
DropdownMenu
| Prop | Type | Default |
|---|---|---|
open? | boolean | - |
defaultOpen? | boolean | false |
onOpenChange? | (open: boolean) => void | - |
DropdownMenuContent
| Prop | Type | Default |
|---|---|---|
side? | "top" | "right" | "bottom" | "left" | "bottom" |
sideOffset? | number | 4 |
align? | "start" | "center" | "end" | "start" |
alignOffset? | number | 0 |
disableAnimation? | boolean | false |
Built by Axyl. A motion-first component registry for React.
Last updated: 9/19/2026