Chaos to Order

Scattered windows, notes and toasts drop in, then snap into an organized issue tracker. A free, MIT-licensed Remotion product scene.

Installation
$ pnpm dlx shadcn@latest add @remocn/chaos-to-order

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ChaosToOrder } from "@/components/remocn/chaos-to-order";
 
const ChaosToOrderScene = () => (
  <ChaosToOrder
    items={["#launch-war-room", "Inbox", "Payment failed", "Standup in 2 min"]}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ChaosToOrder"
    component={ChaosToOrderScene}
    durationInFrames={240}
    fps={60}
    width={1280}
    height={720}
  />
);

Windows, sticky notes and toast alerts drop onto the screen while an unread counter races up, then everything is pulled to the center and replaced by a clean issues tracker window. Pass items to relabel the chaos pieces in drop order, and children to replace the tracker with your own product window. Ships dark by default and light.

Props12

PropTypeDefault
items
string[]DEFAULT_ITEMS

Labels for the chaos pieces, in drop order

children
React.ReactNode—

Your own product window shown after the snap; defaults to an issues list

workspace
string"remocn"

Workspace name in the built-in issues window.

hold
number56

Frame the pile is pulled into the window; the chaos builds until then.

accent
string"#3B5BFD"

Accent color for highlights, buttons and progress

ink
string—

Text color of the built-in issues window; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Inter"

Typeface for the copy. Load the font in your project first.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

speed
number1

Playback speed multiplier for the whole timeline

theme
"light" | "dark""dark"

Light or dark palette

  • itemsstring[]

    Labels for the chaos pieces, in drop order

    DefaultDEFAULT_ITEMS

  • childrenReact.ReactNode

    Your own product window shown after the snap; defaults to an issues list

  • workspacestring

    Workspace name in the built-in issues window.

    Default"remocn"

  • holdnumber

    Frame the pile is pulled into the window; the chaos builds until then.

    Default56

  • accentstring

    Accent color for highlights, buttons and progress

    Default"#3B5BFD"

  • inkstring

    Text color of the built-in issues window; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Inter"

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier for the whole timeline

    Default1

  • theme"light" | "dark"

    Light or dark palette

    Default"dark"