Skip to content

Astro

AWS Architecture Icons for Astro — the SVG is inlined at build time, so pages ship zero client JS.

Terminal window
pnpm add @aws-icons/astro
---
import {Icon} from '@aws-icons/astro';
---
<Icon name="amazon-ec2" />
<Icon name="amazon-ec2" variant="architecture-group" width="32" />
<Icon name="aws-lambda" title="Serverless!" />
  • name — typed icon slug (805 available)
  • variantarchitecture-service (default) · architecture-group · category · resource
  • title — accessible label; omitted → aria-hidden
  • any other attribute is passed to the root <svg>

Need the raw string (endpoints, MDX helpers)? loadIconSvg(name, variant, attrs).