Carsxe

Table

A responsive table component.
NameEmailRoleStatus
Alex Riveraalex@carsxe.devOwnerActive
Jordan Leejordan@carsxe.devAdminActive
Sam Patelsam@carsxe.devEditorPending

Installation

Import from the package. Do not run shadcn add in your app.

import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from "@carsxe/design-system/components/table"

Usage

import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@carsxe/design-system/components/table"

<Table>
  <TableHeader>
    <TableRow>
      <TableHead>Name</TableHead>
    </TableRow>
  </TableHeader>
  <TableBody>
    <TableRow>
      <TableCell>Alex</TableCell>
    </TableRow>
  </TableBody>
</Table>

API Reference

Native element props are forwarded. There are no extra variant props.