Components UI Elements Dropdown

Dropdown

Wrap the dropdown’s toggle (your button or link) and the dropdown menu within .dropdown, or another element that declares position relative. Dropdowns can be triggered from link or button elements to better fit your potential needs.


Trigger dropdown menus above elements by adding dropup class to the parent element.


Trigger dropdown menus above elements by adding dropright class to the parent element.


Trigger dropdown menus above elements by adding dropleft class to the parent element.


Add active class to items in the dropdown to style them as active.


Add disabled class to items in the dropdown to style them as disabled.


Add a header to label sections of actions in any dropdown menu.


Separate groups of related menu items with a divider.