Components
Table
Apple 27 Finder-style list table with hairline row dividers, subtle hover highlights, accent-tinted selected rows, and semibold secondary headers (15px mobile ↔ 13px desktop).
Fully compatible with the standard shadcn/ui JSX API (Table / TableHeader / TableBody / TableFooter / TableRow / TableHead / TableCell / TableCaption):
- Finder list style: Hairline row dividers with subtle hover fill.
- Selected rows:
data-state="selected"onTableRowapplies a soft theme accent tint. - Headers: Small semibold secondary text (13px on mobile ↔ 11.5px on desktop).
- Default Liquid Glass: Wrapped in a rounded Liquid Glass panel by default (backdrop stays outside the horizontal scroll container so it never scrolls away); pass
glass={false}for an unbacked table.
Installation (Shadcn Registry)
npx shadcn@latest add @apple-liquid/tableUsage
import {
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
} from '@/components/ui/table';
export function Example() {
return (
<Table>
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
<TableHead>Size</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow data-state="selected">
<TableCell>Liquid Glass.sketch</TableCell>
<TableCell>128 MB</TableCell>
</TableRow>
</TableBody>
</Table>
);
}Props API
| Prop | Type | Default | Description |
|---|---|---|---|
glass | boolean | true | Liquid Glass material reacting to glass tint; false renders an unbacked / opaque variant. Auto-switches to Over-Glass on glass surfaces |
surface | 'default' | 'over-glass' | Auto-detected | Manually override the hosting surface context |
Switch
Liquid Glass toggle switch inspired by Apple iOS 27 and macOS 27 that expands into a transparent refractive droplet on press or drag, interpolating track color live with velocity stretch.
Tabs
Liquid Glass Tabs, Segmented Control, and Floating Tab Bar built to Apple iOS 27 and macOS 27 guidelines, featuring press-and-drag liquid lens magnification and automatic responsive adaptation.