Vaul Svelte screenshot

Vaul Svelte

Author Avatar Theme by Huntabyte
Updated: 9 Oct 2024
555 Stars

An unstyled drawer component for Svelte.

Categories

Overview

Vaul-Svelte is an unstyled drawer component for Svelte that can be used as a Dialog replacement on tablet and mobile devices. It is a port of Vaul for React, created by Emil Kowalski. Vaul-Svelte utilizes Bits’ Dialog primitive and is inspired by a tweet.

Features

  • Unstyled drawer component for Svelte
  • Can be used as a Dialog replacement on tablet and mobile devices
  • Uses Bits’ Dialog primitive
  • Port of Vaul for React

Installation

To start using Vaul-Svelte in your project, follow these steps:

  1. Install Vaul-Svelte: npm install vaul-svelte
  2. Import the drawer component into your app: import { Drawer } from 'vaul-svelte'
  3. Use the drawer component in your app as needed

Summary

Vaul-Svelte is an unstyled drawer component for Svelte that serves as a replacement for Dialog on tablet and mobile devices. It is a port of Vaul for React and utilizes Bits’ Dialog primitive. With its features and easy installation, Vaul-Svelte provides a convenient solution for implementing drawers in Svelte projects.