Pace UI

Active Donut Metric Chart

Dashboards 1

About

A donut chart where clicking or hovering a sector or legend pill updates a center metric readout, useful for analytics dashboards comparing shares across categories like browser usage.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Active Donut Metric Chart to your project and fits it to your theme.

Code

How Active Donut Metric Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ActiveDonutMetric from "@/components/ui/tanstack-charts-active-donut-metric";

export default function Demo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <ActiveDonutMetric />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    965
  • Flip Reveal

    Flip Reveal

    669
  • Dot Flow

    Dot Flow

    270
  • Draw Line Text

    Draw Line Text

    120
  • Liquid Glass

    Liquid Glass

    63
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    47
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    16

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    141
  • serf dashboard

    serf dashboard

    100
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.2K
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    585
  • Glass Smart Home Dashboard

    Glass Smart Home Dashboard

    30
  • Stat Card

    Stat Card

    87