prompt

Motion & Interaction Microspec

Write precise motion specifications for UI interactions including duration, easing, triggering conditions, and performance constraints.

Updated June 2026
The prompt
Specify motion for {{interaction_event}} on {{ui_element}}.

Define:
1. Trigger condition (click, hover, scroll, load, focus)
2. Animation type (fade, slide, scale, rotate, morph)
3. Duration in ms (consider 200-500ms standard, 300ms preferred)
4. Easing curve (ease-in-out, cubic-bezier, spring physics)
5. Direction/axis (X, Y, Z, rotation angle)
6. Start/end opacity & transform values
7. Stagger delay (if multi-element)
8. GPU acceleration flag
9. Disabled state behavior (prefers-reduced-motion respect)
10. Fallback for low-end devices

Format as CSS animation shorthand + explanatory notes.
Did it work? Rate this prompt

Variables

User action type
Target component

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Design & Creative.

skillclaude_appclaude_codeclaude_api
git clone https://github.com/anthropics/skills && cp -r skills/skills/frontend-design ~/.claude/skills/
Frontend Design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and…★ 4.8 · 2,500+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/anthropics/skills && cp -r skills/skills/slack-gif-creator ~/.claude/skills/
Slack Gif Creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users…★ 4.8 · 2,500+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/anthropics/skills && cp -r skills/skills/web-artifacts-builder ~/.claude/skills/
Web Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui…★ 4.8 · 2,500+
skillclaude_appclaude_codeclaude_api
git clone https://github.com/anthropics/skills && cp -r skills/skills/canvas-design ~/.claude/skills/
Canvas Design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece…★ 4.8 · 2,500+
image stylemidjourneydall-eflux
Photorealistic architecture renders — exteriors, interiors, urban context.
Architectural Render Style Pack
Photorealistic architecture renders — exteriors, interiors, urban context.0+
prompt
Checks color pairs against WCAG contrast rules and suggests accessible fixes.
Accessibility Contrast Checker
Checks color pairs against WCAG contrast rules and suggests accessible fixes.0+

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Design & Creative