Docs
Dropdown Menu
Dropdown Menu
Displays a menu to the user — such as a set of actions or functions — triggered by a button.
Installation
Install bits-ui
:
Copy and paste the component source files linked at the top of this page into your project.
Examples
Checkboxes
Radio Group
Changelog
2024-10-30 Classes for DropdownMenu.SubTrigger
- Added
gap-2 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0
to the<DropdownMenu.SubTrigger>
to automatically style icon inside the dropdown menu sub trigger. - Removed
size-4
from the icon inside the<DropdownMenu.SubTrigger>
since it is now handled by the parent<DropdownMenu.SubTrigger>
.
On This Page