ui-motion
Skill416 starsChanged 5 months agoMITView on GitHub
Build interface animations from a product's real screens and real UX as raea components — panels, segmented toggles, buttons with a press, checkboxes that tick, a cursor that glides and clicks, typing, remarks/highlights blooming, cards growing from their top edge, diff strikes and insertions, keycaps — drawn as live DOM at 2× the app's px from the product's extracted tokens, never screenshots pasted in. Use when a product video or demo needs the app's UI to move ("animate the interface", "make the UI components move", "rebuild this screen in raea", "cursor clicks the button"), as step three of the interface-to-video chain (ui-tokens → user-journeys → ui-motion → raea-animate).
12 other projects use a version of this.
Adopted by
Most recently taken up by
- rkaliev/eng-kittheir own version, first seen Nov 22, 2026
- lx-wnk/skillstheir own version, first seen Nov 16, 2026
- whoamnesia/astudio-motiontheir own version, first seen Nov 8, 2026
- linyi-ui/ui-motion-skilltheir own version, first seen Nov 8, 2026
- neijix/AICodeFactorytheir own version, first seen Nov 1, 2026
- qxryz/workflowgeneratortheir own version, first seen Oct 25, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- linyi-ui/ui-motion-skill★ 55same name
- qxryz/workflowgenerator★ 48same name
- thakur698/universal-ui-skills★ 5same name
- Adhamxon/claude-code-skills★ 2same name
- dafaalz/agent-skills★ 2same name
- thewyattbrocato/design-and-copy-skills★ 2same name
- designhouseme/AdvancedSkills★ 1same name
- rkaliev/eng-kit★ 1same name
- whoamnesia/astudio-motion★ 1same name
- adnanrahim110/ui-motion-skill★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository132 other files it gives its agents.
- automation-advisor/CLAUDE.mdCLAUDE.md
- agency-docs-updaterSkill
- agency-meetup-publishSkill
- agency-socialsSkill
- agent-cliSkill
- agent-roundtableSkill
- app-mapSkill
- app-releaseSkill
- automation-advisorSkill
- background-agentsSkill
- balancedSkill
- brand-agencySkill
- bridgeworkSkill
- browser-mateSkill
- browsing-historySkill
- chrome-historySkill
- cms-migration-checklistSkill
- coaching-session-summarizerSkill
- codexSkill
- cognitive-toolkitSkill
- context-builderSkill
- cull-release-checkSkill
- cull-release-prepareSkill
- cull-release-publishSkill
- cull-release-recoverSkill
- cull-releaseSkill
- cull-release-verifySkill
- cullSkill
- daydreamSkill
- decision-to-deliverySkill
- decision-toolkitSkill
- deep-researchSkill
- design-tokensSkill
- doctorgSkill
- ecosystemSkill
- elevenlabs-ttsSkill
- elimination-researchSkill
- fathomSkill
- feature-factorySkill
- firecrawl-apiSkill
- firecrawl-researchSkill
- font-featuresSkill
- github-gistSkill
- gmailSkill
- google-image-searchSkill
- gpt-image-2Skill
- granolaSkill
- gwsSkill
- health-dataSkill
- herdr-orchestratorSkill
- i18n-studioSkill
- init-tauri-appSkill
- init-xcode-appSkill
- insight-extractorSkill
- jtbdSkill
- kinetic-adSkill
- lab-retroSkill
- learning-vaultSkill
- linearSkill
- llm-cliSkill
- The first 60 shown.
The file
Files
ui-motion
The product's interface, rebuilt as raea components that animate. Faithful to the app (its tokens, its copy, its controls) and readable on video (type at its final size, motion slowed enough to read at 30 fps).
Inputs: tokens.ts from ui-tokens, the video arc from user-journeys (each story: action → result), 2–3
screenshots of the real screens, the real copy (the product's data files, reviews, history: never invented text).
Rules
- Live DOM at 2×, never pictures of the UI.
S = 2: every app px is drawn at 2 px, so 15 px body text is 30 px in a 1920×1080 frame. The camera scales between 0.9 and 1.3; never put live text under 0.6×. - Every value from tokens.
import { T } from "./tokens.gen": colours (T.pencil,T.del_bg…), radii, fonts. A value not in tokens.json goes there first (ui-tokens step 5). - Every prop that moves is a number. Progress 0..1 (
on,open,strike,press), a float index (Seg at=3.4slides the fill between Agree and Auto), a character count (typed). The composition owns the clock; only the cursor and keycap take the framefthemselves. - Eases from GSAP, frame-pure.
ease.ts:gsap.parseEase("power3.out")evaluated per frame;tw(f, a, b, from, to, ease). Never GSAP timelines or the ticker (not deterministic per frame). - Exaggerate what the app does instantly, keep its order. The product's own transitions (ui-tokens
motion.durationsMs, e.g..par { transition: background .4s }) are kept and named in a comment; instant swaps (a mode toggle, a press) get 6–10 frames; presses sink 2 frames and spring back over 5. - Real copy. Quotes, model takes and fixes come from the product's data (for prose-eval
reviews/*.jsonl,out/edited/*.md). Trim to the first sentence; never paraphrase into marketing. - Fonts.
@font-facefromassets/fonts/via acompositions/media -> ../assetslink; variable TTFs needfont-weight: 300 800.
The kit (assets/ui.tsx, assets/ease.ts)
Copy both into the project's components/ next to tokens.gen.ts (the extractor's tokens.ts, renamed). Adapt the
components to the product's real controls; prose-eval's are the worked example:
| component | props that animate | what it shows |
Seg | at (float index), press | segmented mode toggle, the fill slides |
Btn | press | .btn neutral / go / solid |
Check | on | checkbox fill and the check stroke drawn on |
Chip | n (count ticks up), on | category chip with its colour dot |
Mark | on, votes, sel | a highlight blooming (solid = 2 models agree, underline = 1) |
Fix | strike, typed, clean, mark | Diff: old words struck red, new ones typed in green; Clean fades both |
Card | open, takes, apply | a card growing from its top edge, takes rising in one by one |
Rail | dots with at / gone | margin dots pop in (back ease) and leave |
Cursor | keys, clicks | a macOS arrow on a Catmull-Rom path, a dip and a ring per click |
KeyCap | at | a one-key action (a = apply) popping up, pressed, leaving |
Steps
- Pick 2–3 screenshots for the arc's stories. List each control on them and the component it maps to.
- Copy the kit, build the page layout (flex, the app's px × S), drop in the real copy.
- Probe first: a one-frame composition with one paragraph, one highlight and one strike
(
raea render compositions/probe.tsx -o out/test --at 0) checks fonts, inline backgrounds andline-through. Inlinedashedborders don't render: use a lighter underline for "one model". - Measure cursor targets from a still (screen px → app px:
(x - 960) / s + cam.x) and write them inTARGET. - Frame strip for review and the deck:
raea render FILE.tsx -o DIR --at F1,…,F8, thenffmpeg -pattern_type glob -i 'DIR/frame-*.png' -vf "scale=640:-1,tile=4x2:padding=8:color=white" -frames:v 1 strip.png.
Traps
cp -Rof a node_modules package that is a symlink (raea installsgsap -> .raea/gsap@…) copies a dead link: usecp -RL. raea caches a refusal until the file changes: touch the composition after fixing a dependency.raea checkflags text that is off-frame during a push-in as low contrast; look at the frame before chasing it.
Worked example: ~/raea/showreel/projects/prose-video/components/ui.tsx (prose-eval).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

