Code-based UI motion design showreel
- Views
- 1.2M
- Likes
- 12.8K
- Replies
- 273
- Saves
- 21.2K
An open-sourced prompt template for code-only UI motion videos: one morphing shape cycles through app states synced to a 120bpm track, rendered with Playwright/ffmpeg, beat-mapped with numpy.
Full prompt2,711 chars
<inputs> Ask me for: 8 to 12 UI states I want the shape to become (e.g. button, loader, player, slider, toggle, tabs, chart, command palette, toast), pure black and white or one accent color, and a royalty-free song around 120 BPM (e.g. Mixkit, free for commercial use). </inputs> <direction> Dribbble-level UI motion. One shape, never cut: every state is the same element morphing its size, radius and color while its content swaps with a short blur. A cursor drives every change with real clicks and drags. Light warm-gray canvas, black and white components, one clean UI font (Geist). Springs everywhere, a tiny overshoot at most. The camera zooms so each state fills the frame. The last frame is the first frame, so it loops. Banned: bouncy easing, particle bursts, glows, gradients on UI chrome, mismatched icon strokes, dead time, anything that looks like a template. </direction> <structure> 120 BPM, 7 bars, something happens on every beat. Button → loader → check → dynamic island → music player with a play/pause morph → scrub the progress bar → it becomes a volume slider that stretches when dragged past max → a toggle flips on the beat → the knob becomes a liquid tab indicator → the tabs open into a chart that draws itself, with a tooltip on hover → it collapses into ⌘K → type to filter → enter → toast → back to the button. </structure> <build> 1. One HTML file, square 1440x1440. Every style is computed from time inside seek(t): no CSS transitions, no timers, no state carried between frames. 2. Springs are closed-form step responses. A value that changes target many times is the sum of one spring per change, so it stays a pure function of time. 3. The tab indicator's two edges ride different springs, so the leading edge stretches ahead of the trailing one. Same trick for the toggle knob. 4. Drags are direct manipulation: while the cursor is held, the value is computed from its position. On release it springs back from wherever it was. 5. Analyze the song with numpy for the beat grid and start on a downbeat. Place every UI sound by its measured peak. 6. Render with Playwright: 4 subframes per frame, blended with ffmpeg tmix for motion blur at 60fps. 7. Render one frame per beat before the full render. Fix anything off the grid, cramped or hard to read. </build> <gotchas> Never put will-change on anything the camera scales or the text renders blurry. Text that swaps inside a morphing container needs its own enter and exit timing or it overlaps. Make the last frame identical to the first, cursor position and speed included, or the loop stutters. </gotchas> <start> Ask me for the inputs, then show me the state list on the beat grid before you write any code. </start>
Source: the original post. Kept in its original language, unedited.
Want more prompts like this one?
Get the 50 most-viewed Claude 5.5 video prompts on one page: the full original text, the creator and the post it came from. We'll only email you when there's a new prompt worth trying. Unsubscribe anytime.
Tools the creator mentioned
Original post: https://x.com/twoclipping/status/2103273003555402193
All works are open data at GitHub · awesome-opus-5.5-video.
Model attribution is as stated by the creator and was not independently reproduced. View counts are a snapshot from 2026-11-13. The work belongs to its creator; DM @GoSailGlobal on X for corrections or removal.
More motion graphics
1:05Portfolio data dashboard and animation
2.9M views
0:1515-second motion designer showreel (the original viral prompt)
2.3M views
0:32Showreel from the viral one-liner (Skia + Blender)
1.9M views
0:32AI-made video demo
1.8M views
0:15Motion Design Launch Video
1.8M views
0:15Unspecified animation made in 15 minutes
1.1M views
Related articles
The Complete Workflow for Creating Educational Training Videos: Four Skills to Take You from Slides to Video
Use four Skills to build a complete pipeline from course PDF to content extraction, quiz generation, mind maps, and video.
Same Name, Different Game: Comparing Two SEO Audit Skills and Which to Use
The Claude Code Skills ecosystem is growing fast — fast enough that naming collisions are starting to happen. Two skills both called seo-audit exist, and they take completely different approaches. Here's a side-by-side breakdown and recommendation.
How I Built JasonZhu.AI: Tech Stack, Architecture, and Full Cost Breakdown
A complete record of building the JasonZhu.AI personal brand website — from choosing the tech stack to going live, including the full stack, implementation details, development tools, and cost breakdown. How an AI blogger built a website using AI tools.
Andrew Ng's 2026 'AI Prompting for Everyone' Module 2 Complete Notes: Turning AI into Your True Thinking Partner
Complete English notes for Andrew Ng's 'AI Prompting for Everyone' Module 2. 8 lessons covering: how to brainstorm with AI, manage context, use desktop agents, apply deep reasoning, avoid AI sycophancy, iterate on writing, and conduct objective reviews. 10 ready-to-use prompt templates you can copy right away.