Browse workflows
Motion capture and animation

Fluid: an open-source React motion library with agent skills and video export

Fluid is a free, MIT-licensed React library for branded motion, with a command that records any page to 60 fps MP4 and seven agent skills.

From the makerFreeOpen source
Grid of Fluid pieces, including Splash Choice, Icon Morph, Splash Dots, Spring Switch, Word Cycle, Morph Loader and Segmented Picker.
Image: useFluid

Fluid animates brand pieces such as morphing logos, buttons, toggles, splash openings and mascot characters with spring physics, styled with your own logo, colours and font. Its command-line tool records any page frame by frame to MP4 at 60 fps in story, post, square or wide formats, and seven agent skills let a coding agent set up the brand, pick components and record videos. MIT licensed.

Why it mattersBranded motion graphics for sites and social clips, written as code an agent can edit.

What it contains

Fluid is a library for animating brand pieces in React, a JavaScript framework for building web interfaces. Its engine, published as @usefluid/motion, uses closed-form springs, which are a way of calculating a bouncy motion without stepping through it frame by frame. Its Metamorph part morphs one outline into another, such as a logo or a plain shape. The engine has no dependencies.

Ready-made pieces are built on the engine. The project's website lists 32 of them, including Splash Choice, Icon Morph, Spring Switch, Word Cycle, Pet, Bot and Mascot. You copy a piece into your project with the command-line tool rather than installing it as a locked package.

  • npm i @usefluid/motion
  • npx @usefluid/cli init --out src/styles/fluid-theme.css
  • npx @usefluid/cli add splash-choice
Fluid website header with the line Your brand, in motion and a morphing blue logo shape.
Image: useFluid

How the pieces behave

Each piece reads ten --fluid-* CSS variables for its colours and style. The README says pieces have 44 pixel touch targets and a visible focus ring, work with a keyboard and screen readers, and jump to their final state when reduced motion is turned on. Pieces are said to fit a 320 pixel wide screen and are tested in Chromium and WebKit, the engines behind Chrome and Safari.

Video export and agent skills

The record command captures a page frame by frame into an MP4 at 60 frames per second. The formats are story (1080 x 1920), post (1080 x 1080), square and wide. Recording needs playwright-core, Chrome or Edge, and ffmpeg. The seven agent skills cover brand setup, choosing pieces, building new morphs, splash screens, characters, video, and placing brand motion over AI-generated video. They are installed with npx skills and only switch on when the project uses Fluid or when they are named.

SourceFluid siteGitHub

More from this issue

All 56 stories
Make videos with these toolsOur workflows turn Blender, Unreal, ComfyUI and AI video into finished Shorts, explainers and reels. Claude sets them up for you.
Browse workflows