Skip to content

TheGoat395/Codex-Skills / skills/motion-react-microinteractions

motion-react-microinteractions

Verified

Design tactile interaction feedback and timing.

FileKindSize
SKILL.mdskill md1.5 KB
agents/openai.yamlconfig292 B
references/motion-react-microinteractions-guide.mdmarkdown1.2 KB

references/motion-react-microinteractions-guide.md

View on GitHub
# Motion React Microinteractions Guide

## Lens

Microinteractions are state communication. They should be quiet, fast, and consistent.

## Rules

- Use CSS transitions for simple color, shadow, and transform state changes.
- Use Motion for component lifecycle, layout transitions, gesture states, and scroll values.
- Centralize common transitions and easings.
- Design hover, active, focus-visible, disabled, loading, and empty states.

## Useful Patterns

- Button: slight translate or background sweep, clear focus ring, icon movement.
- Card: media scale or reveal, not whole-card wobble.
- Menu: opacity plus y or clip reveal with focus management.
- Tabs: layout indicator and content crossfade.

## Avoid

- Animating layout properties that cause jank.
- Huge hover lifts on dense product UI.
- Missing reduced-motion handling.

## Acceptance Criteria

- Interactive elements communicate state clearly.
- Motion is visible but not noisy.

## Shared scope

For applicable substantial web work, reuse the [shared scoped web contract](../../website-operating-rules/references/scoped-web-contract.md) when available. Preserve current authorization, stack and requested scope; this optional reference does not require another planning or approval cycle.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 321kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall