emotion-selection
Skill7 starsChanged 10 months agoMITView on GitHub
Select appropriate emotion tokens for animation context. Use when designing animations based on user feeling, brand personality, or interaction outcome to choose the right spring, easing, and timing parameters.
In this repository87 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- motion-designSkill
- 3d-transformsSkill
- accessibilitySkill
- android-nativeSkill
- animation-recipesSkill
- anticipationSkill
- arc-motionSkill
- attention-choreographySkill
- attentionSkill
- audio-reactiveSkill
- blurSkill
- brand-animationSkill
- cameraSkill
- characterSkill
- choice-resolutionSkill
- cinematicSkill
- code-generationSkill
- colorSkill
- component-animationsSkill
- compositingSkill
- consequenceSkill
- container-transformSkill
- css-advancedSkill
- data-visualizationSkill
- depthSkill
- distortionSkill
- dramaturgySkill
- durationSkill
- easingSkill
- emotional-journeySkill
- emotion-mappingSkill
- empty-statesSkill
- entrance-patternsSkill
- exaggerationSkill
- exit-patternsSkill
- exportSkill
- figma-integrationSkill
- follow-throughSkill
- frame-timingSkill
- gesture-motionSkill
- glow-shadowSkill
- intentSkill
- ios-nativeSkill
- loading-statesSkill
- loopingSkill
- lottieSkill
- masksSkill
- microstateSkill
- morphingSkill
- motion-auditSkill
- motion-blurSkill
- motion-principlesSkill
- motion-specsSkill
- narrative-arcSkill
- notificationsSkill
- onboardingSkill
- opacitySkill
- orchestratorSkill
- particlesSkill
- The first 60 shown.
The file
Files
Emotion Selection
Guide for selecting emotion tokens from tokens/emotion.tokens.json to match animation context.
Quick Selection
By User State
| User Feeling | Emotion Token | Key Parameters |
| Accomplished something | celebratory | bouncy spring, 1.2x duration, particles |
| Needs reassurance | calming | gentle spring, 1.4x duration, no effects |
| Under time pressure | urgent | snappy spring, 0.8x duration, pulse |
| Having fun | playful | bouncy spring, 1.1x duration, wobble |
| Making decisions | professional | standard spring, 1.0x duration, none |
| Discovering something | mysterious | gentle spring, 1.5x duration, glow |
| Highly engaged | energetic | snappy spring, 0.9x duration, trail |
| Encountered error | frustrated | snappy spring, 0.9x duration, shake |
| Trusting the system | trustworthy | gentle spring, 1.1x duration, none |
| Waiting | anticipatory | linear, 1.0x duration, shimmer |
| Pleasantly surprised | delightful | bouncy spring, 1.3x duration, sparkle |
| Concentrating | focused | snappy spring, 0.9x duration, none |
| First time here | welcoming | enter spring, 1.2x duration, wave |
By Interaction Type
| Interaction | Recommended Emotion |
| Form submission success | celebratory |
| Payment confirmed | celebratory + trustworthy (blend 70/30) |
| Error message | frustrated (brief) |
| Loading state | anticipatory |
| Onboarding step | welcoming |
| Toggle/switch | playful or professional |
| Modal open | professional or calming |
| Achievement unlock | delightful |
| Security prompt | trustworthy + urgent (blend 60/40) |
| Help tooltip | calming |
Emotion Parameters
Each emotion maps to specific animation parameters:
celebratory:
spring: {motion.spring.legacy.bouncy}
duration-multiplier: 1.2
exaggeration: expressive
secondary-effects: particles, glow
professional:
spring: {motion.spring.default.spatial}
duration-multiplier: 1.0
exaggeration: subtle
secondary-effects: noneSelection Process
Step 1: Identify Context
What just happened?
├── Success → celebratory, delightful
├── Error → frustrated (brief)
├── Loading → anticipatory
└── Navigation → professional, welcoming
What should user feel?
├── Confident → trustworthy
├── Engaged → playful, energetic
├── Calm → calming
└── Focused → focusedStep 2: Check Brand Compatibility
| Brand Attitude | Compatible Emotions | Avoid |
| Elegant | calming, trustworthy, professional | playful, energetic |
| Playful | playful, delightful, celebratory | professional, focused |
| Bold | energetic, celebratory, urgent | calming, mysterious |
| Friendly | welcoming, playful, calming | urgent, frustrated |
Step 3: Apply Context Modifiers
From tokens/emotion.tokens.json:
| Context | Duration | Exaggeration | Effects |
| First visit | +20% | +10% | +20% |
| Repeat user | -10% | -10% | -10% |
| Reduced motion | -50% | 0 | disabled |
| Low power | -20% | n/a | -30% |
Step 4: Blend if Needed
For complex scenarios, blend emotions:
// From emotion.tokens.json
"confident-celebration": {
"blend": ["celebratory", "trustworthy"],
"weights": [0.7, 0.3],
"use-case": "Payment success"
}Token Lookup
Load Token
import emotions from 'tokens/emotion.tokens.json';
const params = emotions.emotions.celebratory.parameters;
const spring = params['spring-ref']; // "{motion.spring.legacy.bouncy}"Resolve References
Spring refs use W3C DTCG format:
{motion.spring.legacy.bouncy} → tokens/spring.tokens.json → motion.spring.legacy.bouncyReduced Motion Mapping
| Emotion | Standard | Reduced Motion |
| celebratory | bounce + particles | fade + success icon |
| playful | spring + wobble | standard transition |
| energetic | fast + trail | quick fade |
| frustrated | shake | static error state |
Related Skills
- Dependencies: emotion-mapping, easing, duration
- Commonly used with: animation-recipes, component-animations
- See also: accessibility (for reduced motion implementation)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

