What problem does it solve?
UI design often suffers from inconsistent components, missing interaction states, and undocumented specs, forcing frontend developers to guess at hover styles, disabled states, or sizing rules. This Skill provides a complete component specification framework covering variants, dimensions, and states for common UI elements.
Core Features & Use Cases
- Component State Matrices: Defines all states (default, hover, pressed, focus, disabled, loading, error) for buttons, inputs, selects, checkboxes, radios, and switches.
- Sizing and Variant Tables: Provides concrete pixel values for sm/md/lg sizes and variant definitions (primary, secondary, ghost, danger) for cards, tags, badges, and tooltips.
- Code Examples: Includes TSX usage snippets for each component so specs translate directly into implementation.
- Use Case: When designing a settings page, use this Skill to produce a component specification section documenting every button variant, input state, and card style so frontend developers can build without ambiguity.
Quick Start
Ask the UI designer agent to generate the component specification section for your design document, covering buttons, inputs, and cards with all states and sizes.