UNPKG

@vue-interface/dropdown-menu

Version:
37 lines (26 loc) 887 B
# Dropdown Menu The `dropdown-menu` component displays a list of actionable or informational items, similar to traditional dropdown lists. It supports headers, dividers, links, and plain text items. ## Installation ```bash pnpm i @vue-interface/dropdown-menu ``` ```bash yarn add @vue-interface/dropdown-menu ``` ```bash npm i @vue-interface/dropdown-menu ``` ```bash bun i @vue-interface/dropdown-menu ``` ## Basic Usage ```html <div class="dropdown-menu show relative z-1"> <h3 class="dropdown-header">Vue Router</h3> <a href="#" class="dropdown-item active">Item #2</a> <a href="#" class="dropdown-item">Item #3</a> <hr class="dropdown-divider" /> <a href="#" class="dropdown-item">Item #4</a> </div> ``` For more comprehensive documentation and examples, please visit the [online documentation](https://vue-interface.github.io/packages/dropdown-menu/).