Sortable data table

Sortable data table: Compare structured records with sortable columns. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Sortable data table

npx motion-ui-skill add sortable-data-table

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Source files

Sortable data table

Compare structured records with sortable columns.

Install

npx motion-ui-skill add sortable-data-table

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { SortableDataTable as SortableDataTable } from "@/components/blocks/sortable-data-table";

export function Example() {
  return (
    <div className="p-6">
      <SortableDataTable />
    </div>
  );
}

Browse this category