v-dropdown
v-dropdown ·

A dropdown container for Vue3
If you are using vue 2.x version, please use v-dropdown 2.x version instead
Features
- Multiple drop-down bar triggering methods
- Built-in trigger button component for quick use
- When the position and size of the trigger and the drop-down bar content change, the drop-down bar content position is automatically adjusted to align - with the trigger
- Provide
Dropdownstatus and tool functions for each slot - Provide
useDropdownutility functions - Flexible style customization method
Documentation and Examples
Documentation and examples please visit below sites
My repositories using v-dropdown
Installation
# npm
npm i v-dropdown
# yarn
yarn add v-dropdown
# pnpm
pnpm add v-dropdown
Usage
Quick dropdown
<template>
<Dropdown>
<DropdownContent>
<div>some contents</div>
</DropdownContent>
</Dropdown>
</template>
<script setup>
import { Dropdown, DropdownContent } from 'v-dropdown'
</script>
Custom trigger content
<template>
<Dropdown>
<template #trigger>
<DropdownTrigger>Click me</DropdownTrigger>
</template>
<DropdownContent>
<div>some contents</div>
</DropdownContent>
</Dropdown>
</template>
<script setup>
import { Dropdown, DropdownContent, DropdownTrigger } from 'v-dropdown'
</script>
License
Related Packages
v-uploader
A simple and easier to use file uploader, you can drag files or select file in d...
4,224
Version History
| Version | Released | License |
|---|---|---|
| 3.5.1 | MIT | |
| 3.5.0 | MIT | |
| 3.4.0 | MIT | |
| 3.3.0 | MIT | |
| 3.2.1 | MIT | |
| 3.2.0 | MIT | |
| 3.1.3 | MIT | |
| 3.1.2 | MIT | |
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 3.0.0 | MIT | |
| 2.1.1 | MIT | |
| 2.1.0 | MIT | |
| 2.0.6 | MIT | |
| 2.0.5 | MIT | |
| 2.0.4 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 3.0.0-beta.2 | MIT | |
| 3.0.0-beta.1 | MIT |
