Logo Docs

Dropdown

Dropdown

The Tailwind Dropdown is a versatile component used to display overlay content on a web page, which can include menus, tabs, and other interactive elements. It's designed for creating a layered navigation experience, allowing users to access various content types without leaving the current page context.

Arrow

Integrate an animated arrow icon to indicate when the dropdown is open.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Separator

Divide the dropdown content into sections using a separator element for better organization.

Header
The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Width

Use Tailwind Width classes to customize the dropdown width.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Scrollable

Apply the .mv-scrollable-y class to the dropdown content element to enable vertical scrolling within it using Tailwind Scrollable component.

Header

Dismiss

Set the data-mv-dropdown-dismiss="true" attribute on an element within the dropdown content to close the dropdown when that element is clicked.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Permanent

Set the data-mv-dropdown-permanent="true" attribute on a dropdown element to prevent it from being closed.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Placement

Use the data-mv-dropdown-placement option to control the opening direction of the Tailwind

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.
The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.
The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.
The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Trigger

Utilize the data-mv-dropdown-trigger="click" or data-mv-dropdown-trigger="hover" attribute to set the trigger method for dropdowns.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.
The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

Offset

Use data-mv-dropdown-offset="20px, 20px" attribute to specify the offset of the dropdown from the toggle element, adjusting its position on the x and y axes.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.

With Modal

Display dropdowns inside the Tailwind Modal component.

With Tooltip

Display Tailwind Tooltip components in dropdowns.

The Tailwind Dropdown
Here is a delightful tooltip!
component offers a sleek, user-friendly interface for presenting overlay content.

Basic Usage

Pendiente de documentar.

The Tailwind Dropdown component offers a sleek, user-friendly interface for presenting overlay content.