npx skills add ...
npx skills add fefogarcia/approved-skills --skill tremor-design-system
Build dashboards, analytics interfaces, and data-rich UIs using the Tremor design system (React + Tailwind CSS + Recharts). Use when the user asks to create dashboard components, KPI cards, charts, data tables, analytics pages, monitoring interfaces, or any data visualization UI that should use Tremor. Triggers include mentions of "Tremor", "tremor.so", "@tremor/react", requests for dashboard UIs with charts and tables, or when the user's project already uses Tremor components. Supports both Tremor Raw (copy-and-paste, tremor.so) and Tremor NPM (@tremor/react) versions. Do NOT use for general frontend work unrelated to dashboards or data visualization, or when the user explicitly requests a different component library.
npx skills add fefogarcia/approved-skills --skill tremor-design-system
Build production-grade dashboards and analytics interfaces using Tremor's React component library.
Tremor has two distribution models. Detect which the user's project uses before writing code:
Tremor Raw (tremor.so) — Copy-and-paste components into src/components/
import { AreaChart } from "@/components/AreaChart"Tremor NPM (npm.tremor.so) — NPM package @tremor/react
import { AreaChart, Card } from "@tremor/react"text-tremor-content, dark:text-dark-tremor-content)If unclear, ask the user. Default to Tremor Raw for new projects, as it is the actively developed version (acquired by Vercel in Jan 2025).
package.json, or ask<Card>. KPIs, charts, tables, and forms all sit inside cards.grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6) for responsive dashboard layouts. Never hardcode widths.index prop selects the x-axis key; categories selects the data series.valueFormatter for charts displaying currency, percentages, or units. Use Intl.NumberFormat for numbers.dark: prefixes. For NPM, use dark-tremor-* tokens."use client".| Use Case | Component |
|---|---|
| Trends over time | AreaChart or LineChart |
| Category comparison | BarChart |
| Part-of-whole | DonutChart |
| Rankings | BarList |
| Budget/threshold | CategoryBar |
| Combined metrics | ComboChart (bar + line) |
| Inline sparkline | SparkAreaChart, SparkLineChart, SparkBarChart |
| Progress toward goal | ProgressBar, ProgressCircle |
| Uptime/status history | Tracker |
Intl.NumberFormat("us") for US number formatting(n) => \$${Intl.NumberFormat("us").format(n)}``(n) => \${n}%``(n) => \${Intl.NumberFormat("us", { notation: "compact" }).format(n)}``