React Feature Guide

React Data Grid with CSV Export

TinyPivot for React includes CSV export as a standard free-tier feature. Users can download the current grid view to a CSV file without additional configuration — filters and sort order applied in the grid are reflected in the output.

CSV export in the free tier

TinyPivot ships a CSV export button in the grid toolbar at no cost. No plugin, extra package, or configuration is required — install the component, pass your data, and the export action is immediately available to users.

The export reflects the current view. If the user has filtered the data or sorted a column, the downloaded CSV contains the filtered and sorted rows rather than the raw unfiltered dataset.

Install TinyPivot for React

Install @smallwebco/tinypivot-react, import the DataGrid component and its stylesheet, then pass an array of flat objects to the data prop. Column definitions are derived automatically from your object keys — a minimal integration requires no schema.

The React bundle is approximately 40 KB gzipped. TinyPivot has no mandatory runtime dependencies beyond React itself.

What else the free tier includes

CSV export is one part of a broader free analytics workflow. The free tier also includes sorting, filtering, full-text search, pagination, column resize, calculated fields, Sum aggregation with row and column totals, and 22 built-in themes.

  • Sort, filter, and search any array of records
  • Sum aggregation with row and column totals in the pivot view
  • Calculated fields for derived metrics such as margin or growth rate
  • Column resize and 22 built-in themes including dark variants

Styled XLSX export with Pro

If your users need a formatted spreadsheet rather than a plain CSV, TinyPivot Pro includes styled XLSX export. The output preserves column formatting and is compatible with Excel, Google Sheets, and Numbers.

Pro is a one-time perpetual purchase — not a subscription. Licenses are available at three tiers: Single ($49), Unlimited ($149), and Team ($399). One license covers both the React and Vue packages.

When to upgrade from CSV to XLSX

CSV export works well for straightforward tabular data transfers. Styled XLSX export is the better choice when users expect formatted output, when column types matter for downstream processing, or when a polished download is part of the product experience.

Pro also unlocks advanced aggregations, a drag-and-drop chart builder, pivot drill-through, session persistence, and an optional BYOK AI Data Analyst — all from the same component.

Try TinyPivot in your framework

Both packages expose the same product behavior and include TypeScript support.

React

pnpm add @smallwebco/tinypivot-react

Vue 3

pnpm add @smallwebco/tinypivot-vue

Start free. Upgrade when your analytics surface grows.

Free pivot tables for React and Vue 3, with lifetime Pro licensing for advanced features.

Open the Demo