- Notifications
You must be signed in to change notification settings - Fork17
An unstyled drawer component for Vue.
License
NotificationsYou must be signed in to change notification settings
unovue/vaul-vue
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Vaul Vue is an unstyled drawer component for Vue that can be used as a Dialog replacement on tablet and mobile devices.It usesReka UI's Dialog primitive under the hood and is a feature complete port ofEmil Kowalski's Vaul library (built for React).
pnpm add vaul-vue
npm install vaul-vue
yarn add vaul-vue
<script setup lang="ts">import {DrawerContent,DrawerOverlay,DrawerPortal,DrawerRoot,DrawerTrigger }from'vaul-vue'</script><template> <DrawerRoot> <DrawerTrigger> Open </DrawerTrigger> <DrawerPortal> <DrawerOverlay /> <DrawerContent> <p>Content</p> </DrawerContent> </DrawerPortal> </DrawerRoot></template>
All credits go to these open-source works and resources
- Major credits go toEmil Kowalski for the originalVaul library.
- Reka UI for the Dialog primitive used under the hood.
About
An unstyled drawer component for Vue.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published