Index of every page on this site: llms.txt
All skills
dylantarre avatar

/micro-100-200ms

@8359713
Run it yourself

Use when building micro-interactions between 100-200ms - tooltips appearing, dropdown opens, small feedback animations that feel quick but perceptible

Use this Skill: https://skilld.dev/gh/dylantarre/animation-principles/micro-100-200ms

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈42 tokens for metadata: the name and description. ≈586 when used: this file.

Description uses 2.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈168 characters, or 2.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Micro Animations (100-200ms)

The 100-200ms range is the sweet spot for micro-interactions. Fast enough to feel responsive, slow enough to be perceived as intentional motion.

Disney Principles at Micro Speed

Works Well

Squash & Stretch: Light application - 5-10% works for bouncy buttons, appearing elements.

Anticipation: Micro-anticipation possible - 20-30ms wind-up before 150ms action.

Staging: Single focal point - one element moving, rest static.

Straight Ahead/Pose to Pose: Either works - simple enough for straight ahead, controlled enough for poses.

Follow Through: Minimal overshoot - 2-5% past target, settle quickly.

Slow In/Slow Out: ease-out dominates - elements should arrive confidently.

Arcs: Slight curves possible - dropdown items can arc subtly rather than straight down.

Secondary Action: One secondary max - icon rotates while menu opens.

Timing: 6-12 frames at 60fps. Enough for smooth motion.

Exaggeration: Moderate - scale 0.9-1.1, rotation up to 30 degrees.

Solid Drawing: Simple transforms - scale, opacity, short translations.

Appeal: Quick animations feel modern and polished.

Doesn't Work

  • Long travel distances
  • Complex choreography
  • Heavy physics simulations
  • Multi-stage reveals
  • Elaborate anticipation sequences

Easing Recommendations

/* Standard micro-interaction */
transition: all 150ms ease-out;

/* Appearing elements - start fast, land soft */
transition: opacity 120ms ease-out, transform 150ms ease-out;

/* Bouncy micro-feedback */
transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);

Best Use Cases

  • Tooltip appearance
  • Dropdown menus opening
  • Icon state changes
  • Small hover animations
  • Notification badges
  • Tab switches
  • Accordion headers

Implementation Pattern

.tooltip {
  opacity: 0;
  transform: translateY(-4px) scale(0.95);
  transition: opacity 120ms ease-out,
              transform 150ms ease-out;
}

.trigger:hover .tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  opacity: 0;
  transform: translateY(-8px);
  transition: all 150ms ease-out;
}

Key Insight

Micro-animations are felt more than watched. Users notice when they're missing but don't consciously observe them. This is where polish lives.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a design reference providing documentation and CSS snippets for UI micro-animations. It contains no executable scripts, network operations, or security risks.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 8359713. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 11 months ago

README badge

README badge for dylantarre/animation-principles/micro-100-200ms