Sheet
ui
overlay
container
Slide-out panel from screen edge
Mobile-friendly navigation, forms, and detail views
Frosted backdrop overlay with generous internal padding
import { Sheet } from "@everydayos/ui";Usage
Slide-out menu panel with generous padding
<Sheet>
<SheetTrigger asChild>
<Button variant="outline">Open Menu</Button>
</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Navigation</SheetTitle>
<SheetDescription>
Browse sections
</SheetDescription>
</SheetHeader>
<Stack spacing="md" className="mt-6">
<Button variant="ghost" className="justify-start">Home</Button>
<Button variant="ghost" className="justify-start">About</Button>
<Button variant="ghost" className="justify-start">Contact</Button>
</Stack>
</SheetContent>
</Sheet>API
siderighttopbottomleftright
Composition
Pairs well with
Stack
Heading
Button
When to avoid
- Need centered modal — use Dialog instead
- Desktop-only UI — consider Dialog