urgency-action

GitHub

提供紧迫感与行动导向动画的设计原则、CSS实现及适用场景,用于提升用户响应速度和转化率。

skills/06-by-emotional-outcome/urgency-action/SKILL.md dylantarre/animation-principles

Trigger Scenarios

创建强调时间敏感的动画 设计促使用户立即行动的交互效果

Install

npx skills add dylantarre/animation-principles --skill urgency-action -g -y
More Options

Non-standard path

npx skills add https://github.com/dylantarre/animation-principles/tree/main/skills/06-by-emotional-outcome/urgency-action -g -y

Use without installing

npx skills use dylantarre/animation-principles@urgency-action

指定 Agent (Claude Code)

npx skills add dylantarre/animation-principles --skill urgency-action -a claude-code -g -y

安装 repo 全部 skill

npx skills add dylantarre/animation-principles --all -g -y

预览 repo 内 skill

npx skills add dylantarre/animation-principles --list

SKILL.md

Frontmatter
{
    "name": "urgency-action",
    "description": "Use when creating animations that prompt immediate user action, highlight time-sensitivity, or drive conversions."
}

Urgency & Action Animation

Create animations that motivate immediate response and communicate time-sensitivity.

Emotional Goal

Urgency creates a compelling need to act now. Action-driving animations capture attention, create momentum, and remove hesitation through dynamic, forward-moving motion.

Disney Principles for Urgency

Squash & Stretch

Sharp, impactful deformations. Quick squash on landing (15-25%) creates impact. Fast stretch during motion shows speed and force.

Anticipation

Very short or none (0-50ms). Urgency means no time to prepare. Direct, immediate action. Skip wind-up for instant response.

Staging

Aggressive focus on call-to-action. High contrast, motion isolation. Everything else should recede. Spotlight the urgent element.

Straight Ahead Action

Creates unpredictable, attention-grabbing movement. Use for pulsing, shaking, or urgent indicator animations.

Follow Through & Overlapping Action

Minimal follow-through. Sharp stops communicate decisiveness. No lingering—immediate resolution drives action.

Slow In & Slow Out

Asymmetric: fast start, abrupt end. ease-out with high initial velocity. cubic-bezier(0.0, 0, 0.2, 1) for aggressive acceleration.

Arc

Direct, linear paths for speed. Urgency takes the shortest route. Curved paths feel leisurely—use straight lines.

Secondary Action

Attention-grabbing pulses, glows, or shakes. Badge counters that bounce. Subtle but persistent motion draws eyes.

Timing

Fast and punchy (100-200ms). Rapid animations create energy. Pulse intervals: 1-2 seconds to maintain attention without annoyance.

Exaggeration

Moderate to high (20-40%). Amplified motion captures attention. Oversized bounces on notifications, emphasized shakes on errors.

Solid Drawing

Strong, bold forms. High-contrast shapes that command attention. No subtlety—clarity is paramount.

Appeal

Bold colors (red, orange). Strong contrast. Asymmetric, dynamic compositions that feel active, not static.

Timing Recommendations

Element Duration Easing
Attention pulse 150-200ms ease-out
CTA bounce 200-300ms ease-out-back
Countdown tick 100ms linear
Error shake 300-400ms ease-in-out

CSS Easing

--urgency-snap: cubic-bezier(0.0, 0, 0.2, 1);
--urgency-punch: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--urgency-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);

Attention Patterns

@keyframes urgent-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes urgent-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

When to Use

  • Limited-time offers and sales
  • Low stock warnings
  • Countdown timers
  • Form validation errors
  • Notification badges
  • Call-to-action buttons
  • Checkout urgency

Ethics Note

Use urgency honestly. Fake scarcity damages trust. Reserve for genuinely time-sensitive situations.

Version History

  • 8359713 Current 2026-12-03 14:21

Same Skill Collection

skills/01-by-domain/3d-spatial/SKILL.md
skills/01-by-domain/accessible-motion/SKILL.md
skills/01-by-domain/brand-marketing/SKILL.md
skills/01-by-domain/data-visualization/SKILL.md
skills/01-by-domain/game-development/SKILL.md
skills/01-by-domain/micro-interactions/SKILL.md
skills/01-by-domain/mobile-touch/SKILL.md
skills/01-by-domain/page-transitions/SKILL.md
skills/01-by-domain/presentations/SKILL.md
skills/01-by-domain/universal-fallback/SKILL.md
skills/01-by-domain/video-motion-graphics/SKILL.md
skills/01-by-domain/web-motion-design/SKILL.md
skills/02-by-thinking-style/anticipation-payoff/SKILL.md
skills/02-by-thinking-style/attention-direction/SKILL.md
skills/02-by-thinking-style/character-appeal/SKILL.md
skills/02-by-thinking-style/emotional-narrative/SKILL.md
skills/02-by-thinking-style/exaggerated-clarity/SKILL.md
skills/02-by-thinking-style/naturalistic-motion/SKILL.md
skills/02-by-thinking-style/physics-intuition/SKILL.md
skills/02-by-thinking-style/problem-diagnosis/SKILL.md
skills/02-by-thinking-style/rhythm-pacing/SKILL.md
skills/02-by-thinking-style/spatial-thinking/SKILL.md
skills/02-by-thinking-style/timing-mastery/SKILL.md
skills/02-by-thinking-style/universal-mindset/SKILL.md
skills/03-by-role-persona/accessibility-advocate/SKILL.md
skills/03-by-role-persona/animator-traditional/SKILL.md
skills/03-by-role-persona/brand-strategist/SKILL.md
skills/03-by-role-persona/creative-director/SKILL.md
skills/03-by-role-persona/educator-teacher/SKILL.md
skills/03-by-role-persona/filmmaker/SKILL.md
skills/03-by-role-persona/frontend-developer/SKILL.md
skills/03-by-role-persona/game-designer/SKILL.md
skills/03-by-role-persona/motion-designer/SKILL.md
skills/03-by-role-persona/product-manager/SKILL.md
skills/03-by-role-persona/universal-practitioner/SKILL.md
skills/03-by-role-persona/ux-researcher/SKILL.md
skills/04-by-skill-level/absolute-beginner/SKILL.md
skills/04-by-skill-level/advanced/SKILL.md
skills/04-by-skill-level/deep-dive/SKILL.md
skills/04-by-skill-level/expert/SKILL.md
skills/04-by-skill-level/intermediate/SKILL.md
skills/04-by-skill-level/master/SKILL.md
skills/04-by-skill-level/novice/SKILL.md
skills/04-by-skill-level/quick-start/SKILL.md
skills/04-by-skill-level/refresher/SKILL.md
skills/04-by-skill-level/teaching-others/SKILL.md
skills/04-by-skill-level/troubleshooting/SKILL.md
skills/04-by-skill-level/universal-reference/SKILL.md
skills/05-by-animation-type/attention-grabbers/SKILL.md
skills/05-by-animation-type/continuous-loops/SKILL.md

Metadata

Files
0
Version
8359713
Hash
cb6cd5af
Indexed
2026-12-03 14:21

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-05 05:32
浙ICP备14020137号-1