21st

Cursor Drag

Cards 5

About

Cursor Drag is a product UI animation for Remotion videos. Shows an action and its result inside a product. Plays 3.5 seconds in 16:9, 1:1 and 9:16, with editable text, items, colors and fonts.

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

Code

How Cursor Drag 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/cursor-drag/cursor-drag";
import { schema, defaults } from "./video/cursor-drag/cursor-drag.schema";

export const CursorDragComposition = () => (
  <Composition
    id="cursor-drag"
    component={Component}
    schema={schema}
    defaultProps={defaults}
    durationInFrames={105}
    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 Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    227
  • Stats cards with links

    Stats cards with links

    84
  • Statistics Card 7

    Statistics Card 7

    301
  • Card Studio

    Card Studio

    10
  • Weather Card

    Weather Card

    59
  • Statistics Card 2

    Statistics Card 2

    276
  • Card

    Card

    56