component-img

Community

Generate accessible, responsive image components

Authorshawn-sandy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the repetitive, error-prone work of creating accessible React image components with correct alt behavior, layout stability, and performance-friendly defaults.

Core Features & Use Cases

  • Accessible Img component generation: creates an fpkit-style Img wrapper that enforces required alt usage for informative images and supports alt="" for decorative images.
  • Layout shift prevention: scaffolds width/height handling and SCSS defaults that reserve space and keep images contained.
  • Performance-ready image delivery: supports lazy/eager loading, decoding, fetchpriority hints, and responsive srcSet/sizes.

Quick Start

Use the component-img skill to generate an Img for your project by providing the image src, the alt text (or marking it decorative), the aspect ratio via width/height, and whether it should load lazily or eagerly.

Dependency Matrix

Required Modules

None required

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

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.