Skip to content
Skillpedia
Interfaces (UI/UX)6.0k · #14457

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.md

Copy 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

Use this skill to help me: https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-ui-generation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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):

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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 a delay. 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

repo: Jakubantalik/transitions.dev

Popularity

GitHub stars
6.0k
Ranking position
#14457
License
—
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills