Browse all component examples
Different dropdown variations and use cases.
Create multi-level menus with submenu support.
Dropdowns can be triggered by any element, including icons and custom buttons.
Custom Button Style
Icon-Only Trigger
Dropdown items support various states and can be disabled.
Item States
Mixed Content
Dropdowns use Alpine Anchor with Floating UI for intelligent positioning.
All dropdowns automatically adjust their position to stay within the viewport. They will flip from bottom to top when there's insufficient space below, and adjust horizontally to avoid overflow.
Scroll to bottom of page and click to see the menu flip upward automatically.
Dropdown menus integrated with other components.
Note:
When using dropdowns inside tables, setoverflow=false
on the Table component to prevent the dropdown from being clipped by the table's overflow container.Name | Status | Role | Actions |
---|---|---|---|
U1 | Active | Member | |
U2 | Inactive | Member | |
U3 | Active | Member |