For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
When to use
- Wide records with more fields than fit, where viewers show, hide, add or swap columns
- Table display settings a viewer changes, such as density, a sticky header or resizable and movable columns
- Role and permission matrices whose scope columns change with the selected tab
When not to use
- A table with a fixed set of columns that no viewer needs to change: use the Data Grid component
- A long list whose main job is narrowing records through a multi field rule builder: use the Filtering blocks
- Thousands of rows loaded as the reader scrolls, with no page controls: use the Virtualization blocks
Agent notes
- Every page.tsx centers the grid in a
min-h-svhmain withmax-w-7xland padding; drop that main when the grid sits in an app shell - Search and filters run in the browser over the demo array handed to
useTable; move them to your API for large tables - Column and display choices live in component
useStateand reset on reload; persist them per user when they should stick
Third-party API docs
- TanStack Table v9: API reference, docs, used by 5 of 5 blocks
- Sonner v2: API reference, docs, used by 5 of 5 blocks
https://web.dev.reui.io/blocks/data-grid/columns.mdsearch({ query: "columns", type: "block", category: "columns" })Shadcn Data Grid Blocks for Column Visibility, Pinning and Resizing
Every serious grid needs the same four controls: which columns show, which stay pinned while the rest scroll, how wide each one is, and how dense the rows are. These blocks ship them as working toolbar chrome on the ReUI Data Grid rather than as a checklist of options to wire yourself.
Each block is a complete screen with fixture data, so the column menu, the pin affordance and the resize handle are already positioned against real headers, and the settings survive a re-render the way a user expects.
All Columns Blocks
Open any block on its own page for a live preview, the components it is built from, and the install command.
- Access Permissions Matrix Workspace permissions data grid with tab-swapped scope columns and per-cell access toggles
- Course Catalog Course Catalog Data Grid with Settings Popover for Density and Column Visibility
- Work Queue Work queue data grid with table and card view toggle and column display controls
- Member Display Columns Members directory data grid with toggleable display columns and view settings popover
- Company Attributes CRM companies grid with a drill-down cascader that adds real columns on demand
What the Columns blocks cover
Data Grid screens, each a full block with fixture data:
- Workspace permissions data grid with tab-swapped scope columns and per-cell access toggles
- Course Catalog Data Grid with Settings Popover for Density and Column Visibility
- Work queue data grid with table and card view toggle and column display controls
- Members directory data grid with toggleable display columns and view settings popover
- CRM companies grid with a drill-down cascader that adds real columns on demand
Built from
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
Does column state persist?
Can I pin columns on both sides?
How do I install a Columns block?
Is a license needed?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.