Sheet / drawer preview
A controlled modal sheet with side or edge placement, narrow-screen top or bottom reflow, focus trapping and native dismissal contracts.
pro · Feedback · primitive
When to use
- Use it when a product interface needs a controlled modal sheet with side or edge placement, narrow-screen top or bottom reflow, focus trapping and native dismissal contracts.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose dialog instead when use the dialog for a short blocking decision that should hold the center of attention.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/sheet-drawerImport components/ui/tidal.css, components/ui/sheet-drawer.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/sheet-drawer.css";
import{TidalSheet}from"./components/ui/sheet-drawer";
export default()=><div className="tidal-scope"><TidalSheet children={"value"} description={"Demo"} onOpenChange={() => {}} open={false} title={"Demo"}/></div>;API and props
TidalSheet.children (required)ReactNodeRequired children value accepted by this exported component.
TidalSheet.description (required)ReactNodeRequired description value accepted by this exported component.
TidalSheet.onOpenChange (required)(open: boolean) => voidCallback invoked when the open change interaction is proposed.
TidalSheet.open (required)booleanRequired open value accepted by this exported component.
TidalSheet.title (required)ReactNodeRequired title value accepted by this exported component.
TidalSheet.closeButtonPropsOmit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "aria-label" | "children"> | undefinedOptional close button props value accepted by this exported component.
TidalSheet.closeButtonRefRef<HTMLButtonElement> | undefinedOptional close button ref value accepted by this exported component.
TidalSheet.closeLabelstring | undefinedOptional close label value accepted by this exported component.
TidalSheet.defaultTriggerLabelReactNodeOptional default trigger label value accepted by this exported component.
TidalSheet.defaultTriggerPropsOmit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> | undefinedOptional default trigger props value accepted by this exported component.
TidalSheet.defaultTriggerRefRef<HTMLButtonElement> | undefinedOptional default trigger ref value accepted by this exported component.
TidalSheet.dir"ltr" | "rtl" | undefinedOptional dir value accepted by this exported component.
TidalSheet.footerReactNodeOptional footer value accepted by this exported component.
TidalSheet.headingLevel"h2" | "h3" | "h4" | undefinedOptional heading level value accepted by this exported component.
TidalSheet.mobilePlacementTidalSheetMobilePlacement | undefinedOptional mobile placement value accepted by this exported component.
TidalSheet.overlayPropsOmit<Omit<Dialog.DialogOverlayProps & RefAttributes<HTMLDivElement>, "ref">, "asChild" | "forceMount"> | undefinedOptional overlay props value accepted by this exported component.
TidalSheet.overlayRefRef<HTMLDivElement> | undefinedOptional overlay ref value accepted by this exported component.
TidalSheet.placementTidalSheetPlacement | undefinedOptional placement value accepted by this exported component.
TidalSheet.portalContainerHTMLElement | null | undefinedOptional portal container value accepted by this exported component.
TidalSheet.theme"light" | "dark" | undefinedOptional theme value accepted by this exported component.
TidalSheet.triggerReactElement<unknown, string | JSXElementConstructor<any>> | undefinedOptional trigger value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.