component-button
CommunityGenerate accessible Button components fast
Software Engineering#wcag#generate#accessible react#button component#scss theming#aria-disabled#fpkit acss
Authorshawn-sandy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of manually building accessible, variant-rich UI buttons in React by generating a fully wired Button component (TSX) plus matching SCSS and accessibility behavior.
Core Features & Use Cases
- Accessible Button generation: Produces an fpkit-style Button that uses aria-disabled (keeps keyboard reachability) and includes focus-visible styling.
- Variant + token-driven styling: Supports primary/secondary/destructive (danger)/ghost-like (text/outline/icon) variants plus size and color via data attributes and CSS variables.
- Drop-in component output: Writes
button.tsxandbutton.module.scssinto your project and verifies integration afterward. - Example use case: When you need a consistent accessible “Save” action plus a “Delete” destructive action in the same design system, this skill generates both buttons with matching theming hooks.
Quick Start
Ask for a button like: "Create a primary submit button with size lg, no loading state, and no icons for my React project."
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: component-button Download link: https://github.com/shawn-sandy/agentic-acss-plugins/archive/main.zip#component-button Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.