Rate this page:
A component to display an image.
1
import ForgeUI, { Image } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
alt | string | Yes | The alternative text displayed if the image is not loaded. |
src | string | Yes | The URL of the image. |
size | string | The size of the image. Valid values are xsmall , small ,
medium , large , and xlarge .
Defaults to xlarge . |
Display an animated GIF.
1 2 3 4
<Image
src="https://media.giphy.com/media/jUwpNzg9IcyrK/source.gif"
alt="homer"
/>
Rate this page: