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.jsonUsage
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>Alert Dialog
Neumorphic alert dialog on the Radix primitive. A floating sheet that casts one shadow onto a surface-derived scrim, actions as neu buttons.
Sheet
Neumorphic sheet on the Radix dialog primitive. A panel sliding in from the screen edge that becomes its own ground, over the surface-derived scrim.