Image

readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.

Description

Use Image to render images.

Accessibility

Always provide a meaningful alt.

Arguments

NameRequiredDescription
src
String

The source url of the image.

alt
String

Specifies an alternate text for the image.

lazy
Boolean

Whether or not to lazily load the image.

system_arguments