Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Sheet

A panel that slides in from an edge for secondary tasks and navigation.

OverlaysRadix DialogDumb extras
$ pnpm dlx shadcn@latest add @dumb/sheet

Needs the @dumb registry in components.json and the style tokens. See Installation.

import {
  Sheet,
  SheetContent,
  SheetHeader,
  SheetTitle,
  SheetTrigger,
} from "@/components/ui/sheet"
<Sheet>
  <SheetTrigger asChild>
    <Button variant="outline">Filters</Button>
  </SheetTrigger>
  <SheetContent side="right" size="lg">
    <SheetHeader>
      <SheetTitle>Filters</SheetTitle>
    </SheetHeader>
  </SheetContent>
</Sheet>

Sides

Top, right, bottom and left.

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

SheetContent

PropTypeDefault
side"top" | "right" | "bottom" | "left"

Edge the sheet slides from.

"right"
sizeextra"sm" | "default" | "lg" | "xl"

Width preset for left and right sheets.

"default"
showCloseButtonboolean

Renders the corner close button.

true
Esc
Closes the sheet.