Interface: ImageComponentProps
Properties
alt?
optionalalt?:string
Alt text override. Defaults to data.altText. Pass an empty string
(alt="") when the image is purely decorative — explicit empty alt is the
correct accessibility signal.
className?
optionalclassName?:string
Class name for styling — keeps the component headless.
data
data:
ImageData
Image payload from a GraphQL query (url, altText, width, height, thumbhash).
priority?
optionalpriority?:boolean
Above-the-fold flag. When true: loading="eager" + fetchPriority="high".
When false (default): loading="lazy" + fetchPriority="auto".
sizes?
optionalsizes?:string
Responsive sizes attribute. Defaults to 100vw.
style?
optionalstyle?:CSSProperties
Inline style override. Merged with the blur placeholder background.