A panel from an edge: resizable side sheet, bottom sheet with snap points, non-modal swap.
Import it and pass your content. The props that matter most are listed next.
import { Sheet, SheetBody, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from "@/components/ui/notchset/sheet";
export function RunDetail() {
return (
<Sheet>
<SheetTrigger>Open run</SheetTrigger>
<SheetContent resizable={{ defaultSize: 480 }}>
<SheetHeader><SheetTitle>RUN_8F3A1</SheetTitle></SheetHeader>
<SheetBody>…</SheetBody>
</SheetContent>
</Sheet>
);
}side (SheetContent)–
'right' | 'left' | 'bottom' | 'top'The edge it comes from. Default right.
modal (Sheet)–
booleanScrim, focus trap and scroll lock (default). false keeps the page usable and ignores outside clicks.
resizable (SheetContent)–
{ defaultSize?, min?, max?, label? }Left or right: a separator on the inner edge, by pointer or ←/→ (360–720px by default).
snapPoints (SheetContent)–
number[]Bottom: heights as fractions, with a drag handle. Default [0.62, 0.92]; drag down 120px to dismiss.
contained (SheetContent)–
booleanPlace it inside its portal container (position: relative) instead of the viewport.
Sheetdata-slot="sheet"
Root; open state and modal.
SheetTrigger / SheetClosedata-slot="sheet-trigger"
Open and close controls.
SheetContentdata-slot="sheet-content"
The panel, scrim, handles and close button.
SheetHeader / SheetBody / SheetFooterdata-slot="sheet-header"
64px title row, scrolling body, actions row.
SheetTitle / SheetDescriptiondata-slot="sheet-title"
Labels.
components/ui/notchset/sheet.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/sheet.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/sheet.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release