ortaui
  1. Components
  2. Overlays

Sheet

Dialog that slides in from an edge with ease-out-soft: 300ms in, 200ms out.

Installation#

npx shadcn add @ortaui/sheet

Examples#

Sides#

API reference#

PropTypeDefaultDescription
open / defaultOpenboolean-Controlled or uncontrolled state.
onOpenChange(open: boolean) => void-Called when the open state changes.
side"top" | "right" | "bottom" | "left""right"SheetContent: the edge it slides from.
classNamestring-Merged with the component classes via cn().