Name | Description | Default | Control |
---|---|---|---|
bordered | An image can appear with rectangular border. boolean | - | |
fit | An image can set how it should be resized to fit its container. "center""none""contain""cover" | - | |
block | An image can take up the width of its container. boolean | - | |
shape | An image can appear square, circular, or rounded. "circular""square""rounded" | - | |
shadow | An image can appear elevated with shadow. boolean | - | |
alt | description of the image, which isn't mandatory but is incredibly useful for accessibility - | ||
src | path to the image you want to display - |