Sheet
A focused modal surface for settings, forms, and small decisions.
Preview
Usage
sheet.tsx
import "useintkit/styles.css";
import { Sheet } from "useintkit";
<Sheet trigger="Open sheet" title="Preferences"
description="Make it your own.">
{/* Your content or form */}
</Sheet>Props
| Prop | Type | Description |
|---|---|---|
| title | ReactNode | Required accessible title. |
| description | ReactNode | Optional description of the sheet. |
| trigger | ReactNode | Trigger content; pass null to use an external controlled opener. |
| open / onOpenChange | boolean / function | Control the sheet from your application. |
| dismissible | boolean | Allow Escape, backdrop, and drag dismissal. Defaults to true. |
| draggable | boolean | Enable handle drag. Defaults to true. |
| footer | ReactNode | Content fixed below the scrollable body. |
The modal contains focus and restores it on close. Only the handle starts a drag, leaving the body free to scroll.