mirror of
https://github.com/zooai/design.git
synced 2026-10-30 14:50:04 +00:00
Monochrome, dark by default. One hue rendered through an opacity ladder. Tokens (color, type, spacing, radius, elevation, motion) + core/forms/navigation/ overlays components + brand guidelines + ui kit. The single source of truth for every Zoo surface — loadable and editable.
12 lines
894 B
TypeScript
12 lines
894 B
TypeScript
/** Dense data table. Rows separated by neutral-800 hairlines; header sits on pure black. */
|
|
export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
/** Adds the neutral-900/60 hover fill — use when the row opens something. */
|
|
interactive?: boolean;
|
|
}
|
|
export function Table(props: React.TableHTMLAttributes<HTMLTableElement>): JSX.Element;
|
|
export function TableHeader(props: React.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
export function TableBody(props: React.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
export function TableRow(props: TableRowProps): JSX.Element;
|
|
export function TableHead(props: React.ThHTMLAttributes<HTMLTableCellElement> & { align?: 'left' | 'right' | 'center' }): JSX.Element;
|
|
export function TableCell(props: React.TdHTMLAttributes<HTMLTableCellElement> & { align?: 'left' | 'right' | 'center' }): JSX.Element;
|