What problem does it solve?
Creates an accessible Icon component on demand, so developers can quickly add consistent, WCAG-aligned inline SVG icons without manually wiring aria attributes, sizing, or boilerplate.
Core Features & Use Cases
- Accessible SVG output: Renders an inline
<svg> for a chosen built-in icon name, supporting decorative usage via aria-hidden and standalone/informative usage via aria-label (with appropriate role).
- Simple sizing and color control: Uses a
size prop (default 16) and a color prop (default currentColor) so icons match surrounding typography and theme needs.
- Project-scaffolding workflow: Writes the component to the target project (via the skill’s generation contract), then runs an integration verification pass to help confirm it works in context.
Quick Start
Ask the agent to create an accessible info icon component in your project named Icon with size 20 and decorative aria-hidden behavior by running /kit-add icon and specifying the icon name "info", size 20, and that it should be decorative.