micka_design

Table

Dashboards 8

About

A data table with proximity hover highlighting, animated row backgrounds, smooth transitions, and composable header/body/row/cell components.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Table to your project and fits it to your theme.

Code

How Table is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from "../components/ui/table";

const users = [
  { name: "Alice Chen", role: "Product Designer", status: "Active" },
  { name: "Bob Smith", role: "Frontend Engineer", status: "Active" },
  { name: "Carol Williams", role: "Backend Engineer", status: "Away" },
  { name: "Diana Johnson", role: "Data Scientist", status: "Active" },
];

export default function TableUsersDemo() {
  return (
    <div className="flex items-center justify-center min-h-screen bg-background p-4">
      <Table className="w-full max-w-2xl">
        <TableHeader>
          <TableRow>
            <TableHead>Name</TableHead>
            <TableHead>Role</TableHead>
            <TableHead>Status</TableHead>
          </TableRow>
        </TableHeader>
        <TableBody>
          {users.map((user, i) => (
            <TableRow key={user.name} index={i}>
              <TableCell className="font-[inherit]">{user.name}</TableCell>
              <TableCell>{user.role}</TableCell>
              <TableCell>{user.status}</TableCell>
            </TableRow>
          ))}
        </TableBody>
      </Table>
    </div>
  );
}

Dependencies

More by micka_design

View all
  • Switch

    Switch

    87
  • Select

    Select

    84
  • Checkbox Group

    Checkbox Group

    76
  • Accordion

    Accordion

    38
  • Segmented Tabs

    Segmented Tabs

    37
  • Slider

    Slider

    24
  • Tabs Subtle

    Tabs Subtle

    22
  • Badge

    Badge

    18

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.4K
  • Sidebar

    Sidebar

    224
  • SaaS Template

    SaaS Template

    2.4K
  • Stats Bento

    Stats Bento

    1.1K
  • Financial Bento Grid

    Financial Bento Grid

    66
  • Stats cards with links

    Stats cards with links

    120
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 2

    Statistics Card 2

    258