21st

Diff Card

AI chats 5

About

Diff Card is a code animation for Remotion videos. Explains commands, code changes and developer workflows. Plays 3.7 seconds in 16:9, 9:16 and 1:1, with editable text, colors, fonts and language.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Diff Card to your project and fits it to your theme.

Code

How Diff Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// Built with Remotion - https://remotion.pro/license
import { Composition } from "remotion";
import { Component } from "./video/diff-card/diff-card";
import { schema, defaults } from "./video/diff-card/diff-card.schema";

export const DiffCardComposition = () => (
  <Composition
    id="diff-card"
    component={Component}
    schema={schema}
    defaultProps={defaults}
    durationInFrames={110}
    fps={30}
    width={1920}
    height={1080}
  />
);

Dependencies

More by 21st

View all
  • Prism Spectrum List

    Prism Spectrum List

    131
  • Logo Construction Lines

    Logo Construction Lines

    100
  • Polyrhythm Orbits

    Polyrhythm Orbits

    74
  • Live Transaction Alerts

    Live Transaction Alerts

    58
  • Ridgeline Waves

    Ridgeline Waves

    57
  • Shattered Title Assembly

    Shattered Title Assembly

    51
  • Differential Growth

    Differential Growth

    50
  • Galton Board Chart

    Galton Board Chart

    50

More in AI chats

View all
  • AI Actions

    AI Actions

    348
  • Aquarium Prompt

    Aquarium Prompt

    89
  • Chat Bubble

    Chat Bubble

    202
  • Commit

    Commit

    36
  • Retrieved Chunks

    Retrieved Chunks

    3
  • Color Picker

    Color Picker

    188
  • Illos Knowledge Sources

    Illos Knowledge Sources

    49
  • Environment Variables

    Environment Variables

    27