Components•Sheet
Components•Sheet
Sheet
A side panel for secondary workflows that should keep the current page visible.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-sheetHow to use
import { BjorkSheet, BjorkSheetTrigger, BjorkSheetContent } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Sheet primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
openbooleanUse with onOpenChange when a side panel needs to be opened from page state.
Side sheet
Use when the user needs more room without leaving the current page.
<BjorkSheet> <BjorkSheetTrigger asChild><BjorkButton>Open</BjorkButton></BjorkSheetTrigger> <BjorkSheetContent>...</BjorkSheetContent></BjorkSheet>