component-icon-button

Community

Generate accessible IconButtons in your project

Authorshawn-sandy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of building accessible icon-only buttons without missing required accessibility attributes or UI consistency.

Core Features & Use Cases

  • Scaffolds an fpkit-style IconButton: generates icon-button.tsx plus matching icon-button.module.scss into your project.
  • Type-level accessibility guardrails: enforces an XOR constraint so exactly one of aria-label or aria-labelledby is provided at compile time.
  • Responsive label behavior: supports an optional label that remains in the accessibility tree while being visually revealed only at larger viewports.
  • Handles dependencies automatically: ensures the Button dependency exists by generating component-button first (or aligning to the generation contract).

Quick Start

Invoke the skill with /kit-create and ask for an icon button, including the required aria-label, desired variant/size, and optional tooltip/label text.

Dependency Matrix

Required Modules

python3 scripts/detect_target.pypython3 scripts/verify_integration.py

Components

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-icon-button
Download link: https://github.com/shawn-sandy/agentic-acss-plugins/archive/main.zip#component-icon-button

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.