8starlabs/ui/transitions-dev
Claude Code and agent skill by 8starlabs/ui
- community
Checking that the SKILL.md file is still in the repository.
Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, card hover tilt, plus-to-menu morph, or accordions. Triggers on "add a transition", "animate the dropdown", "make the modal open smoothly", "swap icon", "page slide", "stagger animation", "open / close transition", "make it animate", "fade between", "success animation", "form error", "shake on invalid", "hover lift", "avatar stack hover", "clear the search", "skeleton loader", "loading shimmer", "shimmer text", "sliding tabs", "segmented control", "tooltip", "reveal text", "tilt card", "3D hover tilt", "cursor glare", "plus to menu", "FAB morph", "accordion", "collapsible", "expand / collapse", "disclosure". Also "motion tokens", "scan for ad-hoc transitions", "replace hardcoded durations with motion tokens", "tokenize my animations", and the commands transitions reveal, transitions review, transitions apply, transitions refine.
Install
npx vskill@latest install 8starlabs/ui/transitions-devSKILL.md
Transitions.dev
Twenty-one portable CSS transitions, each namespaced under t-* selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a prefers-reduced-motion guard.
Quick reference
| Transition | When to use | Reference | |
|---|---|---|---|
| Card resize | Tween a container's width or height when its layout state changes. | 01-card-resize.md | |
| Number pop-in | Re-enter each digit with a blurred slide when a number updates. | 02-number-pop-in.md | |
| Notification badge | Slide a small badge onto a trigger and pop the dot. | 03-notification-badge.md | |
| Text states swap | Swap text in place with a blurred up-and-down transition. | 04-text-states-swap.md | |
| Menu dropdown | Open an origin-aware dropdown that grows from its trigger. | 05-menu-dropdown.md | |
| Modal open / close | Scale-up modal dialog with a softer scale-down on close. | 06-modal.md | |
| Panel reveal | Slide a panel into a region with a cross-blur. | 07-panel-reveal.md | |
| Page side-by-side | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | 08-page-side-by-side.md | |
| Icon swap | Cross-fade two icons in the same slot with blur and scale. | 09-icon-swap.md | |
| Success check | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | 10-success-check.md | |
| Avatar group hover | Distance-falloff lift on a row of items with a bouncy spring on return. | 11-avatar-group-hover.md | |
| Error state shake | Per-segment cubic-bezier shake with auto-reverting border + message. | 12-error-state-shake.md | |
| Input clear with dissolve | Fly-out + per-word streak when a text field is cleared. | 13-input-clear-dissolve.md | |
| Skeleton loader and reveal | Pulse a placeholder, then cross-fade + cross-blur to the loaded content. | 14-skeleton-reveal.md | |
| Shimmer text | Sweep a highlight band across muted text on a loop (pure CSS). | 15-shimmer-text.md | |
| Tabs sliding | Slide the active pill between tabs in a segmented control. | 16-tabs-sliding.md | |
| Tooltip open/close | Delayed fade+scale in, instant out (pure CSS). | 17-tooltip.md | |
| Texts reveal | Staggered blurred rise for stacked text lines, quiet fade out. | 18-texts-reveal.md | |
| Card hover tilt | Tilt a card in 3D toward the pointer with a cursor-tracked glare. | 19-card-tilt.md | |
| Plus to menu morph | Morph a circular trigger into the menu / panel it opens. | 20-plus-menu-morph.md | |
| Accordion expand | Grow / shrink a panel via grid-rows with a chevron flip. | 21-accordion.md |
Decision rules
When the user asks for a transition, match against the visible UI element first, then the verb:
- Trigger + small dot floating on top → notification badge.
- Trigger + surface that grows from it → dropdown (anchored, origin-aware) or modal (centered, no anchor).
- Surface that slides into a region of the page → panel reveal.
- Two screens, list ↔ detail or step 1 ↔ step 2 → page side-by-side.
- Element changes width or height → card resize.
- Element's text content changes in place → text states swap.
- Two icons in the same slot → icon swap.
- A number updates → number pop-in.
- Confirmation / success / "done" moment (checkmark, payment processed, file uploaded) → success check.
- Hovering an item in a horizontal stack (avatars, chips, segmented buttons, tag pills) → avatar group hover.
- Form validation error / "this is wrong" feedback (invalid field, wrong PIN, duplicate name) → error state shake.
- Clearing a text field (search box × button, filter reset) → input clear with dissolve.
- Placeholder that loads then swaps to real content (list row, card, profile header) → skeleton loader and reveal.
- In-progress / "thinking" text that should feel alive (loading label, streaming status) → shimmer text.
- Small horizontal set of mutually-exclusive options with a moving highlight (view switcher, segmented control, filter tabs) → tabs sliding.
- Hover/focus hint that appears over a trigger (icon tooltip, info bubble) → tooltip open / close.
- Stacked headline + supporting line entering with rhythm (hero copy, empty state, onboarding step) → texts reveal.
- Card / tile that should react in 3D to the pointer on hover (product card, cover art, membership card, with or without a light glare) → card hover tilt.
- Circular trigger that becomes the surface it opens (+ FAB grows into a menu / panel, compose button expands) → plus → menu morph. If the surface is a _separate_ popover that merely grows from the trigger, use menu dropdown instead.
- Header with a collapsible body that grows / shrinks in height (settings group, FAQ, filter section, "show more", disclosure) → accordion expand.
- No clear match → fall back to
transitions revealand let the user pick. Don't guess.
If two transitions could fit, prefer the lower-overhead one (card resize over panel reveal, dropdown over modal, success check over a full modal celebration) unless the design clearly calls for the heavier surface. The success check is animation-only — if you also need to swap from a spinner to the check, pair it with icon swap.
Commands
The skill exposes four namespaced verbs the agent should recognise in addition to direct transition requests. Every command starts with transitions so the invocation never collides with verbs from other skills installed in the same project.
transitions reveal — list every transition
Trigger phrases: transitions reveal, "reveal the transitions", "list all transitions", "what transitions are in this skill", "show the transitions catalog".
Behaviour: print the twenty-one transitions as a numbered plain-text list — name, one-line summary, and the matching reference filename. Reuse the rows in ## Quick reference above; do not invent new copy. No project access.
transitions review — audit the project for fit
Trigger phrases: transitions review, "review my project", "audit my animations", "where would transitions.dev help", "find places to use this skill".
Behaviour:
- Search the workspace for indicators:
transition:declarations,@keyframes, hardcodedms/sdurations in style files, components matching the decision-rule patterns (modals, dropdowns, badges, search inputs, skeletons, tabs, tooltips, …). - For each hit, match against the decision rules and pick the single best-fit transition.
- Output a numbered list grouped by file:
path/to/Component.tsx:L42— looks like a dropdown opening, suggest menu-dropdown (05-menu-dropdown.md).- Skip ad-hoc transitions that already use a
t-*class.
- Do not edit anything. End with: "Run
transitions applyon any line to install the suggested transition."
transitions apply — install the best-fit transition
Trigger phrases: transitions apply, "apply a transition here", "add the right transition", "install transitions-dev here", "fix the animation on this element".
Behaviour:
- Read context: the currently-open file, the element nearest the cursor, surrounding CSS / JSX. If the user named a transition explicitly (e.g.
transitions apply menu-dropdown), use it. - Run the decision rules from
## Decision ruleson that context and pick one transition. If two could fit, prefer the lower-overhead one (same tie-breaker the existing rules use). - Surface a one-line proposal: "I'd apply menu-dropdown here because the element opens from a trigger and is anchored. Confirm to install?".
- On confirmation, follow the existing five-step procedure in
## Output formatverbatim (root block, snippet, hooks, reduced-motion guard, JS orchestration if needed). - If the agent can't pick a single transition with confidence, fall back to
transitions revealand ask the user to choose.
transitions refine — replace ad-hoc motion with the motion tokens
Trigger phrases: transitions refine, "refine my transitions", "scan for ad-hoc transitions", "replace hardcoded durations with motion tokens", "tokenize my animations", "tune the durations / easing", "audit my custom keyframes", "make the timing consistent", "align to the motion tokens".
Behaviour:
- Scan the whole project (not just dedicated stylesheets — also inline
style=/ CSS-in-JS, styled-components,<style>blocks, Tailwind arbitrary values likeduration-[300ms]) for ad-hoc motion:transition/animationshorthands and longhands, custom@keyframesblocks, hardcoded durations (…ms/…s), easing (cubic-bezier(...)or keywords), translate distances (px),scale(...), andblur(...). - For each value, infer what the motion does (modal close, dropdown open, tooltip, badge appear, text reveal, page slide, shake, …) from the surrounding selectors / component plus the
## Decision rules. For a@keyframesblock, read theanimationthat drives it and judge the keyframes' own duration/easing. - The key decision point is usage, not the raw number. Look the inferred usage up in
## Motion tokensand suggest the token whose documented usage matches — only when the usages line up. A 300ms modal close maps to--duration-quickbecause both are "modal close", even though the numbers differ. If a value's usage matches no token's usage, list it asno matching token usageand leave it untouched — never force a swap just because a number is close. - Output a numbered list grouped by file, showing only values that should change, each as
path/to/Component.css:L42—modal close: 300ms → var(--duration-quick) (150ms),ease → var(--ease-smooth-out). For keyframe-driven motion, suggest the token for the drivinganimation's duration/easing. - Do not edit anything. End with: "Confirm any line to apply the change, or run
transitions applyto install a full transition instead."
Motion tokens
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/transitions-dev/SKILL.md
Popularity
- Repository stars
- 121
- Repository forks
- 8
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/8starlabs/ui/transitions-dev)