TinyPivot UI · React & Vue 3
The grid, pivots and charts, inside your app.
The same engine as the MCP server, as a component. Excel-like grid, free pivot tables and charts, and an optional AI analyst. One-time licenses, no per-seat pricing.
pnpm add @smallwebco/tinypivot-vueLive demo · 10,000 rows
Click Pivot, Chart or AI. Every Pro feature is unlocked here.
Loading 10,000 rows…
Quick start
Install, import, pass your rows.
Same API in both packages. No peer dependencies beyond Vue.
pnpm add @smallwebco/tinypivot-vue<script setup lang="ts">
import { DataGrid } from '@smallwebco/tinypivot-vue'
import '@smallwebco/tinypivot-vue/style.css'
const rows = [/* your data */]
</script>
<template>
<DataGrid :data="rows" :show-pivot="true" />
</template>What's included
Most of it is free.
- Bar
- Stacked bar
- Line
- Area
- Pie
- Donut
- Excel-like gridSort, filter, search (Ctrl+F), resize, paginate, copy cells.Free
- Pivot tableDrag-and-drop pivots with sum, totals and collapsible groups.Free
- Calculated fieldsFormulas like margin or growth rate, no backend changes.Free
- Core chartsBar, stacked bar, line, area, pie and donut from any pivot.Free
- CSV exportOne click, custom filename.Free
- ThemesLight, dark, auto and 10 colour families.Free
- Advanced pivots9+ aggregations and drill-through to source rows.Pro
- Excel exportFormatted .xlsx output.Pro
- AI Data AnalystPlain-English questions with your own model key.Pro
AI Data Analyst · Pro
Let your users ask the data.
- Bring your own key. OpenAI, Anthropic or OpenRouter. You control the model and the bill.
- Data stays with you. Nothing passes through TinyPivot servers. SQL runs in DuckDB WASM or against your own Postgres.
- Validated SQL. Questions become checked SQL, then a pivot or chart your users can keep exploring.
<script setup lang="ts">
import { DataGrid, setLicenseKey } from '@smallwebco/tinypivot-vue'
import '@smallwebco/tinypivot-vue/style.css'
setLicenseKey('YOUR_LICENSE_KEY')
const aiAnalyst = {
enabled: true,
endpoint: '/api/tinypivot', // your server handler
aiModelName: 'Claude Sonnet',
persistToLocalStorage: true,
}
</script>
<template>
<DataGrid :data="rows" :ai-analyst="aiAnalyst" />
</template>In production
Teams that ship self-serve analytics.
TinyPivot has been a great addition to our analytics platform, giving our customers intuitive, interactive data grid and pivot table capabilities without the overhead of building our own solution. Small Web Co has been incredibly responsive — actively listening to our use cases and shipping improvements quickly. It’s a high-quality, well-maintained library that delivers real value at a fraction of the cost of alternatives.
Thank you so much! We found Brice to be a highly skilled, meticulous, and helpful developer. We had the opportunity to use TinyPivot, which enabled our colleagues to generate and view analytics on orders, website traffic, and performance independently, without placing a strain on the company’s IT team. We even made modifications to the plugin to suit our specific needs.
Amazing plugin. I found it very easy to work with — it looks sleek and fits properly with Vuetify in terms of UI. We were looking into having better reporting on our system, and this plugin landed from heaven to aid the developers’ work. The fact that you can have pivot tables, graphs, and an export tool makes our managers’ life way easier when building reports.