Sheet
A floating 20px-radius side panel inset from the edge, with a round close button, pill actions and the 500ms iOS curve.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { Button } from '@/components/ui/button';import { SheetRounded } from '@/components/component-kit/items/sheet-rounded';
export function Example() { return ( <SheetRounded trigger={<Button variant="outline">Open settings</Button>} title="Workspace settings" description="Changes apply to everyone in the workspace." > <p className="text-sm">Your content here.</p> </SheetRounded> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | ReactElement | — | Element that opens the sheet. |
side | "right" | "left" | "bottom" | right | Edge the panel slides from. |
footer | ReactNode | Done button | Custom footer actions. |