Radar Compare
A radar polygon for Remocn grows over a competitor outline next to the name and tagline. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/radar-compareUsage
// src/Root.tsx
import { Composition } from "remotion";
import { RadarCompare } from "@/components/remocn/radar-compare";
const RadarCompareScene = () => (
<RadarCompare
axes={["Speed", "Docs", "Price", "Support", "Polish", "Fit"]}
brandLabel="remocn"
caption="Strong on every axis."
/>
);
export const RemotionRoot = () => (
<Composition
id="RadarCompare"
component={RadarCompareScene}
durationInFrames={330}
fps={60}
width={1280}
height={720}
/>
);A radar grid appears and the competitor outline draws and fills. The brand polygon then springs out axis by axis over it, the chart slides left and the brand name, competitor name and a caption appear on the right. Pass axes with matching competitor and brand values from 0 to 1, plus brandLabel, competitorLabel and caption. It ships light and dark through the theme prop.
Props18
| Prop | Type | Default |
|---|---|---|
| axes | string[]DEFAULT_AXES Axis names around the radar. Up to eight are used, minimum three. | |
| competitor | number[]DEFAULT_COMPETITOR Competitor values from 0 to 1, one per axis. | |
| brand | number[]DEFAULT_BRAND Brand values from 0 to 1, one per axis. | |
| brandLabel | string"remocn" Name of your product in the side panel. | |
| competitorLabel | string"Kitebase" Name of the competitor in the side panel. | |
| caption | string— Optional line of text under the names. | |
| stagger | number1.8 Frames between brand vertices growing out. | |
| rings | number4 Number of grid rings. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| accent | string"#3B5BFD" Highlight colour of the brand polygon. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Sans" Typeface for the copy. Load the font in your project first. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| grain | booleantrue Film grain over the scene. | |
| theme | "dark" | "light""dark" Ships light and dark. | |
| speed | number1 Playback speed multiplier; 1 is the designed pace. | |
- axesstring[]
Axis names around the radar. Up to eight are used, minimum three.
Default
DEFAULT_AXES - competitornumber[]
Competitor values from 0 to 1, one per axis.
Default
DEFAULT_COMPETITOR - brandnumber[]
Brand values from 0 to 1, one per axis.
Default
DEFAULT_BRAND - brandLabelstring
Name of your product in the side panel.
Default
"remocn" - competitorLabelstring
Name of the competitor in the side panel.
Default
"Kitebase" - captionstring
Optional line of text under the names.
- staggernumber
Frames between brand vertices growing out.
Default
1.8 - ringsnumber
Number of grid rings.
Default
4 - logoReact.ReactNode
Replaces the remocn mark.
- accentstring
Highlight colour of the brand polygon.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Instrument Sans" - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Ships light and dark.
Default
"dark" - speednumber
Playback speed multiplier; 1 is the designed pace.
Default
1