21st

Prompt Card

AI chats 6

About

Prompt Card is a product UI animation for Remotion videos. Shows an action and its result inside a product. Plays 4 seconds in 16:9, 9:16 and 1:1, with editable text, colors, fonts and typing speed.

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

Code

How Prompt 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/prompt-card/prompt-card";
import { schema, defaults } from "./video/prompt-card/prompt-card.schema";

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

Dependencies

More by 21st

View all
  • Prism Spectrum List

    Prism Spectrum List

    84
  • Logo Construction Lines

    Logo Construction Lines

    59
  • Polyrhythm Orbits

    Polyrhythm Orbits

    42
  • Live Transaction Alerts

    Live Transaction Alerts

    40
  • Ridgeline Waves

    Ridgeline Waves

    38
  • Shattered Title Assembly

    Shattered Title Assembly

    35
  • Metal Card Reveal

    Metal Card Reveal

    35
  • Galton Board Chart

    Galton Board Chart

    34

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Attachments

    Attachments

    23
  • Message Thread

    Message Thread

    49
  • Memory Scope

    Memory Scope

    3
  • Color Picker

    Color Picker

    118
  • AI Task List

    AI Task List

    169
  • Environment Variables

    Environment Variables

    16