A primary shape over a comparison on a hexagonal scale, both growing from the centre, with axis chips and a dumbbell table under the chart so every value can be read.
pnpm dlx shadcn@latest add @beautiful-ui-pro/radar-chartNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
import { RadarChart } from "@/components/ui/notchset/radar-chart";
const axes = ["QUALITY", "SPEED", "COST", "TOOL USE", "SAFETY", "CITATIONS"];
export function ModelCompare() {
return <RadarChart axes={axes} primary={{ label: "ATLAS 3 FLASH", short: "FLASH", values: [89, 92, 95, 84, 94, 86] }} compare={{ label: "ATLAS 2", values: [81, 58, 40, 75, 92, 79] }} />;
}axes–
string[]Clockwise from the top.
primary / compare–
{ label, short?, values }The two shapes.
max–
numberScale top (default 100).
components/ui/notchset/radar-chart.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.