Skip to Content
Skip to content

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.

Installation

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

Usage

import {
  Sheet,
  SheetContent,
  SheetDescription,
  SheetHeader,
  SheetTitle,
  SheetTrigger,
} from "@/components/ui/neu/sheet"
<Sheet>
  <SheetTrigger>Open</SheetTrigger>
  <SheetContent>
    <SheetHeader>
      <SheetTitle>Are you absolutely sure?</SheetTitle>
      <SheetDescription>This action cannot be undone.</SheetDescription>
    </SheetHeader>
  </SheetContent>
</Sheet>

RTL

side="left" and side="right" are flow-relative, as on the sidebar: "right", the default, is the inline end, so on an rtl page the sheet slides in from the left edge. The content renders in a portal, so pass dir to SheetContent when the direction is set below <html>.

On this page