Skip to Content
Skip to content

Drawer

Neumorphic drawer on vaul. A floating sheet sliding in from the screen edge, with a carved grab handle and the surface-derived scrim.

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-drawer.json

Usage

import {
  Drawer,
  DrawerContent,
  DrawerDescription,
  DrawerHeader,
  DrawerTitle,
  DrawerTrigger,
} from "@/components/ui/neu/drawer"
<Drawer>
  <DrawerTrigger>Open</DrawerTrigger>
  <DrawerContent>
    <DrawerHeader>
      <DrawerTitle>Are you absolutely sure?</DrawerTitle>
      <DrawerDescription>This action cannot be undone.</DrawerDescription>
    </DrawerHeader>
  </DrawerContent>
</Drawer>

On this page