felipemenezes098

Sortable Table

Component 2

About

A data table with clickable column headers that sort rows ascending or descending, built with TanStack Table.

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

Code

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

Usage.tsx

import { Table11 } from "@/components/ui/table-11";

export default function Default() {
  return (
    <div className="flex w-full justify-center p-6">
      <Table11 />
    </div>
  );
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    932
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • Split Hero With Image Cards

    Split Hero With Image Cards

    402
  • Editorial Image Hero

    Editorial Image Hero

    388
  • Scroll 01

    Scroll 01

    342
  • Real Estate Search Hero

    Real Estate Search Hero

    190
  • Editorial Hero

    Editorial Hero

    173
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    123