Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An unstyled drawer component for Vue.

License

NotificationsYou must be signed in to change notification settings

unovue/vaul-vue

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).

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


[8]ページ先頭

©2009-2025 Movatter.jp