Animating Icons logo

Animating Icons

Organization
SoraLabsOSS
animating-icons

Author, review, or batch-produce SVG icon hover gestures and icon↔icon morphs (Hugeicons/Lucide/Phosphor). Use for animated icon, icon hover, per-icon gesture, icon morph, menu↔cross, stroke-dashoffset draw-on, pathLength, transform-box. Not for page transitions, Lottie, or general UI chrome motion.

Overview

PublisherSoraLabsOSS
Repositoryskills
Skill nameanimating-icons
Stars
29
Forks
2
Bundled files
15
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 15 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SoraLabsOSS on GitHub. Read the source before you install it.

Installation

Install the Animating Icons AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/SoraLabsOSS/skills/tree/main/skills/animating-icons
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SoraLabsOSS/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/animating-icons .claude/skills/animating-icons
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Animating Icons in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Animating Icons on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Animating Icons is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Animating Icons

An icon is not a picture you move. It is an object that does something, and the animation is that thing happening once.

Core principle: the gesture is the icon's meaning acting on itself. A bell rings, a plug disconnects, a package lands. The motion has to be something only that object could do. Whole-<svg> shakes that would look identical on any glyph are decoration — delete them.

Read next

SituationOpen
Hover gesture on one glyphreferences/FAMILIES.md, then references/EXAMPLES.md
Shape itself bends (book, hand, flap)references/MORPH.md
Icon A becomes icon B (menu↔cross)references/ICON-MORPH.md
Authoring CSS / SVG / driverreferences/TECHNIQUE.md + references/FAILURES.md
Fill (Phosphor-style) inkreferences/FILL.md
Easing / peak speedreferences/EASING.md
Done codingreferences/VERIFY.md + scripts/verify-icon.mjs

The swap test

Could these exact keyframes be pasted onto a different icon and still look fine? If yes, it is decoration. Run twice: once on the idea, once on the finished icon.

FailsPasses
Whole <svg> shakes / bounces / spinsOne part moves against another part
Every icon in a batch got the same recipeThe recipe was chosen from the icon's verb
"Pulse" or "wiggle" applied to a nounThe object's own mechanism operates

The four gates

Every icon passes all four. Verify by rendering — never by reasoning. Details in VERIFY.md.

  1. Swap test — gesture unique to this icon's meaning.
  2. Rest test — frame 0 and final frame are pixel-identical to the source glyph (difference overlay). Licensed exception: a deliberate redraw, stated out loud.
  3. Strip test — every intermediate frame still reads as the icon.
  4. Motion test — peak speed under the aliasing ceiling; min speed ~0 in any beat meant to stop; claimed ratios measured off the computed matrix.

Landing on rest

Gate 2 shapes the gesture. Name which landing you use before designing beats:

  1. Symmetry — end on a rotation/reflection that maps the drawing onto itself. Measure the symmetry, never count the lobes (optical adjustment often lowers the true order).
  2. Congruence — identical parts (up to translation) can end swapped; check absolute point sets, not command fingerprints.
  3. Re-arm while invisible — jump state outside the clip / behind a part / at opacity: 0 / scale(0) on a hundredth-of-a-percent frame; prove invisibility by measurement.
  4. Return — go out and come back with a different character on the return leg (not a plain undo).

If you cannot name which of the four, you do not have a gesture yet.

Choose the mechanism

What is happeningReach forNot
Part slides / turns / drops; shape unchangedCSS transform on a wrapper <g>a morph
Shape genuinely changes (paper bends, book closes)d-morph (MORPH.md)scaleY/skew fakery
Something goes inside / in front / is a holemask or clipPathopacity; z-order
A line is written or erasedstroke-dashoffseta fade
Any icon becomes any other in one UI slotthree-line morph (ICON-MORPH.md)a crossfade

Ask every time: is the object changing shape, or my view of a rigid object? Almost always the second → transform. Prefer a hard-swap at a covered instant over a morph when coverage is provable.

Procedure

  1. Read the geometry — open the source; count elements; find hinges, seams, symmetry. Hugeicons free is usually pre-split. Hand-drawn storyboards: classify the second pose (byte-identical / translated / fuller redraw) before designing — see MORPH.md.
  2. Name the verb — one sentence the object does ("a plug comes out"), not a shape description.
  3. Pick the one part that carries the verb; the rest holds still as the frame.
  4. Choose a family from FAMILIES.md. Do not invent a gesture per icon.
  5. Decide the landing (symmetry / congruence / re-arm / return) — it often sets the numbers.
  6. Derive every number from the geometry. Measure, do not taste. Dwells/decay ratios come from the budget table below.
  7. Write it — non-negotiable constraints:
    • CSS keyframes, no JS animation library (exception: icon-swap / Motion).
    • No layout triggers. Prefer transform / opacity; stroke-dashoffset and discrete d / visibility OK. Never width/height/x/y/r/cx/cy.
    • No px on the root <svg> or HTML wrapper unless computed from size (TECHNIQUE.md § Units).
    • Last keyframe is rest. Declare rest in a base rule, not only at 0% (FAILURES.md #2).
    • Animation names prefixed ig- so the driver and harness can count them.
  8. Verify — run VERIFY.md; second pass with fresh eyes.

The budget

Gesture — plays once on hover (library browse = rare):

Duration, ONE event600–1100ms
Duration, N countable beats~350–400ms per beat
Dwell before start130ms
Abandoned mid-flightspeed up ×2.2, never cancel

Derive duration from the set you ship into, not vibe:

bash
grep -oE 'animation: *ig-[a-z0-9-]+ +[0-9.]+s' . | grep -oE '[0-9.]+s' | sort -n | uniq -c

Beats below ~250ms blur into one event. Anticipation needs real time (~40ms+), not a percentage of a tiny beat.

Reduced — sidebar / 100+ hovers a day: 140–220ms, ≤1px translate, scale ≤1.10, rotate ≤16°, holds while hovered. Ask how often it is seen before picking a tier.

Playback contract

Play once on hover, guaranteed to finish. Drive off data-go + dwell, not bare :hover (TECHNIQUE.md § Driver). Honour prefers-reduced-motion: reduce with animation: none (safe only because of gate 2). Icon-swap under reduce: instant coordinate set, no tween.

Done checklist

  • Landing strategy named (one of four)
  • Family chosen from FAMILIES.md; numbers derived from this glyph
  • Rest declared in base rules; ig- prefix on animation names
  • scripts/verify-icon.mjs run (or equivalent strip + rest shots); sheet Read
  • Difference overlay clean at frame 0 and final
  • Motion: peak under ceiling; holds actually stop (~0 speed)
  • Swap test against another family's icon
  • Reviewed at 24px and 96px; prefers-reduced-motion sits at rest
  • Duplicate-id safe if the icon can appear twice
  • Second pass done

Full gate list: VERIFY.md.

Red flags — stop and re-derive

  • Keyframes written before opening the source d
  • Cannot name the landing
  • Curve chosen by name for a large turn without computing peak slope (EASING.md)
  • Transform on the root <svg>
  • Two icons share keyframe values not derived from matching geometry
  • A number ends in 0 or 5 with no geometric source
  • ease: linear on anything that is not a spin or marquee
  • Looks right only because it is small
  • Probe returned 0 and was not shown capable of returning non-zero

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Animating Icons AI skill do?

Author, review, or batch-produce SVG icon hover gestures and icon↔icon morphs (Hugeicons/Lucide/Phosphor). Use for animated icon, icon hover, per-icon gesture, icon morph, menu↔cross, stroke-dashoffset draw-on, pathLength, transform-box. Not for page transitions, Lottie, or general UI chrome motion.

Why use Animating Icons on TypingMind?

Because you install it once and use it with any model. Animating Icons is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Animating Icons in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SoraLabsOSS/skills/tree/main/skills/animating-icons. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Animating Icons?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Animating Icons?

As many as you like. As long as a model supports skills, you can use Animating Icons with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Animating Icons AI skill free?

It is published on GitHub by SoraLabsOSS. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇