Toolbar Unfurl
A round tap button unfurls into a four-tool strip while captions name each tool, ending on a final line. A free, MIT-licensed Remotion UI block.
$ pnpm dlx shadcn@latest add @remocn/toolbar-unfurlUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ToolbarUnfurl } from "@/components/remocn/toolbar-unfurl";
const ToolbarUnfurlScene = () => (
<ToolbarUnfurl
accent="#3B5BFD"
lines={["Leave a note.", "Sketch the shot.", "Type on the frame.", "Select any layer."]}
finalLine="Every tool, one tap away."
/>
);
export const RemotionRoot = () => (
<Composition
id="ToolbarUnfurl"
component={ToolbarUnfurlScene}
durationInFrames={300}
fps={60}
width={1280}
height={720}
/>
);A cursor taps a round accent button that unfurls into a four-tool strip, hopping from tool to tool while a caption names each one. The strip then retracts and the finalLine lands. Pass your own lines (up to four captions, one per tool) and finalLine; it ships light and dark through theme.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props14
| Prop | Type | Default |
|---|---|---|
| theme | "dark" | "light""dark" Color scheme. Ships light and dark. | |
| accent | string"#3B5BFD" Color of the selection disc. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| lines | string[]— Captions shown for each tool, up to four. | |
| finalLine | string"Every tool, one tap away." Closing line shown after the toolbar retracts. | |
| fontFamily | string"Figtree" Typeface for the copy. Load the font in your project first. | |
| fontWeight | number300 Weight of the captions. | |
| cursor | booleantrue Show the cursor that clicks through the tools. | |
| ground | GshPresetId— Shader preset id for the animated background. | |
| groundParams | Partial<GradientParams>— Partial shader parameters that override the ground preset. | |
| 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. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
- theme"dark" | "light"
Color scheme. Ships light and dark.
Default
"dark" - accentstring
Color of the selection disc.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- linesstring[]
Captions shown for each tool, up to four.
- finalLinestring
Closing line shown after the toolbar retracts.
Default
"Every tool, one tap away." - fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Figtree" - fontWeightnumber
Weight of the captions.
Default
300 - cursorboolean
Show the cursor that clicks through the tools.
Default
true - groundGshPresetId
Shader preset id for the animated background.
- groundParamsPartial<GradientParams>
Partial shader parameters that override the ground preset.
- 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 - speednumber
Playback speed multiplier for the whole timeline.
Default
1