Data Table 1 - Basic with header
Page header with title, description and a primary action above a bordered table of projects with status badges and a caption.
About Data Table 1
Page header with title, description and a primary action above a bordered table of projects with status badges and a caption.
Data Table 1 is a free data table block for React, built on shadcn/ui and Tailwind CSS. It ships as 93 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- table
- basic
- header
- caption
- badge
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/data-table-01Dependencies installed automatically: lucide-react.
Uses: badge, button, reveal, table, utils.
Usage
import DataTable01 from "@/components/blocks/data-table-01"
export default function Page() {
return <DataTable01 />
}