Tutorials

HTML and React animation exports: why developers pay

A Capture Motion export is a working component built from the card's real timing, with your colours and speed applied. Here is what is in an HTML or React export and how to use it well.

28 November 2026 · 4 min read

Developers are usually the people who end up turning motion into something real. A designer finds a reference, the product manager loves it, and then someone has to make it run in the product, at the right speed, in the right colours, without breaking on a slow phone.

Capture Motion's HTML and React exports exist for that person. This post explains what is in an export, how it differs from a prompt or a snippet, and why it is the main reason developers pay for Capture Motion.

Three ways to get a card into code

Every card in the gallery can reach your codebase in three ways:

RouteWhat you getBest for
LLM promptThe card's motion data and markup, for Claude or ChatGPT to rebuild in your stackNon-React stacks, or when you want the model to adapt it heavily
HTML exportOne self-contained HTML and CSS file that runs in any browserPrototypes, tickets, review links, plain sites
React exportA component you drop into a React projectShipping in a React app

The prompt is free and unlimited, and it is a good route. But it goes through a model, and models round numbers, drop details and sometimes reframe a component. The exports skip that step. They are built from the card directly.

What is in an export

The real timing

Durations, delays, easing curves and keyframes come from the card's capture, not from someone's reading of a video. A 520 ms duration stays 520 ms. A custom cubic-bezier() stays custom. A stagger keeps its spacing.

Your settings

Whatever you set in the Customize panel is applied: accent colour, text, background or theme, speed, and the card's own options. If you slowed a card to 1.5× and switched it to a light theme, the file you download is slow and light. You do not recolour or retime anything afterwards.

The whole interaction

Live cards export with their behaviour, not just a single play-through: the export is built from the same markup and runtime the gallery card uses, so clicks, hovers and the card's own interactions come with it. Run it once on its own to confirm, as you would with any component you did not write.

Why this beats rebuilding

Most developers can rebuild a nice hover effect in an hour. The case for exports is not that rebuilding is impossible. It is where the time goes:

  • Matching, not building, is the slow part. Writing a transition takes minutes. Getting it to feel the same as the reference takes the rest of the afternoon.
  • Review loops cost two people. Every "it feels a bit off" is your time and the designer's.
  • Rich components are a different scale. A WebGL switch or a physics-driven stepper is days of work, not an hour. Premium cards export the same way as simple ones.

With an export you start from a component that already matches, and you spend your time on the parts that are actually yours: state, data, accessibility and integration.

How to integrate an export well

  1. Customize before you download. Set colour, text, theme and speed in the gallery so the file starts close to your product.
  2. Run it on its own first. Open the HTML file, or mount the React component in an empty page, and compare it with the card.
  3. Lift the timings into variables. Move durations and curves into CSS custom properties or a constants file, so your design system can own them.
  4. Wire it to your state. Replace the demo trigger with your real one: a route change, a form submit, a toggle in your store.
  5. Add the reduced-motion path. Decide what happens when prefers-reduced-motion is set, usually a fade or an instant change. See the prefers-reduced-motion guide.
  6. Check it on a slow device. Especially for 3D and blur-heavy cards.

Why unlimited matters for developers

Pro makes HTML and React exports unlimited, and that changes how you work. With a counter, you download once and make do. Without one, you can:

  • Export the same card at two speeds and try both in the product.
  • Export light and dark versions instead of hand-editing one.
  • Grab an HTML copy for the ticket and a React copy for the build.
  • Re-export after the designer changes the accent, rather than patching colours by hand.

Trying variations in the real product is how good motion decisions get made. A meter discourages exactly that.

Exports and the rest of the team

The same card also gives the designer JSON for the Figma plugin and gives anyone an LLM prompt. Because all of them come from one capture with the same settings, the Figma timeline, the HTML file and your React component agree with each other. When review comes, everyone is comparing like with like. Ending the handoff ping-pong has the full routine.

What exports are not

An export is a strong, accurate starting point, not a finished feature. You still own state management, accessibility, testing and performance in your app. And if your stack is not React, the HTML file or the LLM prompt is the better route.

Try it now. Pick the next animated component on your list, find its closest card at capturemotion.dev, customize it, and compare the React export with what you would have built. Pro makes exports unlimited.

Questions

Which plans include HTML and React exports?

They need a paid plan. Pro makes them unlimited. JSON and LLM prompt copies are separate and never count toward a limit.

Do exports keep my Customize settings?

Yes. Colour, text, speed, background and the card's own options are applied to the export, the same as to the JSON and the LLM prompt.

Does the React export need a particular animation library?

Check the component you download: it is built to run on its own in a React project. If your project uses a library such as Motion for React or GSAP, you can port the timings across, since they are all in the component.

Can I use the export in a commercial project?

Check the licence terms on capturemotion.dev before you ship, especially for cards that include third-party photos.