Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dylantarre avatar

Icons Badges

  • 345 installs
  • 68 repo stars
  • Updated December 30, 2025
  • dylantarre/animation-principles

icons-badges is a Claude Code animation skill that applies Disney's 12 principles to icon and badge hover, tap, success, and notification motion for developers who need clear affordance without distracting UI.

About

icons-badges is an animation skill from dylantarre/animation-principles focused on small UI elements—icons, badges, avatars, and status indicators. The skill maps Disney's 12 animation principles to practical micro-interactions: squash and stretch on likes, anticipation before bell rings, staging for active icons, and bounce patterns for notification counts. Developers reach for icons-badges when static icons feel lifeless but full-page motion would harm usability. It gives timing, easing, and scale recipes—such as 50ms anticipation scales—that agents can translate into CSS, Framer Motion, or React Spring implementations.

  • State-driven micro-motion for icons
  • Badge count and alert transitions
  • Accessible reduced-motion fallbacks
  • Consistent easing across icon families
  • Performance-safe transform-only paths

Icons Badges by the numbers

  • 345 all-time installs (skills.sh)
  • Ranked #735 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dylantarre/animation-principles --skill icons-badges

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs345
repo stars68
Last updatedDecember 30, 2025
Repositorydylantarre/animation-principles

How do you animate icons and badges in UI?

Animate icon and badge states—hover, tap, success, notification counts—with motion that clarifies affordance without distracting from core tasks.

Who is it for?

Frontend engineers polishing icon buttons, notification badges, and status indicators who want principled micro-motion without overwhelming the interface.

Skip if: Page-level route transitions, data visualization animations, or backend jobs with no interactive UI components.

When should I use this skill?

A developer animates icons, badges, avatars, notification counts, or small status indicators and needs hover, tap, or success feedback motion.

What you get

Timed hover, tap, success, and notification badge animation specs with easing and scale values ready for CSS or motion libraries.

  • icon animation timing specs
  • badge motion interaction recipes

By the numbers

  • Applies Disney's 12 animation principles to icon and badge UI
  • Documents ~50ms anticipation scale before icon actions

Files

SKILL.mdMarkdownGitHub ↗

Icon & Badge Animation Principles

Apply Disney's 12 principles to small UI elements for personality and meaningful feedback.

Principles Applied to Icons

1. Squash & Stretch

Heart icons can squash/stretch on "like" tap. Notification badges can bounce with squash on arrival. Adds life to small elements.

2. Anticipation

Before icon action, brief scale down (0.9) for 50ms. Bell can tilt back before ringing forward. Prepares for action.

3. Staging

Active/important icons should be visually prominent: color, size, or animation. Badges use contrasting colors to stand out.

4. Straight Ahead & Pose to Pose

Simple icons use pose-to-pose (two states). Complex icon animations (morphing) can use straight-ahead for organic transitions.

5. Follow Through & Overlapping Action

Bell ring continues after user interaction stops. Badge number updates before badge bounce settles. Multi-part icons offset timing.

6. Ease In & Ease Out

Icon hover: ease-out. Icon click: ease-in-out. Bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55) for overshoot.

7. Arcs

Bell swinging follows pendulum arc. Refresh icons spin in true circular arcs. Arrows can arc during state changes.

8. Secondary Action

While icon scales (primary), color changes (secondary), glow pulses (tertiary). Badge count changes while badge bounces.

9. Timing

  • Hover scale: 100-150ms
  • Click feedback: 50-100ms
  • Badge bounce: 300-400ms
  • Bell ring: 400-600ms
  • Status pulse: 1500-2500ms
  • Morph transition: 250-350ms

10. Exaggeration

Celebratory icons (confetti, hearts) can be very animated. Functional icons (menu, close) should be subtle. Match purpose.

11. Solid Drawing

Icons must remain crisp at all animation frames. Maintain stroke consistency. Badge numbers should be legible during motion.

12. Appeal

Animated icons add personality. A bouncing notification feels alive. A pulsing status feels responsive. Small touches matter greatly.

CSS Implementation

.icon-btn:hover .icon {
  transform: scale(1.15);
  transition: transform 150ms ease-out;
}

.icon-btn:active .icon {
  transform: scale(0.9);
  transition: transform 50ms ease-in;
}

.badge {
  animation: badgeBounce 400ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes badgeBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.status-indicator {
  animation: pulse 2000ms ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.bell-icon:hover {
  animation: ring 500ms ease-in-out;
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20%, 60% { transform: rotate(15deg); }
  40%, 80% { transform: rotate(-15deg); }
}

Key Properties

  • transform: scale, rotate
  • opacity: pulse effects
  • animation: complex sequences
  • fill/stroke: SVG color changes
  • filter: glow effects

Related skills

How it compares

Use icons-badges for small element motion rather than full-page transitions or illustration-heavy animation systems.

FAQ

Which animation principles does icons-badges apply?

icons-badges applies Disney's 12 principles—squash and stretch, anticipation, staging, and more—to icons, badges, avatars, and status indicators so small UI elements communicate state without distracting users.

What interactions does icons-badges cover?

icons-badges covers hover, tap, success, and notification-count states with concrete timing such as brief 50ms anticipation scales before actions like bell icons ringing forward.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.