segmented-thumb-hero
Shot recipes · A whole scene · Apache-2.0
- What it does
An oversized segmented control gets a close-up: a cursor slides in, presses, and the white thumb snaps to the other segment as icons swap with a spring.
- Get it
Copy demos/interaction/segmented-thumb-hero/SegmentedThumbHero.tsx into a Remotion project with demos/_fixtures/Fixtures.tsx, demos/_fixtures/Polish.tsx; fix the import paths; then <Composition id="SegmentedThumbHero" component={SegmentedThumbHero} durationInFrames={SEGMENTED_THUMB_HERO_DURATION} fps={30} width={1920} height={1080} />. With the skill installed, say: "use the segmented-thumb-hero shot card". Read the card first: references/shots/interaction/segmented-thumb-hero.md.
- Needs (the whole pack)
Remotion 4 and React 19, and FFmpeg for its checks. No Tailwind, no CSS files, no web fonts.
- Re-skin
Edit the file (colors, text)
No props. It uses no named look: about 4 color values are written in the demo. Fonts come from the shared fixture files (FONT in Polish.tsx, type() in Look.tsx). Words are written in the demo.
- License
Apache-2.0
- From