Optional context: anyBasic image with required alt text
<ImgElement
src="/path/to/image.jpg"
alt="Description of the image"
/>
Decorative image (alt not required or allowed)
<ImgElement
src="/path/to/decorative.jpg"
decorative={true}
/>
Navigation icon
<ImgElement
src="/icons/menu.svg"
decorative={true}
width={24}
height={24}
/>
Generated using TypeDoc
Centralized image component with proper accessibility handling. Provides consistent image rendering across the application with automatic accessibility attributes based on the decorative flag.
For non-decorative images, alt text is required to ensure accessibility. For decorative images, alt text is automatically set to empty string.