Shadcn Data Grid Components

A spreadsheet style data grid with sorting, filtering, grouping, column resizing, pinning and reordering, row selection, in-place cell editing, copy and paste, virtualized rows and full arrow-key cell navigation. Built on ui-sdk and styled with shadcn/ui theme tokens. Browse our collection of 12 Shadcn Data Grid variants.

Basic

Name
Email
Role
Team
Joined
Olivia Martin
olivia@northwind.io
Owner
Platform
Feb 14, 2023
Jackson Lee
jackson@northwind.io
Admin
Design
Jun 2, 2023
Isabella Nguyen
isabella@northwind.io
Editor
Marketing
Jan 19, 2024
William Kim
will@northwind.io
Viewer
Sales
Mar 27, 2024
Sofia Davis
sofia@northwind.io
Editor
Platform
Aug 11, 2024
Ethan Brooks
ethan@northwind.io
Admin
Support
Jan 6, 2025
Mia Patel
mia@northwind.io
Viewer
Finance
Apr 22, 2025

Row selection

Invoices

Space or a click checks a row; Shift extends the range.

2 selected$8,156.00
Invoice
Client
Status
Amount
Due
INV-2041
Acme Corp
Paid
$240.00
Jan 1, 2026
INV-2042
Stark Industries
Paid
$3,359.00
Mar 12, 2026
INV-2043
Initech
Pending
$1,679.00
May 23, 2026
INV-2044
Soylent
Pending
$4,797.00
Jul 7, 2026
INV-2045
Hooli
Overdue
$3,116.00
Sep 18, 2026
INV-2046
Globex
Paid
$1,436.00
Nov 2, 2026
INV-2047
Wayne Enterprises
Paid
$4,554.00
Jan 13, 2026
INV-2048
Umbrella
Pending
$2,874.00
Mar 24, 2026
2 of 24 row(s) selected
Page 1 of 3

Search and filters

Order
Customer
Channel
Status
Items
Total
#18327
Liam Scott
Wholesale
Shipped
9
$901.79
#18282
Harper Lewis
Wholesale
Cancelled
3
$879.14
#18324
Harper Lewis
Retail
Delivered
5
$840.28
#18279
Henry Baker
Retail
Shipped
8
$817.63
#18321
Henry Baker
Online
Delivered
1
$778.77
#18276
Lily King
Online
Processing
4
$756.12
#18363
Henry Baker
Wholesale
Shipped
3
$739.91
#18318
Lily King
Wholesale
Cancelled
6
$717.26
#18273
Lucas Hall
Wholesale
Shipped
9
$694.61
#18360
Lily King
Retail
Delivered
8
$678.40
42 row(s)
Page 1 of 5

Cell editing

Enter or F2 edits, Esc cancels, Space flips ActiveCtrl C / V copies and pastes cells
SKU
Product
Category
Price
Stock
Restock
Active
TEA-001
Sencha green tea
Tea
$14.50
120
Dec 4, 2026
Yes
TEA-014
Earl grey loose leaf
Tea
$12.00
8 low
Nov 29, 2026
Yes
COF-102
Ethiopia single origin
Coffee
$19.90
64
Dec 11, 2026
Yes
COF-118
Decaf house blend
Coffee
$16.00
Out
Dec 1, 2026
No
ACC-210
Ceramic pour-over
Accessories
$32.00
23
Jan 8, 2027
Yes
ACC-233
Glass teapot 600 ml
Accessories
$28.75
15
Dec 18, 2026
Yes
SNK-305
Almond biscotti
Snacks
$6.50
210
Nov 30, 2026
Yes

Column resizing, pinning and visibility

Drag a column edge to resize it, or use the column menu to pin, move and hide columns. On a focused header, Alt with the arrows resizes and Alt with Shift moves.

Name
Title
Department
Location
Manager
Type
Salary
Start date
Amelia Turner
Engineering Manager
Engineering
Berlin
Daniel Ross
Full-time
$142,000
Apr 1, 2019
Benjamin Cole
Senior Frontend Engineer
Engineering
Lisbon
Amelia Turner
Full-time
$118,000
Sep 13, 2021
Charlotte Reed
Product Designer
Design
London
Nora Price
Full-time
$96,000
Feb 7, 2022
David Ortiz
Data Analyst
Operations
Madrid
Samuel Grant
Contract
$74,000
Jun 17, 2024
Eleanor Shaw
Customer Success Lead
Support
Toronto
Samuel Grant
Full-time
$88,000
Nov 30, 2020
Felix Morgan
Backend Engineer
Engineering
Remote
Amelia Turner
Full-time
$109,000
Mar 20, 2023
Hannah Webb
Content Strategist
Marketing
New York
Nora Price
Part-time
$52,000
Jan 15, 2025
Isaac Foster
Account Executive
Sales
Austin
Daniel Ross
Full-time
$91,000
Aug 1, 2022

Density

Watchlist

Symbol
Company
Price
Change
Volume
NWND
Northwind Traders
184.32
+1.84%
3,210,400
CNTS
Contoso Ltd
92.10
-0.62%
1,820,300
FBRK
Fabrikam Inc
41.75
+3.12%
5,402,100
TLSP
Tailspin Toys
12.08
-2.40%
980,200
WWIM
Wide World Importers
67.44
+0.35%
2,104,500
ADVW
Adventure Works
128.90
-1.05%
1,450,800

Virtualized 10,000 rows

10,000 rows
Shipment
Carrier
Origin
Destination
Weight (kg)
Status
Shipped

Grouping

Enter or a click opens and closes a group.

Task
Title
Status
Priority
Assignee
Points
Status:Backlog2
T-101
Audit onboarding emails
Backlog
Low
Maya
3
T-106
Usage based pricing page
Backlog
Medium
Lena
3
Status:In progress3
T-102
Add SSO to admin console
In progress
High
Omar
8
T-104
Dark mode for reports
In progress
Medium
Maya
5
T-109
Export audit log to CSV
In progress
Low
Lena
2
Status:In review2
T-103
Fix invoice rounding
In review
High
Lena
2
T-107
Rate limit public API
In review
High
Omar
3
Status:Done2
T-105
Migrate cron jobs
Done
Medium
Theo
5
T-108
Archive old workspaces
Done
Low
Theo
1

Row actions

Press Enter on an Actions cell to reach its menu.

Customer
Plan
Seats
MRR
Actions
LF
Lena Fischer
lena@brightlabs.co
Enterprise
48
$2,400
MR
Marco Rossi
marco@pastaworks.it
Pro
6
$180
AT
Aiko Tanaka
aiko@kumo.jp
Pro
12
$360
SO
Samuel Okafor
sam@lagosfin.ng
Free
1
$0
PS
Priya Sharma
priya@ledgerly.in
Enterprise
120
$6,000
Customer list

Loading and empty states

Deploy
Service
Branch
Author
Duration

Order management

Order
Customer
Region
Status
Amount
Placed
Rush
2,000 rows
Order management

Budget planner

Q4 budget
Edit budgets and actuals in place, or paste a column from a spreadsheet.
Category
Owner
Budget
Actual
Variance
Used
Cloud hosting
Platform
$18,000
$19,650
-$1,650
109%
Events
Marketing
$8,000
$8,950
-$950
112%
Software licenses
Operations
$6,500
$6,120
$380
94%
Contractors
Engineering
$24,000
$22,100
$1,900
92%
Paid search
Marketing
$12,000
$9,800
$2,200
82%
Recruiting
People
$9,000
$4,300
$4,700
48%
Budget
$77,500
Actual
$70,920
Remaining
$6,580
Budget planner
Unlock premium components
Get full control of shadcn/ui components, blocks and instances, including future additions.

Explore Shadcn Blocks

Ready-made page sections built with the same components.

View all blocks