Balance Beam
A seesaw tips as one Remocn block outweighs a pile of hours, tools and revisions
$ pnpm dlx shadcn@latest add @remocn/balance-beamUsage
// src/Root.tsx
import { Composition } from "remotion";
import { BalanceBeam } from "@/components/remocn/balance-beam";
const BalanceBeamScene = () => (
<BalanceBeam
items={["$4,800", "62 hours", "3 tools", "9 revisions"]}
accentLabel="remocn"
title="One block."
subtitle="Outweighs the whole stack."
/>
);
export const RemotionRoot = () => (
<Composition
id="BalanceBeam"
component={BalanceBeamScene}
durationInFrames={175}
fps={30}
width={1280}
height={720}
/>
);Blocks labeled with costs drop one by one onto a seesaw and weigh it down, then the hero block lands on the other side and tips the beam while the title and subtitle fade in. Pass items (up to eight labels), accentLabel for the hero block, and title and subtitle. Ships dark and light via theme.
Props7
| Prop | Type | Default |
|---|---|---|
| items | string[]— Labels for the pile of blocks, up to eight. | |
| accentLabel | string"remocn" Text on the hero block; Remocn draws the logo. | |
| title | string"One block." Headline shown after the beam tips. | |
| subtitle | string"Outweighs the whole stack." Line under the headline. | |
| accent | string"#3B5BFD" Accent color for the hero element. | |
| theme | "dark" | "light""dark" Dark or light palette. | |
| speed | number1 Playback multiplier. | |
- itemsstring[]
Labels for the pile of blocks, up to eight.
- accentLabelstring
Text on the hero block; Remocn draws the logo.
Default
"remocn" - titlestring
Headline shown after the beam tips.
Default
"One block." - subtitlestring
Line under the headline.
Default
"Outweighs the whole stack." - accentstring
Accent color for the hero element.
Default
"#3B5BFD" - theme"dark" | "light"
Dark or light palette.
Default
"dark" - speednumber
Playback multiplier.
Default
1