Sheet
Responsive Apple Liquid Glass side and bottom panel rendering a floating 26px-radius macOS 27 Liquid Glass inspector on desktop, and automatically adapting to an edge-hugging rounded iOS 27 drawer on mobile.
Built on @base-ui/react/dialog, fully compatible with the standard shadcn/ui JSX API (<Sheet> / <SheetTrigger> / <SheetContent> / <SheetHeader> / <SheetFooter> / <SheetTitle> / <SheetDescription> / <SheetClose>):
- Desktop (
>= 768px· macOS 27): Floats with a12pxinset and26pxcorner radius above content, capturing the airy hierarchy of a macOS 27 Inspector panel. - Mobile (
< 768px· iOS 27): Automatically docks flush to the viewport edge with28px/32pxlarge radii and safe-area bottom inset.
Responsive Live Preview
Embeds Input (auto Over-Glass), Slider, and Switch directly inside the panel; toggle Desktop / Tablet / Mobile top-right to compare floating vs. edge-docked modes:
Installation (Shadcn Registry)
# Install via the configured @apple-liquid namespace (includes liquid-surface and liquid-glass)
npx shadcn@latest add @apple-liquid/sheetFour-Way Sides
Supports side="right" | "left" | "bottom" | "top", floating on desktop and edge-hugging on mobile:
File Inspector
Ideal as a Finder or design-tool trailing property and metadata inspector:
Props API
SheetContent
| Prop | Type | Default | Description |
|---|---|---|---|
side | 'right' | 'left' | 'top' | 'bottom' | 'right' | Edge from which the panel slides in |
glass | boolean | true | Liquid Glass material reacting to glass tint; false renders a 100% opaque surface |
showCloseButton | boolean | true | Render circular close button top-right |
Language & Text
Sheet accepts locale and messages, which apply to all of its parts and the overlays it opens and win over the global <LiquidGlassProvider locale messages>. To override the text globally, put it under messages.sheet on the provider. See Liquid Glass → Global settings.
| Prop | Type | Description |
|---|---|---|
locale | LiquidGlassLocaleInput | UI language of this component (any BCP 47 tag; unsupported ones fall back to English) |
messages | Partial<SheetMessages> | Text overrides, merged over the built-in text and the global messages.sheet |
| Key | Built-in text (English) |
|---|---|
close | Close |
Separator
Apple 27 system separator color (rgba(0,0,0,.1) light / rgba(255,255,255,.12) dark) tuned for crisp, restrained division across standard and Liquid Glass surfaces.
Sidebar
Responsive Apple Liquid Glass sidebar system with floating 22px-radius macOS 27 glass panels, icon collapse mode, resizable split handles, and automatic iOS 27 slide-over Sheet adaptation on mobile.