Installation
- CLI
- Manual
Usage
Examples
Checkboxes
Example showing dropdown menu with checkboxes.Radio Group
Example showing dropdown menu with radio group.Dialog
This example shows how to open a dialog from a dropdown menu.Changelog
2024-10-30 Classes for DropdownMenu.SubTrigger
- Added
gap-2 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0to the<DropdownMenu.SubTrigger>to automatically style icon inside the dropdown menu sub trigger. - Removed
size-4from the icon inside the<DropdownMenu.SubTrigger>since it is now handled by the parent<DropdownMenu.SubTrigger>.