Sheet

A framed board that slides in from an edge with a springy settle. Use it for create and edit forms; the bottom sheet suits phones.

View as Markdown

Installation

npx shadcn@latest add @cozy/sheet

Usage

import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, SheetFooter, SheetClose } from "@/components/ui/sheet"

<SheetContent side="bottom">…</SheetContent>

Examples

Sides

API

Everything else is passed through to the underlying element or Radix primitive.

PropTypeDefaultDescription
side"top" | "right" | "bottom" | "left""right"Edge it slides from.