menu
search
Basic Example

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.

Dropup

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

Dropright

Trigger dropdown menus at the right of the elements by adding dropright class to the parent element.

Dropleft

Trigger dropdown menus at the left of the elements by adding dropleft class to the parent element.

No caret

By default, the dropdown-toggle has a caret, you can remove it by adding the .no-caret class.

Dropdown hover

Enable toggle behaviour by hovering, this will work on large devices and above, and disabled on mobile devices because it's do not work well on touch screen devices.

Dropdown submenu

Add submenu in dropdown-menu, submenus will appear when hovered.

Active Menu Item

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

Disabled Menu Item

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

Dropdown Header

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

Dropdown Divider

Separate groups of related menu items with a divider.

Text in Dropdown

Place any freeform text within a dropdown menu with text and use spacing utilities. Note that you’ll likely need additional sizing styles to constrain the menu width.

Form in Dropdown

Put a form within a dropdown menu, or make it into a dropdown menu, and use margin or padding utilities to give it the negative space you require.