1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Data Table

Data Table

ui

A sortable, filterable, selectable table built on @tanstack/react-table and the mangacn Table. The table is a case with an ink header; sorted columns show a brush arrow (aria-sort); the hovered row gets its ink bar and selected rows a 6px bar. The toolbar has a filter field (filterColumn) and a column visibility menu (grouped, checkable items). Row selection uses the mangacn Checkbox, with a select-all in the header; pagination uses the mangacn Button. An empty filter result shows the "…" mark (TableEmpty). Props: columns, data, filterColumn?, pageSize?, onSelectionChange?(rows). Also exports selectColumn. On phones (table narrower than 640px) rows become cards: checkbox, title, badge, labelled lines; set `meta: { card: ... }` on a column to choose.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/data-table.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • cn
  • @tanstack/react-table@^8
@ui/manga/data-table.tsx