unovue/vaul-vue
Tentang
Komponen drawer tanpa gaya untuk Vue.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliVaul Vue
[!WARNING] This package is no longer maintained. Reka UI now ships a full Drawer component that supersedes Vaul Vue, and the original Vaul library is no longer actively maintained either. We recommend migrating to Reka UI's Drawer for new and existing projects.
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.
Jelajahi proyek terkait
Memuat…