21st

Document to Workspace

Component 2

About

Document to Workspace is a product UI animation for Remotion videos. Shows an action and its result inside a product. Plays 5 seconds in 16:9, 9:16 and 1:1, with editable text, images, items and colors.

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

Code

How Document to Workspace 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/document-transform/document-transform";
import { schema, defaults } from "./video/document-transform/document-transform.schema";

export const DocumenttoWorkspaceComposition = () => (
  <Composition
    id="document-transform"
    component={Component}
    schema={schema}
    defaultProps={defaults}
    durationInFrames={150}
    fps={30}
    width={1920}
    height={1080}
  />
);

Dependencies

More by 21st

View all
  • Prism Spectrum List

    Prism Spectrum List

    59
  • Logo Construction Lines

    Logo Construction Lines

    48
  • Polyrhythm Orbits

    Polyrhythm Orbits

    33
  • Galton Board Chart

    Galton Board Chart

    28
  • Live Transaction Alerts

    Live Transaction Alerts

    28
  • Shattered Title Assembly

    Shattered Title Assembly

    27
  • Metal Card Reveal

    Metal Card Reveal

    25
  • Differential Growth

    Differential Growth

    24