Glasswave UI

Table

Semantic table with glass wrapper and hover rows.

Table
A list of your recent invoices.
InvoiceStatusMethodAmount
INV-001PaidCredit Card$199.00
INV-002PendingPayPal$42.00
INV-003UnpaidBank Transfer$320.00
INV-004PaidCredit Card$99.00
INV-005PaidApple Pay$520.00
Total$1,180.00

Installation

1pnpm dlx shadcn@latest add @glasswave/table

Usage

1import {2  Table,3  TableHeader,4  TableBody,5  TableFooter,6  TableRow,7  TableHead,8  TableCell,9  TableCaption,10} from "glasswave";

Table wraps <table> in a rounded, bordered scroll container. Row hover uses hover:bg-white/[0.04]; data-state="selected" is supported on TableRow.

API Reference

Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell and TableCaption render the matching native table element and accept its attributes plus className.