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.tsx and button.module.scss into 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."