Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Radar Chart Capability Trio Features Block for React

One large radar of five axes with the previous release dashed and the latest run solid, three suite tabs that cross-fade the polygons, and a list of every axis score and how far it moved.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A radar-chart features section for React with Base UI. One large radar scores a model on five axes (accuracy, latency, cost, safety, coverage), with the previous release as a dashed outline and the latest run as a solid, lightly filled one. Three tabs (Chat, Code, Agents) swap the suite: the polygons cross-fade in place, and beside the chart a list gives every axis its score and how far it moved since the release before. The radar sits in a framed figure on the start side and the tabs and scores on the end side, with one solid divider between them; below lg the tabs come first, then the radar, then the scores. The polygons are computed from the scores, so there is no chart library. It's built from Tabs, Data List, Badge and Guides, and it follows your theme. For model evaluations, benchmarks, scorecards and any comparison of a few things on the same few axes.

FAQ

How do I change the suites, axes and scores?

Edit AXES and SUITES at the top of the file: each suite has its name, a sentence and two lists of scores out of 100, before and now, one per axis in the order of AXES. The rings, spokes, polygons, label positions and the deltas in the list are all derived from those, by small functions. For a different number of axes, add or remove a label and a score in each suite; the geometry follows.

How is the radar drawn?

In SVG, in a 100 by 100 box, with no chart library: each polygon's points come from the scores by simple trigonometry at module scope. The outlines keep their pixel width at any size, and the axis labels are real text positioned in percent, so they stay readable on a phone while the chart scales. The three suites' polygons are drawn together and only the chosen one is visible.

How do keyboards and screen readers get on?

The tabs are a real tab list: arrow keys move between suites. The chart is decoration and is hidden; its facts are in the list beside it, where each axis has its score and its change ("Accuracy 88, plus 4"), and in the caption, which says the scores are out of 100 and higher is better. Both the dashed and solid keys are text.

Why is higher always better, even for latency and cost?

So the shapes are comparable: the radar is easy to read only when a bigger polygon means a better one on every axis. Latency and cost are scored so that faster and cheaper score higher. If your axes have real units, show them in the list and keep the radar's scores normalised like this.

Does the chart mirror in right-to-left languages?

No: a chart keeps its axes in order, so the figure is dir="ltr". The tabs, the list and the caption follow the page's direction, and the changes are written with a true plus or minus sign so they read the same way.

How does it fit on a phone?

The tabs come first, then the radar, scaled to the screen's width, then the scores. The chart's labels keep their size, and the scores sit one per row with a hairline between them.

  • Pro

    Gauge Cluster Features

    Metrics and charts

    Three semicircle gauges in one framed band, driven by a single "Simulate load" slider: CPU, memory and queue wait, each with a needle, an arc, a reading and a state.

  • Pro

    A 24 by 12 traffic density grid in a framed figure with a legend, three numbered callout cells, and the callouts described beside it, for a traffic observability tool.

  • Pro

    A metrics console in a card in a card that follows your theme: six metric tiles with a value, a signed change and a sparkline are the tabs of one tablist, and choosing one opens a larger chart of its series in a strip below.

  • Pro

    A job-queue dashboard drawn as a window in a hairline frame: a range control in its title bar re-draws the throughput line and re-reads the uptime and outcome figures, beside a seven-bar week.

  • Pro

    Radar Chart Pricing

    Charts and figures

    Three database plans, each led by a radar chart of six capability scores that shows the plan's shape at a glance, over its price, call to action and real limits. A snap carousel on phones.

  • Pro

    A CI pipeline drawn as five stages joined by chevrons, each with its time and status, over a band that measures the pipeline's impact with rolling numbers.