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.
Separator
Divide the dropdown content into sections using a separator element for better organization.
Width
Use Tailwind Width classes to customize the dropdown width.
Scrollable
Apply the .mv-scrollable-y class to the dropdown content element to enable vertical scrolling within it using Tailwind Scrollable component.
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.
Placement
Use the data-mv-dropdown-placement option to control the opening direction of the Tailwind
Trigger
Utilize the data-mv-dropdown-trigger="click" or data-mv-dropdown-trigger="hover" attribute to set the trigger method for dropdowns.
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.
With Modal
Display dropdowns inside the Tailwind Modal component.
With Tooltip
Display Tailwind Tooltip components in dropdowns.
Basic Usage
Pendiente de documentar.