@alexwohlbruck/vaul-vue
Vaul Vue is an unstyled drawer component for Vue that can be used as a Dialog replacement on tablet and mobile devices. It uses Reka UI's Dialog primitive under the hood and is a feature complete port of [
2,549
497
| Install | |
|---|---|
npm install @alexwohlbruck/vaul-vue |
|
| Latest Version: | 0.4.5 |
| Vue: | 3 |
| Last Updated: | Jun 29, 2026 |
| Links: | GitHub · npm |
Maintainer: alexwohlbruck
Vaul Vue
Vaul Vue is an unstyled drawer component for Vue that can be used as a Dialog replacement on tablet and mobile devices. It uses Reka UI's Dialog primitive under the hood and is a feature complete port of Emil Kowalski's Vaul library (built for React).
Installation
pnpm add vaul-vue
npm install vaul-vue
yarn add vaul-vue
Usage
<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>
Credits
All credits go to these open-source works and resources
- Major credits go to Emil Kowalski for the original Vaul library.
- Reka UI for the Dialog primitive used under the hood.
Related Packages
vaul-vue
Vaul Vue is an unstyled drawer component for Vue that can be used as a Dialog re...
11,323,700
497
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.5 | ^3.3.0 | ||
| 0.4.4 | ^3.3.0 |
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.4.2-fork | ^3.3.0 |