Sheet
Understand the design system and contribute to it
Component preview
The live preview for UI components is handled by components/atoms/codedocs/ComponentPreview.tsx. Use it directly inside MDX whenever you want a playground-style embed. Provide componentProps to set default values and propOptions to surface toggle-able props next to the preview.
Prop reference
Auto-generated from the component source
Sheet
All props are forwarded to the underlying primitive.
React.ComponentProps<typeof SheetPrimitive.Root>
SheetClose
All props are forwarded to the underlying primitive.
React.ComponentProps<typeof SheetPrimitive.Close>
SheetContent
classNamechildrenside= "right"
React.ComponentProps<typeof SheetPrimitive.Content> & { side?: "top" | "right" | "bottom" | "left"; }
SheetDescription
className
React.ComponentProps<typeof SheetPrimitive.Description>
SheetFooter
className
React.ComponentProps<"div">
SheetHeader
className
React.ComponentProps<"div">
SheetTitle
className
React.ComponentProps<typeof SheetPrimitive.Title>
SheetTrigger
All props are forwarded to the underlying primitive.
React.ComponentProps<typeof SheetPrimitive.Trigger>