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

/small-200-300ms

@8359713
Run it yourself

Use when building small transitions between 200-300ms - modal appearances, card expansions, navigation transitions that users consciously perceive

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈41 tokens for metadata: the name and description. ≈618 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 ≈164 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.

Small Transitions (200-300ms)

At 200-300ms, users consciously perceive motion. This duration bridges micro-interactions and full animations - ideal for UI state changes.

Disney Principles at Small Duration

Works Well

Squash & Stretch: Visible but restrained - 10-15% for playful interfaces, 5% for professional.

Anticipation: Brief wind-up works - 40-60ms preparation enhances 200ms main action.

Staging: Clear hierarchy - primary element leads, secondary follows by 50-100ms.

Straight Ahead/Pose to Pose: Pose to pose preferred - keyframes create polished motion.

Follow Through: Noticeable overshoot - 5-10% past target adds life.

Slow In/Slow Out: Full easing curves - both ease-in-out and custom beziers shine.

Arcs: Natural curves enhance - elements can travel on arcs rather than straight lines.

Secondary Action: One or two secondary actions - fade + scale, move + rotate.

Timing: 12-18 frames at 60fps. Smooth, deliberate motion.

Exaggeration: Moderate to pronounced - depends on brand personality.

Solid Drawing: Full transform combinations - translate, scale, rotate together.

Appeal: Conscious animation that builds brand character.

Doesn't Work

  • Feeling instant (too slow)
  • Complex character animation
  • Long travel distances
  • Multiple sequential stages

Easing Recommendations

/* Standard smooth transition */
transition: all 250ms ease-out;

/* Modal/card appearance - confident arrival */
transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);

/* Bouncy personality */
transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);

/* Professional, subtle */
transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);

Best Use Cases

  • Modal dialogs appearing
  • Card expand/collapse
  • Navigation drawer slides
  • Tab content transitions
  • Filter panel toggles
  • Image thumbnails expanding
  • Alert/notification slides

Implementation Pattern

.modal {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 200ms ease-out,
              transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-expand {
  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

Key Insight

Small transitions are seen and understood. Users track the motion and their brain processes the spatial relationship. Use this to guide attention and communicate hierarchy.

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

    The skill provides design documentation and CSS snippets for user interface transitions. No security risks or executable code were detected.

  • 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/small-200-300ms