Welcome to Oshon · v1.0  ·  Now in public beta for enterprise teams Read the launch notes

Charts

Five widget components for SaaS dashboards — built on Recharts + Oshon tokens. Series + axis + grid colors derive from your three brand seeds via three-seed theming, so changing your primary color re-tints every chart in a single DOM write.

Quick install

import { WidgetMetric, WidgetDonutChart, WidgetGroupedBarChart, WidgetTrackingItem, WidgetTrendList } from '@oshon-ai/components';

Theming

Charts read CSS custom properties from @oshon-ai/tokens. Changing your three brand seeds via applyTheme() automatically restyles:

  • Primary series (default series in single-series charts) → var(--oshon-color-primary-500)
  • Secondary + tertiary series (multi-series charts) → var(--oshon-color-secondary-500), tertiary-500
  • Grid + axis lines → var(--oshon-color-neutral-300)
  • Tooltip surfaces → var(--oshon-color-surface) (auto-inverts in dark mode)

Want a fourth or fifth series color? Pull from any neutral shade or extend the palette in your custom-token bridge — see the Theming page for the full token catalog.

Need a custom chart?

These 5 widgets cover ~80% of SaaS dashboard needs. For custom visualizations — financial candles, geo maps, treemaps, Sankey diagrams — bring Recharts directly into your project and style with the same var(--oshon-color-primary-500) custom properties Oshon uses internally. Our Custom Services tier also includes bespoke chart development if you'd rather have us build them.