Updated
Orbit Radar
ProCustomize
Shapes2
Axes6
Max100
Accent
Installation
ProOrbit Radar is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/orbit-radar
Loading your installation…
Usage
import { OrbitRadar } from "@/components/uibrik/orbit-radar/orbit-radar";const axes = ["Speed", "Reliability", "Security", "Support", "Value", "Scale"];const sets = [ { key: "us", label: "Ours", values: [88, 92, 84, 76, 70, 90] }, { key: "them", label: "Competitor", values: [64, 78, 90, 58, 82, 60] }, // …1 more];<OrbitRadar title="Product scorecard" max={100} accent="" axes={axes} sets={sets} format={{}} onActiveChange={(index) => {}}/>Where to use Orbit Radar
Skills and scores
Smooth shapes compare several dimensions at once, like skills or product ratings.
Player or product stats
Shapes morphing as you switch sets make comparisons between items clear.
Assessments
Spokes waking under the pointer let users read exact values on any axis.
Props
OrbitRadar- title
- Type string
- "Product scorecard"
- Names what is plotted.
- max
- Type number
- 100
- Value at the outer ring.
- accent
- Type string
- ""
- First shape colour. Empty uses the chart palette.
- axes
- Type string[]
- –
- One name per spoke, 3 to 8, clockwise from the top.
- sets
- Type { key: string; label: string; values: number[]; color?: string }[]
- –
- The shapes to draw, each with a value per axis.
- format
- Type Intl.NumberFormatOptions
- {}
- Formats every number.
- onActiveChange
- Type (index: number | null) => void
- –
- Called with the axis under the cursor.
- className
- Type string
- –
- Classes for the outer shell.