Examples
More examples
All 621 shadcn-table Storybook stories that have a live example page under More examples, linked from one list by story file.
Each Storybook story of shadcn-table that no example page shows has a page of its own; this list links every one, grouped by its story file.
Basic
Features/Aggregation
- Aggregation
- Aggregation With Selection
- Aggregation Expanded Default
- Aggregation Remove Mode
- Aggregation False Mode
- Aggregation Remove Mode Custom Grouped Cell
- Aggregation Grouped And Expanded Default
- Multi Aggregation Per Column
- Grouped Row Shows Aggregate
Features/Cell Action
- Cell Actions Enabled
- Cell Actions Enabled Conditionally
- Cell Actions Enabled Custom
- Cell Actions With Click To Copy
- Cell Actions With Built Ins
Features/Click To Copy
- Click To Copy Enabled
- Click To Copy Enabled With Column Resizing
- Click To Copy Enabled Per Column
- Click To Copy Disabled Per Column
- Click To Copy Enabled With Copy Button Props
Features/Column Action
- Column Actions Enabled Default
- Column Actions Disabled
- Column Actions Disabled Per Column
- Column Actions Enabled Per Column
- Custom Column Actions
- Custom Column Actions Per Column
- Menu Items Follow The Column State
- Menu Sort Stacks
- Menu Reset Size After Resize
Features/Column Dragging
- Column Dragging Enabled
- Column Dragging Locked Column
- Column Dragging With Grip
- Touch Hold On Range Slider
- Column Dragging Disabled Per Column
- Moved Column On Top
Features/Column Grouping
- Column Grouping Enabled
- Column Grouping Enabled Reorder
- Grouping Column Mode Remove
- Grouping Column Mode False
- Grouping Column Mode Remove Custom Header
- Grouping Column Mode Remove Paginate Pre Expand
- Grouping Column Mode Remove Custom Grouped Cell
- Column Grouping Enabled With Selection
- Column Grouping Enabled With Selection Remove
- Column Grouping No Drag Handles
- Column Grouping Enabled Drop Zone Bottom
- Column Grouping Enabled Custom Aggregate
- Column Grouping Banner On Bottom
- Grouping Columns Set State
- Column Grouping Drop Zone Always Visible
- Grouping State Managed
- Grouping And Dragging With Some Disabled Grouping
- Grouped Header Width Sums Columns
- Grouped Header Width Override
- Grouped Expand Aligns Start All Modes
- Expand Group Shows Rows
Features/Column Hiding
- Column Hiding Enabled Default
- Column Hiding Disabled
- Column Hiding Disabled But With Ordering
- Column Hiding Disabled But With Pinning
- Column Hiding Disabled Per Column
- Column Hiding With Header Groups
- Column Hiding Columns Not Visible In Show Hide
- Column Hiding With Columns Hidden And Not Visible In Show Hide
- Column Hiding Keyboard Toggle
- Menu Items Show Icons
- Menu Reorder With Table Offset
- Column Hidden On Load
Features/Column Ordering
- Column Ordering Enabled
- Column Ordering Disabled
- Display Column Ordering Enabled
- Column Ordering Disabled Per Column
- Column Ordering With Select
- Column Ordering No Drag Handles
- Column Ordering State Managed
- Column Ordering State Managed Custom
- Column Ordering Enabled With Column Virtualization
- Menu Reorder Moves Column
Features/Column Pinning
- Column Pinning Enabled
- Column Pinning Disabled
- Column Pinning Initial
- Column Pinning Disabled Per Column
- Column Pinning With Select
- Column Pinning With Detail Panel
- Pin Start Sticks
Features/Column Resizing
- Column Resizing Enabled Default On Change
- Column Resizing Disabled
- Column Resizing Enabled Default On Change RTL
- Column Resizing Enabled Default On Change Grid
- Column Resizing Default On Change Grid With Individual Shrink
- Column Resizing Enabled Default On Change Grid RTL
- Column Resizing Enabled Default On Change Semantic
- Column Resizing Enabled Default On Change Semantic RTL
- Column Resizing Enabled No Column Actions
- Column Resizing Disabled Some Columns
- Column Resizing Enabled On End
- Column Resizing Enabled On End RTL
- Column Resizing Custom Default Widths
- Column Resizing With Pinning
- Column Resizing With Header Groups
- Column Resizing With Header Groups Grid Grow
- Column Resizing Layout Grid Grow
- Column Resizing Layout Grid Grow RTL
- Resize Guides Meet Edge
- Reset Size Animates
- Column Widened On Load
Features/Creating
- Create Row Index Top
- Create Row Index Bottom
- Create Row Index Index
- Create Row Index Index Virtualized
- Create Row Index Index Expanding
- Create With Custom Edit Cell
- Create Row Appears
Features/Custom Filter Fns
- Custom Column Filter Fn
- Custom Global Filter Fn
- Default Fuzzy Global Filter
- Custom Sort Fn
- Custom Aggregation Fn
- Aggregation Fn Array
- Two Tables Different Registries
- Unknown Filter Fn Name
- Global Filter Mode Switch
- Programmatic Global Filter Mode
- Programmatic Column Filter Mode
- Column Filter Mode Switch
Features/Date Filters
- Greater Than On Date Column
- Less Than On Date Column
- Equals Matches Calendar Day
- Between Inclusive On Date Column
- Time Of Day On Date Column
- Plain Date Variant Defaults To Equals
- Iso String Column Unchanged
- Not Equals On Date Column
- Date Time On Date Column
- Date Time Greater Than On Date Column
- Time With Seconds On Date Column
- Date Filter Value On Date Column
- Iso Date Time String Column By Day
- Clear Empty Returns Date Default Mode
- Pick Day In Chips Editor
- Escape Closes Picker Popup First
- Typed Date Applies On Enter
- Typed Date Applies On Leave
- Pick Typed Day Applies At Once
- Clear Button Empties Date Filter
- Typed Date After Button Click Waits For Enter
- Range Min Picked Max Typed
- Pick Day In Date Time Popup
- Pick Minute In Time Popup
- Escape In Date Time Popup Keeps Editor
- Range Box In Chips Editor
- Between On Date In Chips Editor
- Range Box In Subheader
- Between On Date In Subheader
- Date Time Range Box In Subheader
- Time Range Box In Subheader
- Mode Swaps Single And Range In Chips Editor
- Mode Swaps Single And Range In Subheader
- Range Typed End Applies On Blur
- Range Escape Applies Ordered Ends
- Range Typed Max Applies On Escape
- Range Typed Max Applies On Escape In Chips Editor
- Range Typed Max Applies On Escape In Popover Filter
- Range Typed Min Applies On Escape With Max Set
- Range Typed Reversed End Applies Ordered On Escape
- Range Typed Reversed End Applies Ordered On Escape Controlled
- Range Typed End Applies On Click Outside
- Range Half Typed End Drops On Escape
- Range Box In Popover Filter
- Width Class Keeps Calendar Button Inside
- Range Box Takes Focus In Chips Editor
- Range Box Takes Focus From Filter Picker
- Range Box Takes Focus In Header Editor
- Range Box Takes Focus From Subheader Button
- Chips Mode Change Resets Range Value
Features/Dense Padding
Features/Detail Panel
- Detail Panel Enabled Semantic
- Detail Panel Enabled Grid
- Detail Panel Enabled Grid No Grow
- Custom Expand Rotation
- Detail Panel Enabled Conditional
- Detail Panel Enabled Conditional Hide
- Detail Panel Single Expand
- Detail Panel Expand Column Last
- Detail Panel Expanded By Default
- Detail Panel Expand All Disabled
- Detail Panel Expand All Disabled Grid
- Detail Panel Expand All Disabled Grid No Grow
- Panel Renders
- Panel Renders Virtualized
- Conditional Panel Disables Empty Row
Features/Editing
- Editing Enabled Edit Mode Modal Default
- Editing Feature Enabled Conditionally
- Editing Enabled Edit Mode Row
- Editing Validation Helper Text
- Editing Enabled Edit Mode Row Custom Save
- Editing Enabled Edit Mode Row Virtualized
- Editing Enabled Edit Mode Cell
- Editing Enabled Edit Mode Cell With Row Actions
- Editing Enabled Edit Mode Table
- Edit Select Variant
- Edit Select Variant Alternate
- Editing Customize Input
- Editing Enabled Async
- Editing Nested Data
- Editing Enabled Edit Mode Table With Grouped Rows
- Enable Editing Conditionally
- Enable Editing Conditionally Cell
- Enable Editing Conditionally Table
- Editing Cell Manual On Change
- Modal Edit Saves
Features/Filter Chips
- Chips Default
- Chips Seeded
- Chips Hidden Column
- Chips Header Editor
- Filter Mode Picker Table Level
- Chips Custom Toolbar
- Chip Editor Keeps Width
- Mode Picker By Default Chips
- Multi Select Array Modes
- Select Clear Beside Chevron
- Range Editor Inputs Fit And Fill Time
- Range Editor Inputs Fit And Fill Date
- Range Editor Inputs Fit And Fill Date Time
- Range Editor Inputs Fit And Fill Number
- Multi Select Opens On Click
- Escape Closes Editor After Select Pick
- Select Chevron At Input End
Features/Filtering
- Filtering Enabled Default
- Chips Display Mode
- Popover Display Mode
- Popover Display Mode No Sorting
- Column Filtering Disabled
- Filtering Disabled
- Filter Highlighting Disabled
- Filter Fn And Filter Variants
- Filter Fn And Filter Variants Faceted
- Subheader: Multi Select Field Controls
- Subheader: Range Slider Custom Bounds
- Filtering Change Mode Enabled
- Subheader: Filter Mode Menu Closes In Place
- Subheader: Filtering Change Mode Enabled Faceted
- Subheader Range Fields Narrow
- Filtering Change Mode Enabled Hidden
- Disable Some Filter Types For Certain Columns
- Filtering Disabled For Certain Columns
- Custom Filter Function Per Column
- Custom Filter Fns
- Custom Filter Component
- Customize Filter Text Fields
- Manual Filtering
- External Set Filter Value
- Initial Filters
- Subheader: Range Filter Min Value
- Mode Picker By Default Subheader
- Mode Picker By Default Popover
- Type Then Clear Filters Stays Cleared
- Subheader: Type Then Enter Applies At Once
- Subheader: Controlled Rerender Keeps Typed Filter
- Subheader: Custom Filter Debounce
Features/Full Screen
- Full Screen Toggle Enabled Default
- Disable Full Screen Toggle
- Default Full Screen On
- Controlled Full Screen
Features/Header Groups
- Header Groups
- Header Groups With Sticky Header
- Header And Footer Groups
- Header Groups With Column Ordering
- Header Groups With Column Pinning
- Header Groups With Colum Resizing
- Header Groups With Colum Resizing Grid
- Header Groups With Semantic Colum Resizing
- Mixed Header Groups
- Deep Mixed Header Groups
- Header Groups With Row Virtualization
- Header Groups With Column Virtualization
- Group Edges Match Leaves
- Group Edges Match Leaves No Grow
Features/Icons
Features/Layout Mode
Features/Loading
- Loading
- Loading 5
- Loading With Progress Bars
- Loading With Progress Bars No Overlay
- Loading With Some Data
- Loading With Selection
- Loading With Detail Panel Example
- Skeleton Display Columns
- Reloading Example
- Only Top Progress Bar
Features/Localization
Features/Nested Table
Features/Pagination
- Pagination Enabled
- Pagination Compact More Data
- Pagination Enabled Big Data
- Pagination Enabled Big Data Language
- Pagination Enabled No Rows Per Page
- Pagination Enabled Customize Rows Per Page
- Pagination Pages Display Mode
- Pagination Pages Display Mode No Pages Per Row
- Custom Pagination Pages Display Mode More Data
- Pagination Disabled Or Overriden
- Pagination Disabled Manual Pagination False
- Pagination Position Bottom
- Pagination Position Top
- Pagination Position Top And Bottom
- Pagination Position Top And Bottom No Internal Actions
- Customize Pagination Components
- Disabled Pagination Components
- Pages Footer Row Range
- Compact Footer
Features/Row Actions
- Row Actions Enabled
- Row Actions Enabled Conditionally
- Row Actions Enabled Conditionally Per Row
- Row Actions And Editing Enabled
- Row Actions And Editing Cell Enabled
- Row Actions First Column
- Custom Row Action Buttons
- Custom Row Action Buttons First Column
- Two Controls Visible
- Row Actions Complete Override
Features/Row Dragging
- Row Dragging Enabled
- Row Dragging Enabled Grid
- Row Dragging Enabled Grid No Grow
- Drag Between Tables
Features/Row Number
- Enable Row Numbers Static
- Numbers Centred
- Enable Row Numbers Conditionally
- Enable Row Numbers Static Grid
- Enable Row Numbers Static Grid No Grow
- Enable Row Numbers Original
- Enable Row Numbers Original Virtual
- Enable Row Numbers Static Virtual
Features/Row Ordering
- Row Ordering Enabled
- Row Ordering With Select
- Row Ordering With Pinning
- Row And Column Ordering
- Row Ordering With Row Virtualization
- Row Ordering With Column Virtualization
- Drop Slides Rows
- Touch Drag Scrolls Page
Features/Row Pinning
- Row Pinning Sticky Default Enabled
- Row Pinning Enabled Conditionally
- Row Pinning Sticky No Pagination
- Row Pinning Sticky Custom Row Height
- Row Pinning Select Sticky Mode
- Row Pinning Select Sticky With Virtualization
- Row Pinning Top And Bottom Mode
- Row Pinning Top Mode
- Row Pinning Select Top Mode
- Row Pinning Bottom Mode
- Row Pinning Select Bottom Mode
- Row Pinning With Sticky Header
- Row Pinning With Grid Layout
- Row Pinning Sticky With Virtualization
- Row Pinning Top With Virtualization
- Row And Column Pinning
Features/Row Pinning On Select
- Shift Range Internal State
- Shift Range Controlled State
- Shift Range External Atom
- Select Top Internal State
- Select Top Controlled State
- Select Top External Atom
- Select Bottom Internal State
- Select Bottom Controlled State
- Select Bottom External Atom
- Select All Page Mode
- Select All All Mode
- Unselect All Clears Hand Pins
- Programmatic Toggle Selected
Features/Search
- Search Enabled Default
- Search Initial State
- Search Initialized State
- Search Contains
- Custom Global Filter Fn
- Search Global Filter Modes
- Search Global Filter Mode Options
- Search Ranked Results Enabled By Default
- Search Disable Ranked Results
- Show Search Right Box By Default
- Show Search Box Left By Default
- Show Search Box Left By Default With Selection
- Just A Search Box
- Search Disabled
- Customize Search Text Box
- Clear Cancels Pending Search
- Searched On Load
Features/Selection
- Selection Enabled
- Checkboxes Align
- Disable Select All
- Selection Enabled Grid
- Selection Enabled Grid No Grow
- Batch Selection Disabled
- Selection Enabled Conditionally
- Selection Enabled Conditionally With Initial
- Selection Enabled With Row Click
- Manual Selection
- Select All Mode All
- Select All Mode All Conditionally
- Select All Mode Page
- Select All Disabled Custom Header
- Single Selection Radio
- Single Selection Radio With Row Click
- Select Checkbox Secondary Color
- Alert Banner Bottom
- Alert Banner Head Overlay
- Custom Alert Banner Head Overlay
- Multi Select Row With Hold Shift
- Checkboxes Align Semantic
Features/Server Data
Features/Sort Popover
Features/Sorting
- Sorting Enabled Default
- Disable Sorting
- Disable Sorting For Specific Columns
- Disable Multi Sorting
- Disable Sorting Removal
- Sort Ranking
- Sorting State Managed
- Clear Sort Stays Cleared
- Sorted On Load
Features/Sub Row Tree
- Sub Row Tree Enabled Default
- Sub Row Tree Layout Grid
- Sub Row Tree Layout Grid No Grow
- Sub Row Tree Enabled Position Last
- Sub Row Tree Enabled Default RTL
- Sub Row Tree Enabled Default RTL And Position Last
- Sub Row Tree Disable Expand All
- Sub Row Tree Filter From Leaf Rows
- Sub Row Tree Max Leaf Row Filter Depth 0
- Sub Row Tree Max Leaf Row Filter Depth 1
- Sub Row Tree Max Leaf Row Filter Depth And Filter From Leaf Rows
- Sub Row Tree With Selection
- Sub Row Tree With Selection No Sub Row Selection
- Sub Row Tree With Single Selection
Features/Table Provider
- Hand Composition
- Controlled Input In Custom Toolbar
- Provider With Two Tables
- Table Swap Without Key
- Portals Read Context
- No Provider Throws
- Option Change After Mount
Features/Toolbar
- Toolbar Enabled Default
- Top Toolbar Hidden
- Bottom Toolbar Hidden
- No Toolbars
- Hide Toolbar Internal Actions
- Custom Toolbar Internal Actions
- Table Title
- Custom Top Toolbar Actions
- Custom Bottom Toolbar Actions
- Custom Top Toolbar Selection Actions
- Custom Bottom Toolbar Selection Actions
- Toolbar Alert Banner Bottom
- Toolbar Alert Banner Bottom With Actions Also Bottom
- Render Custom Top Toolbar
- Render Custom Bottom Toolbar
- Internal Buttons Animate In
- Custom Actions Render
- Custom Actions Follow Selection
Features/View Settings
- View Settings Default
- View Settings Seeded
- View Settings Persisted
- Persistence
- Persistence Keeps Page Index
- Persistence With Display Columns
- Row Numbers Keep Alignment
- Edition Icons Render
Features/Virtualization
- Enable Row Virtualization Dense
- Enable Row Virtualization Comfortable
- Enable Row Virtualization Spacious
- Enable Row Virtualization Tall Content
- Virtualization Conditionally Wont Toggle
- Enable Row Virtualization With Detail Panel
- Enable Row Virtualization Sticky Footer
- Enable Column Virtualization
- Enable Column Virtualization With Pinning
- Enable Column Virtualization Short Columns
- Enable Column Virtualization With Footer
- Enable Column Virtualization Sticky Footer
- Row And Column Virtualization
- Row And Column Virtualization With Features
- Max Virtualization
- Empty Data Virtualization
- Scroll Renders Further Rows
Miscellaneous/Aria Tooltips
Miscellaneous/Callback Refs
- Callback Ref On Provider Container
- Callback Ref On Table Container Props
- Ref Object On Table Container Props
- Virtualized Data Set After Mount
Miscellaneous/Cell Action Menu Edit
Miscellaneous/Filter Editor Focus Ring
Miscellaneous/Filter Popover
- Opens With Input Focused
- Opens With Row Selection
- Empty Mode Chip Clear Has Name
- Funnel Is Clickable
Miscellaneous/Headless Display Column
Miscellaneous/Headless Full Screen
Miscellaneous/Menu Focus Return
Miscellaneous/Menu Openers
Miscellaneous/Modal Exit
Miscellaneous/Multi Select Filter
Miscellaneous/Pagination Disabled
Miscellaneous/Panel Collapse
Miscellaneous/Pinned Items Custom Toolbar
Miscellaneous/RTL
Miscellaneous/Search Field
Miscellaneous/Click Propagation
Miscellaneous/Data Types
Miscellaneous/Dragging Virtual When Filtered
Miscellaneous/App Bar Overlaps With Full Screen Modal
Miscellaneous/Grid Layout
Miscellaneous/Loading Data
- Nested Loading Data With Initial Expanded
- Nested Loading Data With Initial Filter
- Nested Loading Data With Initial Group
- Nested Loading Data With Initial Page
- Nested Loading Data With Initial Sort
- Accessor Key While Loading
Miscellaneous/Mobile Date Pickers
Miscellaneous/Sticky Footer
Miscellaneous/Use Effects
- Filter Modes Refetch
- Filter Options Async
- Edit Options Async
- Render Row Actions Async
- Render Row Action Menu Items Async
- Delayed Faceted Values
- Prevent Unnecessary Pagination Change By Out Of Bounds Check
Styling/Table Alignment
- Default Left
- Default Left Grid
- Right Cells
- Right Cells Grid
- Center Cells
- Center Cells Grid
- Center Cells With Grab Handle
- Center Cells With Grab Handle No Sorting
- Center Cells No Column Actions
- Right Align Number Column
Styling/Caption
Styling/Custom Column Widths
- Custom Widths Semantic
- Custom Widths Grid
- Custom Widths Grid No Grow
- Custom Widths Grid No Grow Individual Grow
- Custom Widths Grid Individual Shrink
- Small Widths Semantic
- Small Widths Grid
- Small Widths Grid No Grow
- Small Widths Grid No Grow Individual Grow
Styling/Custom Table Body
Styling/Default Look
Styling/Render Counts
- Root Skips State Renders
- Hook Selector Skips State Renders
- Hook Selector Follows Transform State
- Columns Hold While Resizing
- Data Replacement
- Controlled Pagination
- Profiled Thousand Rows
- Row Model Follows State
- Controlled Density And Selection
- External Atoms Density And Selection
Styling/Row Height
Styling/Sticky Header
- Sticky Header Disabled Default
- Enable Sticky Header
- Sticky Header Shorter Table
- Disable Sticky Footer
- Enable Sticky Footer
Styling/Styling Display Columns
Styling/Style Table Body Cells
- Default Table Body Cell Styles
- Style All Mui Table Body Cell
- Style Mui Table Body Cell Conditionally In 1 Column
- Custom Cell Render
Styling/Style Table Body Rows
- Default Table Body Row Styles
- Disable Row Hover Effect
- Style Mui Table Body Row
- Style Custom Striped Rows
- Style Custom Striped Rows Detail Panel
- Conditionally Style Mui Table Row
Styling/Table Dimensions
Styling/Style Table Head Cells
- Default Table Head Cell Styles
- Color Sort Icon
- Style All Mui Table Head Cell
- Style Table Head Cells Individually
- Custom Head Cell Renders