Skip to content
Block Kit for React
Esc
↑↓navigate↵open⌘Jpreview
On this page

Image element

A small image used as a section accessory or context_actions decoration.

The image element renders a single <img> from image_url, with alt_text as its accessible text. Use it where an image needs to sit alongside other content (as a section’s accessory, or inside a context_actions row) rather than as its own block. For a full-width standalone image, see the image block instead.

Your AppAPP
This is a section block with an accessory image.
cute cat

Fields

PropType
typestring

Always `image`.

Typestring
image_urlstring

A public URL to the image.

Typestring
alt_textstring

A plain-text description of the image, for screen readers. Doesn't accept markup.

Typestring

Examples

As a section accessory

The preview above shows the most common placement: a thumbnail next to a section’s text.

Your AppAPP
New device sign-in
A new device just signed into your account.
New device icon

Interactivity

image is display-only: it doesn’t dispatch any action and has no entry in state.values.

Was this page helpful?