RRigdesign system
Data display

Image

An image container with an optional caption overlay slot.

Anatomy

No interactive example yet. The anatomy for this component lives in the Figma file; the tables below describe it.

Anatomy

Image anatomy
#PartDescriptionPresence
1ImageRadius 12pxRequired
2Caption overlayOptional slotOptional

Specifications

Border radiusRounded 12px
SlotCaption metadata overlay

Interaction

Keyboard
KeyResult
NoneNot focusable
Pointer and touch
TriggerResponse
HoverNone

Accessibility

role · image

1.1.1Non-text Content1.4.3Contrast (Minimum)
Requirements
RequirementHow Rig meets it
Alt textDescribe what matters in context. alt="" when decorative.
Caption overlayText over an image needs a scrim to reach 4.5:1
ResponsiveProvide intrinsic width and height to avoid layout shift

Read the matching WAI pattern ↗

Usage

Do and don’t
DoDon’t
Write alt text for the purpose, not the pixelsDo not start alt text with “image of”