Skip to Content
EnComponentsDropdown

Dropdown

An interactive dropdown menu for discoverable content.

Playground

Props

Examples

Hoverable

The dropdown will show on hover.

Active

You can force the dropdown to be active.

Right aligned

Dropup

Props

PropTypeDefaultDescription
activebooleanfalseManually toggles the dropdown visibility.
childrenReactNode-The content of the dropdown.
hoverablebooleanfalseShows the menu on hover.
itemsDropdownItem[]-Array of menu items.
rightbooleanfalseAligns the dropdown menu to the right.
trigger{ icon: DynamicIcon; label: string } | string-The content of the trigger button.
upbooleanfalseOpens the menu upwards (dropup).

See also

Last updated on