A side panel for contextual workflows and settings.
Sheet defines how EnterUI handles a side panel for contextual workflows and settings, including default structure, accessible states, and token-driven styling.
Sheet shares Dialog focus handling and supports multiple sides.
<Sheet>
<SheetTrigger asChild><Button variant="secondary">Open sheet</Button></SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Workspace settings</SheetTitle>
<SheetDescription>Update preferences without leaving context.</SheetDescription>
</SheetHeader>
<Switch aria-label="Enable sync" defaultChecked />
<SheetFooter><Button>Save</Button></SheetFooter>
</SheetContent>
</Sheet>import {
Button,
Sheet,
SheetContent,
SheetDescription,
SheetFooter,
SheetHeader,
SheetTitle,
SheetTrigger,
Switch,
} from "@froggdesign/enter-ui-react";Drawer, DrawerContent, and related aliases are exported for teams that prefer drawer naming.
Sheet uses dialog semantics, overlay, portal rendering, focus trapping, and return focus behavior.
SheetContent supports side="right|left|top|bottom", showOverlay, and className.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.