Skip to content
MoonUIMoonUI
ComponentsTemplatesPricing
Sign inGet started

Getting started

  • Introduction
  • Installation
  • CDN
  • Authentication
  • shadcn CLI
  • MCP Server
  • Usage

Components

Foundation25 components
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Button
  • Button Group
  • Checkbox
  • File Upload
  • Input
  • Kbd
  • Label
  • Radio Group
  • Rating
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle
  • Toggle Group
  • Separator
  • Tags Input
  • Color Picker
  • Date Picker
  • Simple Editor
  • Input OTP
Layout10 components
  • Accordion
  • Breadcrumb
  • Card
  • Carousel
  • Collapsible
  • ResizablePro
  • Scroll Area
  • StepperPro
  • Table
  • Tabs
Navigation & Overlays11 components
  • Alert DialogPro
  • Command
  • Context MenuPro
  • Dialog
  • Dropdown Menu
  • Hover CardPro
  • MenubarPro
  • Pagination
  • Popover
  • SheetPro
  • Tooltip
Feedback4 components
  • Progress
  • Skeleton
  • Spinner
  • Toast
Data & Analytics4 components
  • Data TablePro
  • Advanced ChartPro
  • DashboardPro
  • WidgetsPro
Navigation4 components
  • Command AI+Pro
  • SidebarPro
  • NavbarPro
  • Navigation MenuPro
AI Chat4 components
  • MessagePro
  • Message ScrollerPro
  • AttachmentPro
  • Conversation MarkerPro
Content Management6 components
  • Advanced FormsPro
  • Form WizardPro
  • Quiz FormPro
  • Credit Card InputPro
  • Phone Number InputPro
  • Rich Text EditorPro
Project Management3 components
  • KanbanPro
  • TimelinePro
  • CalendarPro
Performance & Utility8 components
  • Virtual ListPro
  • Memory Efficient DataPro
  • Lazy ComponentPro
  • Optimized ImagePro
  • Performance MonitorPro
  • Performance DebuggerPro
  • Error BoundaryPro
  • Health CheckPro
Interactive & Animation15 components
  • Animated NumberPro
  • Floating DockPro
  • Text RevealPro
  • Image ComparePro
  • Splash CursorPro
  • GitHub StarsPro
  • Animated ButtonPro
  • Magnetic ButtonPro
  • Magnetic ElementsPro
  • Mouse TrailPro
  • Hover Card 3DPro
  • Spotlight CardPro
  • Floating Action ButtonPro
  • LightboxPro
  • Media GalleryPro
Gesture & Touch7 components
  • Swipeable CardPro
  • Draggable ListPro
  • Pinch ZoomPro
  • Swipe ActionsPro
  • Gesture DrawerPro
  • Click AnimationsPro
  • Touch GesturesPro
Text Animations12 components
  • Text HighlighterPro
  • Typewriter TextPro
  • Scrambled TextPro
  • Word RotatePro
  • Morphing TextPro
  • Flip TextPro
  • Number TickerPro
  • Glitch TextPro
  • Shiny TextPro
  • Wavy TextPro
  • Gradient TextPro
  • Text 3DPro
Animations12 components
  • Animated ListPro
  • Bounce EffectPro
  • Blur FadePro
  • Elastic AnimationPro
  • MarqueePro
  • Parallax ScrollPro
  • Reveal CardsPro
  • Scroll RevealPro
  • Fade TransitionsPro
  • Focus TransitionsPro
  • Path AnimationsPro
  • SVG AnimationsPro
Layouts1 components
  • Bento GridPro
Effects9 components
  • ConfettiPro
  • Cursor TrailPro
  • Glow EffectPro
  • Pixel ImagePro
  • Neon EffectPro
  • ShimmerPro
  • RipplePro
  • SparklesPro
  • SpotlightPro
Backgrounds17 components
  • Grid PatternPro
  • MeteorsPro
  • Aurora BackgroundPro
  • ParticlesPro
  • StarfieldPro
  • Dot PatternPro
  • Grid DistortionPro
  • WavesPro
  • Matrix RainPro
  • Liquid BackgroundPro
  • Mesh GradientPro
  • Glitch BackgroundPro
  • Gradient FlowPro
  • Floating ElementsPro
  • Bubble BackgroundPro
  • Geometric PatternsPro
  • Code SnippetsPro
Special UI1 components
  • Glow CardPro
Showcase8 components
  • iPhone MockPro
  • Android MockPro
  • Safari MockPro
  • GlobePro
  • Dotted MapPro
  • Icon CloudPro
  • Tweet CardPro
  • File TreePro

Advanced

  • Theming
  • Customization
  • CLI
  • Help & Support
  1. Docs
  2. Components
  3. Data Table

Data Table

Free + Pro

Powerful data table component with basic and advanced features. Free version includes sorting, filtering, and pagination. Pro version adds export, row selection, bulk actions, and more.

Pro

What Pro adds to Data Table

The free data table is MIT-licensed. The Pro version builds on it with:

  • Advanced filtering & search
  • Export to CSV, JSON, Excel
  • Row selection & bulk actions
See pricing

Pro features

What the Pro version adds to this component.

  • Advanced Data Handling

    Handle large datasets with client and server-side (manual) pagination, memoized rows, and optimized re-rendering for smooth performance

  • Smart Filtering & Search

    Quick filters, faceted filters with counts, enum auto-detection, and custom filter value accessors for complex data

  • Flexible Sorting

    Three-state column sorting (ascending, descending, none) with a custom sort handler and controllable sorting state

  • Column Management

    Column visibility controls to show or hide any column on demand, with per-column filter metadata

  • Export Functionality

    Export table data to CSV, JSON, and Excel (XLSX) formats with optional custom export handlers

  • Row Expansion

    Expandable rows with nested tables, detail views, and custom expansion content

Installation

Install via CLI

npx @moontra/moonui-cli add data-table

Usage

Basic Usage

Pro required
Name
Email
Role
John Doejohn.doe@example.comAdmin
Jane Smithjane.smith@example.comEditor
Bob Johnsonbob.johnson@example.comUser
3 row(s)
Page 1 of 1

Pro Usage

Pro
Pro required

Examples

Basic Table

Simple data table with sorting and pagination

With Search

Data table with global search functionality

Pro
Pro examples

Advanced Features

Pro

Data table with export, row selection, and advanced filtering

Pro required

Sorting and Filtering

Pro

Table with sorting and filtering features

Pro required

Row Selection with Callbacks

Pro

Table with multi-row selection, onRowSelect callback, and bulk actions

Pro required

Pagination

Pro

Large dataset with pagination feature

Pro required

Advanced Features

Pro

Table with export functionality (CSV, Excel, PDF) and all features

Pro required

Advanced Filtering

Pro

Table with filter drawer/sidebar

Pro required

Custom Cells

Pro

Customized cell renderers

Pro required

Quick Filters

Pro

Dropdown filters for quick access to common filter options

Pro required

Faceted Filters

Pro

Advanced filtering with counts and multi-select

Pro required

Row Expansion

Pro

Expandable rows with a controlled expanded set — enableExpandable injects the expander column automatically, renderSubComponent renders the detail panel, and expandedRows/onRowExpandChange keep the state in your hands

Pro required
Previous
Toast
Next
Advanced Chart
Pro
MoonUIMoonUI

168 React components. 45 free under MIT, 123 Pro.

Unsubscribe anytime.

Product

  • Components
  • Templates
  • Pricing

Resources

  • Documentation
  • GitHub
  • Support

Legal

  • Privacy
  • Terms
  • Refund Policy
Made by Moontra Software
  • X
  • LinkedIn
  • GitHub
  • YouTube