React
AWS Architecture Icons as tree-shakeable,
typed React components — 805 icons in architecture-group, architecture-service, category, and resource sets.
Successor of the deprecated react-aws-icon package. Dual ESM + CJS.
Install
Section titled “Install”pnpm add @aws-icons/reactimport {AmazonEc2} from '@aws-icons/react/architecture-service';// or per-icon (no barrel): import AmazonEc2 from '@aws-icons/react/resource/amazon-ec2-instance';
<AmazonEc2 width={32} /> // decorative: aria-hidden<AmazonEc2 title="Amazon EC2" /> // accessible: role="img" + aria-labelStyles: @aws-icons/react/architecture-service, /architecture-group, /category, /resource.
Every component forwards its ref and accepts all SVGProps<SVGSVGElement>.
Icon names are the PascalCased slug (1st-place-medal → Icon1stPlaceMedal).