A Vue drawer component ported from Vaul.
For a lightweight version with minimal options, see Geist Vaul.
npm i vue-vaul
<script setup>
import { Drawer } from 'vue-vaul'
</script>
<template>
<Drawer.Root>
<Drawer.Trigger>Open</Drawer.Trigger>
<Drawer.Portal>
<Drawer.Content>
<Drawer.Title>Title</Drawer.Title>
</Drawer.Content>
<Drawer.Overlay />
</Drawer.Portal>
</Drawer.Root>
</template>
This project also partially contains code derived or copied from the following projects:
This project is licensed under the MIT License.