About
Window Collapse is a background animation for Remotion videos. Sets an atmosphere or connects two scenes. Plays 2.5 seconds in 16:9, 9:16 and 1:1, with editable text, images, colors and fonts.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Window Collapse to your project and fits it to your theme.
Code
How Window Collapse 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/window-collapse/window-collapse";
import { schema, defaults } from "./video/window-collapse/window-collapse.schema";
export const WindowCollapseComposition = () => (
<Composition
id="window-collapse"
component={Component}
schema={schema}
defaultProps={defaults}
durationInFrames={75}
fps={30}
width={1920}
height={1080}
/>
);
















