Components
Responsive Liquid Glass component library built on Apple macOS 27 and iOS 27 guidelines, adapting automatically between desktop and mobile with shadcn Registry installation support.
All 63 base components are initialized via shadcn@latest init --defaults (base-nova / @base-ui/react / Tailwind CSS v4) and unified around native Tailwind breakpoints (md: / 768px) + useIsMobile() and @liqui-design/glass + motion/react for Apple Liquid Glass materials and responsive adaptation.
Available Components
Accordion
Apple 27 expandable list with hairline dividers, rotating trailing chevron, and spring height animation; place inside a glass Card for Inset Grouped sections.
Alert
Inline banner with grouped surface and hairline stroke, supporting action buttons and an Apple Red destructive variant.
AlertDialog
Faithfully reproduces Apple 27 alert guidelines: compact 26px radius layout on desktop, 34px radius and 48px capsule buttons on mobile.
AspectRatio
Layout utility for rendering images, videos, or cards at a fixed aspect ratio using native CSS aspect-ratio.
Attachment
Default Liquid Glass file and image attachment cards with uploading, error, and pending states; automatically switches to Over-Glass inside message inputs.
Avatar
0.5px inner stroke and iOS Contacts-style gradient monogram avatars with status badges and avatar groups.
Badge
Pill-shaped Liquid Glass badges preserving all 6 shadcn semantic variants with glass material enabled by default and dynamic accent tinting.
Breadcrumb
Finder-style path bar with rounded hover highlight and hairline chevron separators.
Bubble
Apple Messages-style chat bubbles: solid accent for sent, system gray for received, with Tapback reactions and optional Liquid Glass material.
Button
Responsive button adapting between iOS 27 and macOS 27 sizing, preserving all 6 shadcn semantic variants with an orthogonal glass prop.
ButtonGroup
Merges into a shared toolbar Liquid Glass capsule by default; joins into a segmented pill row when glass={false}, with text prefixes and vertical orientation.
Calendar
Liquid Glass calendar with circular Apple Blue selection pills, soft range bands, and month/year dropdowns; embeds cleanly in Popover and mobile Drawer.
Card
Isolated-layer Liquid Glass by default (preserving internal Switch/Slider optical refraction), with edge refraction, opaque glass={false}, and over-glass nested sections.
Carousel
Embla carousel with circular Liquid Glass previous and next navigation buttons.
Chart
Apple-styled Recharts visualizations with system color palettes, hairline gridlines, and Liquid Glass tooltips.
Checkbox
Unified rounded-square semantics across platforms, larger mobile touch targets ↔ macOS 27 precision, with indeterminate state, orthogonal glass, and spring check animation.
CodeBlock
Default Liquid Glass code viewer supporting line numbers, diff highlighting, and one-click copy.
Collapsible
Unstyled disclosure container with built-in Apple 27 height easing, ideal for folder trees and expandable detail sections.
Color Picker
Hex color field with an Apple 27 color well: Liquid Glass popover with spectrum, hue track and system color swatches on desktop; iOS 27 bottom Drawer on mobile.
Combobox
Pill Liquid Glass search input with Apple Blue dropdown on desktop; automatically switches to an iOS 27 bottom Liquid Glass Drawer with grouped list on mobile.
Command
macOS 27 Spotlight Liquid Glass palette on desktop; switches to a swipe-to-dismiss iOS 27 bottom Liquid Glass Drawer with Inset Grouped rows on mobile.
ContextMenu
Right-click macOS 27 Liquid Glass menu on desktop; long-press iOS 27 bottom Liquid Glass Drawer on mobile with submenu drill-down and back navigation.
Dialog
Centered macOS 27 Liquid Glass modal on desktop; automatically switches to a swipe-to-dismiss iOS 27 bottom Liquid Glass Sheet on mobile.
Direction
Provides right-to-left (RTL) direction context so Slider, Switch, and directional controls mirror automatically.
Drawer
Gesture-driven drawer following iOS 27 edge-hugging rounded Liquid Glass guidelines, with four-way edges, snap points, and isolated optical refraction.
DropdownMenu
Floating macOS 27 Liquid Glass dropdown on desktop; switches to an iOS 27 bottom Liquid Glass Drawer with grouped rows and submenu navigation on mobile.
Empty
ContentUnavailableView-inspired empty state with icon tile, title, description, and action buttons.
Field
Apple 27 form typography combining labels, controls, descriptions, and validation errors, with horizontal/responsive layouts and Inset Grouped option cards.
HoverCard
macOS 27 22px-radius Liquid Glass hover preview card for user profiles, link summaries, and quick design-spec previews.
Icon Picker
Pick any of 200k+ Iconify icons by keyword or set: Select-style trigger, Liquid Glass popover ↔ iOS 27 bottom Drawer; DynamicIcon renders icons by name.
Input
Aligned with macOS 27 and iOS 27 Text Fields guidelines, featuring a 3.5px Apple Blue focus ring, anti-zoom Safari sizing, and glass/over-glass surface adaptation.
InputGroup
Unifies search bars, address bars, and message composers inside one Apple 27 capsule surface with default Liquid Glass and automatic Over-Glass switching.
InputOTP
One-time passcode input with discrete rounded slots and an accent focus ring.
Item
iOS Settings-style list row cell supporting leading icons, descriptions, and trailing controls.
Kbd
Keyboard shortcut keycap glyphs with a subtle keycap fill for menus and tooltips.
Label
Apple 27 form label (15px on mobile ↔ 13px on desktop) that automatically reflects adjacent control disabled states.
Marker
Timestamps, system events, and section headers for conversations and lists, with optional hairline dividers.
Menubar
Floating pill Liquid Glass menubar with seamless hover switching on desktop; switches to an iOS 27 bottom Liquid Glass Drawer on mobile.
Message
Group chat message row layout with avatar, sender name, bubble, and delivery status sized for iOS 27 ↔ macOS 27.
MessageScroller
Chat history scroll container that auto-pins to the latest message while preserving reading position, revealing a Liquid Glass Jump to Latest button when scrolled up.
NavigationMenu
Floating capsule navigation bar with adaptive glass popovers on desktop; switches to an iOS 27 bottom Liquid Glass Drawer on mobile.
Pagination
Paginator with a bordered neutral capsule for the active page and 44px mobile touch targets.
Popover
macOS 27 20px-radius floating Liquid Glass panel on desktop; switches to a swipe-to-dismiss iOS 27 bottom Liquid Glass Sheet on mobile.
Progress
Apple 27 capsule linear progress bar with solid accent fill, 0.5px hairline track stroke, dual sizes, and indeterminate shimmer.
Questionnaire
One-question-at-a-time stepped survey with Apple-styled single/multi-select cards, letter shortcuts, and Liquid Glass text inputs.
RadioGroup
22px mobile touch rings ↔ 16px macOS 27 precision radio buttons with group-level size/glass inheritance and spring inner dots.
Resizable
macOS Split View-style resizable panes with accent-colored hover and drag dividers.
ScrollArea
Apple overlay scrollbars that stay hidden at rest, fade in while scrolling, and thicken on hover.
Select
macOS 27 Liquid Glass dropdown on desktop; automatically switches to a swipe-to-dismiss iOS 27 bottom Liquid Glass Drawer list on mobile.
Separator
Apple 27 system separator color supporting both horizontal and vertical orientations.
Sheet
Floating 26px-radius macOS 27 Liquid Glass inspector panel on desktop; switches to an edge-hugging rounded iOS 27 drawer on mobile.
Sidebar
Floating 22px-radius macOS 27 Liquid Glass sidebar with icon collapse mode; switches to a glass slide-over Sheet on mobile with ⌘B shortcut.
Skeleton
SwiftUI redacted-style soft placeholder blocks tuned for both standard and Liquid Glass surfaces.
Slider
macOS 27 / iOS 27 horizontal capsule Liquid Glass slider that expands into a refractive droplet while dragging, with ticks, range thumbs, and Control Center glass tracks.
Spinner
Eight-spoke stepped-rotation Apple 27 system activity indicator (20px mobile ↔ 16px desktop) that inherits current text color.
Switch
Expands into a transparent refractive droplet on press or drag, with live track color interpolation, velocity stretch, and responsive iOS/macOS sizing.
Table
Apple 27 list table with hairline row dividers, accent-tinted selected rows, and secondary header labels.
Tabs
Supports floating glass pills, iOS 27 floating Tab Bar, and Segmented Control; hold and drag the active thumb to experience liquid lens magnification and velocity stretch.
Textarea
Supports CSS field-sizing-content auto-growth, Apple Blue focus ring, and default / over-glass / glass surface variants.
Toast
macOS 27 top-right and iOS 27 top-center Liquid Glass notification banners with stacked expansion, swipe dismissal, and semantic status icons.
Toggle
Aligned with macOS 27 toolbar and iOS 27 touch sizing, solid accent pressed state, orthogonal glass material, and automatic Over-Glass adaptation.
ToggleGroup
Combines into an Apple 27 Segmented Control at spacing={0} and a macOS 27 toolbar Liquid Glass segmented bar with glass, supporting single/multiple and vertical layouts.
Tooltip
Floating macOS 27 Liquid Glass tooltip pill with shortcut badges and four-side anchoring; glass={false} renders a 100% opaque tooltip.
Trace
AI or task execution step list with running shimmer, destructive red error state, and collapsible detail panels.
Tree
macOS 27 Outline View tree with expand / collapse, single selection and cascading checkboxes, plus a TreeSelect with Liquid Glass menu ↔ iOS 27 bottom Drawer.
Upload
Apple Liquid Glass file upload component with a refined default dropzone, drag-and-drop, file validation, upload progress, and full custom trigger support.
Quick Liquid Glass Preview (Tabs)
Click to switch or press and drag the active capsule horizontally to see the liquid lens magnify and refract the underlying labels. Use the top-right controls to toggle Desktop / Tablet / Mobile viewports or inspect the source code, and switch the global preview backdrop at the bottom of the left sidebar:
Registry Outputs
Running pnpm registry:build syncs the base liquid-glass style package and all components/ui/*.tsx files into the root registry.json and compiles them into public/r/<name>.json (or out/r/<name>.json in static export builds).
public/r/registry.json: Full component catalog manifestpublic/r/liquid-glass.json: Apple system colors,@liqui-design/glasstokens, and Motion spring presetspublic/r/button.json: Responsive Liquid Glass Buttonpublic/r/tabs.json: Responsive Liquid Glass Tabs (includes@apple-liquid/liquid-lens)public/r/select.json: Responsive Select (includes@apple-liquid/drawer,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/switch.json: Responsive Liquid Glass Switch (includes@apple-liquid/liquid-lens,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/slider.json: Responsive Liquid Glass Slider (includes@apple-liquid/liquid-lens,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/dialog.json: Responsive Liquid Glass Dialog (includes@apple-liquid/drawer,@apple-liquid/button,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/alert-dialog.json: Responsive Liquid Glass AlertDialog (includes@apple-liquid/buttonand@apple-liquid/liquid-glass)public/r/dropdown-menu.json: Responsive Liquid Glass DropdownMenu (includes@apple-liquid/drawer,@apple-liquid/liquid-surface,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/context-menu.json: Responsive Liquid Glass ContextMenu (includes@apple-liquid/drawer,@apple-liquid/liquid-surface,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/popover.json: Responsive Liquid Glass Popover (includes@apple-liquid/drawer,@apple-liquid/liquid-surface,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/checkbox.json: Responsive Liquid Glass Checkbox (includeslib/liquid-motion.tsand@apple-liquid/liquid-glass)public/r/radio-group.json: Responsive Liquid Glass RadioGroup (includeslib/liquid-motion.tsand@apple-liquid/liquid-glass)public/r/input.json: Responsive Liquid Glass Input (includes@apple-liquid/liquid-glass)public/r/textarea.json: Responsive Liquid Glass Textarea (includes@apple-liquid/liquid-glass)public/r/card.json: Responsive Liquid Glass Card (includes@apple-liquid/liquid-surfaceand@apple-liquid/liquid-glass)public/r/badge.json: Responsive Liquid Glass Badge (includes@apple-liquid/liquid-glass)public/r/drawer.json: Responsive Liquid Glass Drawer (includes@apple-liquid/liquid-surfaceand@apple-liquid/liquid-glass)public/r/sheet.json: Responsive Liquid Glass Sheet (includes@apple-liquid/liquid-surfaceand@apple-liquid/liquid-glass)public/r/toast.json: Responsive Liquid Glass Toast (includes@apple-liquid/button,@apple-liquid/liquid-surface, and@apple-liquid/liquid-glass)public/r/tooltip.json: Liquid Glass Tooltip (includes@apple-liquid/liquid-surfaceand@apple-liquid/liquid-glass)public/r/hover-card.json: Liquid Glass HoverCard (includes@apple-liquid/liquid-surfaceand@apple-liquid/liquid-glass)public/r/command.json: Spotlight-style Liquid Glass Command (includes@apple-liquid/dialog,@apple-liquid/liquid-surface, and@apple-liquid/liquid-glass)public/r/combobox.json: Responsive Liquid Glass Combobox (includes@apple-liquid/button,@apple-liquid/input-group,@apple-liquid/liquid-surface, and@apple-liquid/liquid-glass)public/r/menubar.json: Responsive Liquid Glass Menubar (includes@apple-liquid/dropdown-menu,@apple-liquid/liquid-surface, and@apple-liquid/liquid-glass)public/r/navigation-menu.json: Responsive Liquid Glass NavigationMenu (includes@apple-liquid/drawer,@apple-liquid/liquid-surface,hooks/use-mobile.ts, and@apple-liquid/liquid-glass)public/r/calendar.json: Responsive Liquid Glass Calendar (includes@apple-liquid/button,@apple-liquid/select,@apple-liquid/liquid-surface, and@apple-liquid/liquid-glass)public/r/sidebar.json: Responsive Liquid Glass Sidebar (includes@apple-liquid/sheet,@apple-liquid/input,@apple-liquid/button,@apple-liquid/tooltip,@apple-liquid/liquid-surface, etc.)
Liquid Glass Opacity
Provides a reusable LiquidGlassProvider, useLiquidGlass hook, and Apple System Settings-style Clear ↔ Tinted opacity slider to control Liquid Glass translucency, frost, and contrast globally.
Accordion
Apple 27 expandable list with hairline row dividers, a trailing chevron that rotates 90° when open, and spring height animation. Adapts between 44px mobile touch rows and 32px desktop rows, and becomes an Inset Grouped section inside a glass Card.