ux-component-states

Community

Instant, accessible UI state feedback.

Authormatthewharwood
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill consolidates interactive state handling for web components, reducing guesswork and ensuring consistent visual feedback across hover, focus, active, disabled, loading, and error states. It helps teams deliver accessible, responsive interfaces faster.

Core Features & Use Cases

  • Default, Hover, Focus, Active: Clear visual cues for each interaction state on buttons, inputs, and cards.
  • Disabled & Loading: Distinct non-interactive states with accessible indicators to prevent user confusion.
  • Error & Success States: Clear validation feedback and success indicators to guide users.
  • Real-World Use Case: Build a responsive login form where the submit button shows hover and focus feedback, shows a loading spinner while processing, and displays error messaging on invalid input.

Quick Start

Apply the provided CSS state patterns to a sample component (e.g., a .button) in your project and preview hover, focus, active, loading, and error states. Use the snippets above to implement consistent styling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ux-component-states
Download link: https://github.com/matthewharwood/fantasy-phonics/archive/main.zip#ux-component-states

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository