More Premium Hugo Themes Premium Tailwind Themes

Vaul Svelte

An unstyled drawer component for Svelte.

Vaul Svelte

An unstyled drawer component for Svelte.

Author Avatar Theme by huntabyte
Github Stars Github Stars: 555
Last Commit Last Commit: Oct 9, 2024 -
First Commit Created: Jan 11, 2024 -
default image

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.