Base ยท SAHI Design System

Components ยท UI Primitives

Sheet

Slide-out drawer, supports four directions.

Right drawer

Props

PropTypeDefaultDescription
sidetop | right | bottom | leftrightEdge the drawer slides from.
openbooleanโ€”Controlled open state.
onOpenChange(open) => voidโ€”Open-state callback.

Reference API for the design concept — align names and types with your implementation.

Guidelines

  • Use in the active theme; the component adapts to light and dark automatically.
  • Keep the purple accent for interactive states only โ€” never as a fill or background.
  • Copy the markup from the Code tab and wire it to base.css tokens.