transitions-ui-generation
What it does
This skill adds a drawing-in animation to a page element, making it look as if an AI agent is generating it. It is for designers and developers who want a striking reveal for interfaces, headlines or images.
When to use it
- ✓When you want a card or panel to appear as if an agent is building it.
- ✓When you want a headline to be traced in dots before it fades in.
- ✓When you want a hero image to reveal itself from a dot pattern.
Skill link
https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-ui-generation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Make my hero headline appear as if an AI is drawing it in dots before the text settles.”
5 new skills a week. 1 minute to read.
How it works
The effect measures the real element on the page, draws a dotted version of its outline, then hands over to the real content so everything lines up.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Transitions UI generation
Plays an "agent is generating this" animation over any element on the page, then hands over to the real UI. Nothing is faked: the drawing is measured from the element itself, so the dotted outline, text lines and icons land exactly where the real ones appear. Headlines are traced along their real glyph outlines, and images are drawn from their own pixels.
Variants
| Variant | What it generates | Use for | Reference |
|---|---|---|---|
ui (default) |
The component's dotted wireframe: dot field, guides, outline, every box, text line and icon, then the real UI behind a scan line. | Cards, panels, components an agent produced. | 01-skeleton.md |
text |
Every glyph traced along its real outline in flowing dots, then fading in one by one (140ms after its outline, 90ms each, 90ms apart on a gentle in-out curve), with dots flying in to each glyph. | Headlines, titles, pull quotes, slide titles. | 03-text.md |
small-text |
A dotted line through each line of text; the characters fade in as it passes. | Eyebrows, subtitles, captions, labels. | 04-small-text.md |
image |
A dotted frame, a sketch of the photo's tones, a fine halftone of its pixels, a dot matrix in its colours, then the photo. | Hero images, image cards, covers. | 05-image.md |
auto |
Text and images in one block: text at display (32px) or larger as text, smaller as small-text, every image as image. |
A hero or editorial block mixing a headline, copy and a photo. |
text, small-text, image and auto are drawn by text-image-generation.js, which ships with this skill; generate(el, { variant }) from ui-generation.js hands them over. Those variants generate only their own content; the rest of the element shows as it is.
Works in every agent that reads skills (Claude Code, Cursor, Codex, and others): install with npx skills add Jakubantalik/transitions.dev, or copy this folder into the project.
What the ui variant draws
In order, over one build (default 2400ms of drawing, about 2.6s in all):
- Dot field. A grid of small dots ripples out from the centre, with matrix rain falling down its columns and a probe line sweeping across.
- Construction. Guides run along the element's edges past its corners, corner handles pop in, and a size label counts up to the real size with a build timer.
- Outline. The outline is traced from the top centre in both directions in small flowing dots, while loose dots fly in and land on it.
- Parts. Every box, text line and icon path is traced in document order. Key elements (buttons, inputs, the largest boxes) get their own guides, handles and size label, and a targeting reticle jumps from part to part with a coordinate readout.
- Reveal. The real UI comes in top to bottom behind a scan line, fading and sharpening on
--ease-smooth-out, while the drawing is wiped away and the dots clear.
Modes
Every variant takes the same two modes (for the text and image variants, skeleton maps to their trace and skeleton-texts to trace-texts: an agent log of every glyph and image and a step line, see 06-text-image-texts.md).
| Mode | What you get | Use for | Reference |
|---|---|---|---|
skeleton |
The dotted drawing and the reveal. | Most places: a card or panel an agent produced, an empty state filling in, a hero moment. | 01-skeleton.md |
skeleton-texts |
The same, plus generation texts: an agent log (one line per part with a progress bar), the motion CSS being written (the element's own values on the transitions.dev token scale), and a step line ("Planning layout" … "Ready"). | Showcases and launch moments where the "agent at work" story matters: landing pages, demos, onboarding, product videos. Needs space beside or under the element; it places the texts only where the page is empty. | 02-skeleton-texts.md |
Decision rules
- A headline →
text. Its subtitle or eyebrow →small-text. A photo →image. A hero mixing them →auto, or each element with its own variant and adelay. A card or component →ui. - An AI feature returns UI (a generated component, a chart, a summary card, a draft) →
skeleton, played when the result arrives. - **A launch page, demo or video
FAQ
Is the animation faked?
No. The drawing is measured from the element itself, so it lands where the real content appears.
Which parts of a page can it use?
It works on UI components, headlines, small text and images, each with its own variant.
What is the default variant?
The default is ui, which draws a dotted wireframe of the component's structure.
Details
Original description by the author
Make any UI, headline or image appear as if an AI agent is generating it. Five variants: ui (the default: a dotted wireframe drawn from the element's own structure, outline, boxes, text lines, icon paths, with guides, corner handles and size labels, then the real UI revealed behind a scan line), text (every glyph of a headline traced along its real outline in flowing dots, then fading in one by one), small text (a dotted line through each line of text), image (a frame, a sketch of the photo's tones, a halftone of its own pixels, colour dots, then the photo) and auto (text by size and images in
Popularity
- GitHub stars
- 6.0k
- Ranking position
- #14457
- License
- —
- Updated
- 10/29/2026
Comments
- …
More skills from this repository
transitions-agent
6.0kLets your agent scan a website's code for missing or uneven UI motion, then fix it with proven transitions.dev recipes.
refine-live
6.0kLets your agent answer Refine requests from the transitions.dev Timeline Inspector by polling a local relay in the chat.
transitions-dev
6.0kTeaches your agent to add 32 ready-made CSS transitions, such as modals, dropdowns, badges and text swaps, to a web app.
transitions-polish
6.0kHelps your agent tune existing motion in a web app so durations, distances, easing and blur match one consistent design scale.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.