What problem does it solve?
This Skill prevents incomplete or ambiguous interactive components by defining clear visual feedback for every stage of an interaction, improving usability, confidence, and keyboard accessibility.
Core Features & Use Cases
- Complete Interaction States: Define rest, hover, active or pressed, focus, disabled, and loading states for buttons, links, inputs, and other clickable elements.
- Algorithmic Color Derivation: Generate coherent hover and active colors from a base color using HSL lightness adjustments instead of arbitrary choices.
- Accessible Feedback: Add visible keyboard focus rings, appropriate disabled behavior, stable loading layouts, and concise transition guidance.
- Use Case: Apply the Skill when reviewing a component library to ensure every interactive control has consistent, accessible, and production-ready visual states.
Quick Start
Use the button-states skill to define and review all six visual states for the interactive components in this interface.