Skip to Content
Liquid Glass UI
Components

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 a 12px inset and 26px corner radius above content, capturing the airy hierarchy of a macOS 27 Inspector panel.
  • Mobile (< 768px · iOS 27): Automatically docks flush to the viewport edge with 28px / 32px large 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:

apple-liquid-ui/preview/sheet-liquid-hero
MacBook · 16:10

Installation (Shadcn Registry)

# Install via the configured @apple-liquid namespace (includes liquid-surface and liquid-glass)
npx shadcn@latest add @apple-liquid/sheet

Four-Way Sides

Supports side="right" | "left" | "bottom" | "top", floating on desktop and edge-hugging on mobile:

apple-liquid-ui/preview/sheet-sides
MacBook · 16:10

File Inspector

Ideal as a Finder or design-tool trailing property and metadata inspector:

apple-liquid-ui/preview/sheet-inspector
MacBook · 16:10

Props API

SheetContent

PropTypeDefaultDescription
side'right' | 'left' | 'top' | 'bottom''right'Edge from which the panel slides in
glassbooleantrueLiquid Glass material reacting to glass tint; false renders a 100% opaque surface
showCloseButtonbooleantrueRender 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.

PropTypeDescription
localeLiquidGlassLocaleInputUI language of this component (any BCP 47 tag; unsupported ones fall back to English)
messagesPartial<SheetMessages>Text overrides, merged over the built-in text and the global messages.sheet
KeyBuilt-in text (English)
closeClose

On this page