Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

4.0 KB
Raw Blame
---
title: Word Burst Cards
description: "A headline bursts word by word into floating cards and photos, then the logo and caption land."
component: word-burst-cards
vibe: premium
length: 80
useWhen:
  - "An everything-you-built beat where many screens or photos explode outward from a line of text."
  - "A feature roundup that should feel like a burst of product shots."
  - "A closer where the logo and a caption settle after the cards fly past."
avoidWhen:
  - "A handful of photos should gather beside the logo instead — use `photo-halo`."
  - "You have no imagery and just need a text reveal — use `spell-out`."
  - "You want a quiet logo end card — use `first-light`."
askedAs:
  - "headline exploding into cards"
  - "text bursting into photos"
  - "I want a line of text to burst word by word into floating screens and images"
  - "everything we built beat: many visuals fly out from the headline then the logo lands"
  - "feature recap opener with a collage of cards and a caption"
  - "floating cards collage reveal"
---

<ComponentPreview name="word-burst-cards" />

<InstallBlock name="word-burst-cards" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { WordBurstCards } from "@/components/remocn/word-burst-cards";

const WordBurstCardsScene = () => (
  <WordBurstCards
    line="Every screen you built, in motion"
    caption="Launch films from your product"
    images={["https://example.com/a.jpg", "https://example.com/b.jpg"]}
  />
);

export const RemotionRoot = () => (
  <Composition
    id="WordBurstCards"
    component={WordBurstCardsScene}
    durationInFrames={126}
    fps={30}
    width={1280}
    height={720}
  />
);
```

The headline sits centred, then its words burst outward while cards and photos spread through 3D space; the logo and caption land last. Pass `line`, `caption` and `images` (your own URLs; the default photos only exist in the Remocn repo). `reverse` plays the whole timeline backwards and `showLogo` toggles the mark. Ships light and dark.

The ground is a live gradients.sh shader (`GshGround`), installed with the component as `@remocn/gsh`. Pick another look with the `ground` preset prop.

<PropsTable title="Props"
  rows={[
    {
      name: "line",
      type: "string",
      default: "\"Every screen you built, in motion\"",
      description: "Headline whose words burst outward.",
    },
    {
      name: "caption",
      type: "string",
      default: "\"Launch films from your product\"",
      description: "Small line that appears under the logo at the end.",
    },
    {
      name: "images",
      type: "string[]",
      default: "DEFAULT_IMAGES",
      description: "Photos used on the cards; URLs or staticFile paths.",
    },
    {
      name: "accent",
      type: "string",
      description: "Accent colour for the mark and highlights; any CSS colour.",
    },
    {
      name: "ink",
      type: "string",
      description: "Text colour; overrides the theme default.",
    },
    {
      name: "theme",
      type: "\"dark\" | \"light\"",
      default: "\"dark\"",
      description: "Dark or light palette and ground.",
    },
    {
      name: "ground",
      type: "GshPresetId",
      description: "Shader preset id for the gradients.sh background ground.",
    },
    {
      name: "groundParams",
      type: "Partial<GradientParams>",
      description: "Custom shader parameters for the ground, used instead of the theme default.",
    },
    {
      name: "reverse",
      type: "boolean",
      default: "false",
      description: "Play the timeline backwards so the burst collapses.",
    },
    {
      name: "burstAt",
      type: "number",
      default: "BEAT.burst",
      description: "Frame at which the burst starts; the logo and caption shift with it.",
    },
    {
      name: "showLogo",
      type: "boolean",
      default: "true",
      description: "Show the Remocn logo and caption after the burst.",
    },
    {
      name: "seed",
      type: "number",
      default: "3",
      description: "Number that changes the random card layout.",
    },
  ]}
/>