Skip to Content
Liquid Glass UI
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" on TableRow applies 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.
apple-liquid-ui/preview/table-demo
MacBook · 16:10

Installation (Shadcn Registry)

npx shadcn@latest add @apple-liquid/table

Usage

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

PropTypeDefaultDescription
glassbooleantrueLiquid 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-detectedManually override the hosting surface context

On this page