Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Vaul

ASecurity

Drawer component for React by Emil Kowalski — bottom sheets, snap points, nested drawers, clean API

3 stars
0 votes
0 copies
1 views
Added 9/19/2026
developmentgobashreactapi

Works with

cliapi

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Ignvvcio254/Jarvis-254-Agent --skill vaul --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vaul?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Vaul
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ignvvcio254-vaul/badge)](https://www.skillsdirectory.com/skills/ignvvcio254-vaul)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: Vaul
description: Drawer component for React by Emil Kowalski — bottom sheets, snap points, nested drawers, clean API
---

Vaul is a drawer (bottom sheet) component for React by Emil Kowalski. Use it for mobile-style slide-up panels, settings sheets, and contextual actions.

## Installation

```bash
npm install vaul
# or
pnpm i vaul
```

## Basic Usage

```tsx
'use client';
import { Drawer } from 'vaul';

export function MyDrawer() {
  return (
    <Drawer.Root>
      <Drawer.Trigger asChild>
        <button>Open</button>
      </Drawer.Trigger>
      <Drawer.Portal>
        <Drawer.Overlay className="fixed inset-0 bg-black/40" />
        <Drawer.Content className="bg-white flex flex-col rounded-t-[10px] h-full mt-24 fixed bottom-0 left-0 right-0">
          <div className="p-4 bg-white rounded-t-[10px] flex-1">
            <div className="mx-auto w-12 h-1.5 flex-shrink-0 rounded-full bg-gray-300 mb-8" />
            <h2 className="text-lg font-semibold">Title</h2>
            <p>Content goes here.</p>
          </div>
        </Drawer.Content>
      </Drawer.Portal>
    </Drawer.Root>
  );
}
```

## Components API

| Component | Description |
|-----------|-------------|
| `Drawer.Root` | Root state manager |
| `Drawer.Trigger` | Opens the drawer |
| `Drawer.Portal` | Renders outside DOM tree |
| `Drawer.Overlay` | Backdrop |
| `Drawer.Content` | The drawer panel |
| `Drawer.Title` | Accessible title |
| `Drawer.Description` | Accessible description |
| `Drawer.Close` | Close trigger |

## Drawer.Root Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `open` | boolean | — | Controlled open state |
| `onOpenChange` | function | — | State change callback |
| `defaultOpen` | boolean | false | Uncontrolled default |
| `snapPoints` | (string\|number)[] | — | Snap positions |
| `activeSnapPoint` | string\|number | — | Controlled snap |
| `setActiveSnapPoint` | function | — | Snap change callback |
| `direction` | string | `bottom` | `top` `right` `left` `bottom` |
| `dismissible` | boolean | true | Allow drag-to-close |
| `shouldScaleBackground` | boolean | false | Scale page behind drawer |
| `modal` | boolean | true | Block background interaction |
| `onClose` | function | — | On close callback |
| `fadeFromIndex` | number | — | Snap fade index |

## Snap Points

```tsx
<Drawer.Root snapPoints={['148px', '355px', 1]} fadeFromIndex={2}>
  {/* 1 = 100% height */}
</Drawer.Root>
```

## Controlled State

```tsx
const [open, setOpen] = React.useState(false);

<Drawer.Root open={open} onOpenChange={setOpen}>
  <Drawer.Trigger onClick={() => setOpen(true)}>Open</Drawer.Trigger>
  ...
  <Drawer.Close onClick={() => setOpen(false)}>Close</Drawer.Close>
</Drawer.Root>
```

## Direction Variants

```tsx
// Side drawer (right panel)
<Drawer.Root direction="right">
  <Drawer.Content className="fixed right-0 top-0 h-full w-[400px]">
    ...
  </Drawer.Content>
</Drawer.Root>
```

## Scale Background (iOS-style)

```tsx
// Add to body wrapper
<div vaul-drawer-wrapper="">
  <App />
</div>

// Enable on drawer
<Drawer.Root shouldScaleBackground>
```

## Nested Drawers

```tsx
<Drawer.Root>
  <Drawer.Trigger>Open</Drawer.Trigger>
  <Drawer.Portal>
    <Drawer.Content>
      <Drawer.Root nested>
        <Drawer.Trigger>Open nested</Drawer.Trigger>
        <Drawer.Portal>
          <Drawer.Content>Nested content</Drawer.Content>
        </Drawer.Portal>
      </Drawer.Root>
    </Drawer.Content>
  </Drawer.Portal>
</Drawer.Root>
```

## Clean Code Rules

- Always add `<div className="mx-auto w-12 h-1.5 rounded-full bg-gray-300 mb-8" />` drag handle at top
- Use `shouldScaleBackground` for immersive mobile-like feel (requires `vaul-drawer-wrapper` on body)
- Use `direction="right"` for settings/filter panels, `direction="bottom"` for actions
- Combine with Sonner for toast feedback on drawer actions
- Keep drawer content scrollable: use `overflow-y-auto` on the inner content div

Attribution

Ignvvcio254Ignvvcio254
View sourceMore from Ignvvcio254 →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →