21st

Color Before After

Galleries 4

About

Color Before After is a gallery animation for Remotion videos. Presents a collection of images, cards or outputs. Plays 6 seconds in 16:9, 9:16 and 1:1, with editable text, colors, fonts and paint background.

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

Code

How Color Before After 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/mg-beauty-before-after/mg-beauty-before-after";
import { schema, defaults } from "./video/mg-beauty-before-after/mg-beauty-before-after.schema";

export const ColorBeforeAfterComposition = () => (
  <Composition
    id="mg-beauty-before-after"
    component={Component}
    schema={schema}
    defaultProps={defaults}
    durationInFrames={180}
    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

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    43
  • Animated Gallery

    Animated Gallery

    1.4K
  • File Upload

    File Upload

    18
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    981
  • Image Gallery

    Image Gallery

    123
  • Elastic Gallery

    Elastic Gallery

    908
  • Tilted Grid Hero

    Tilted Grid Hero

    1.5K