Image

Plain image

Just a plain image

This is a image
Hey, I am a caption for an image

Rounded corners

An image with border radius for rounded corners

This is a image
Image with rounded corners (default size: md)

Missing plain image

Image not found but rendered as a placeholder.

Full width image

Image in full width mode.

This is a image

Cover image

Image with cover mode, that covers the parent container.

This is a image

Parameters (Blade)

Key Default value Type Available values Description
false boolean - A string containing a valid URL or an ImageInterface object. If the object is used, the srcset attribute is ignored.
false boolean - A string containing a valid srcset attribute. Ignored if src is an ImageInterface object.
string - Alt text of the imag. May override the alt text of the ImageInterface object.
string - Image caption. That will be visible for the user.
false boolean - Removes the visible caption. The caption may still be used as an alt-text for the image.
string - Byline for additional information, placed under the caption
false boolean - If the image should obtain the --full-width modifier.
false boolean - If the image should obtain the --cover modifier.
false boolean - Border radius of the image, false for no radius. Accepted values are xs, sm, md, lg, full (circle)
true boolean - If the placeholder should be enabled, if false, the component will not render at all if the src is empty
false boolean - Label to show if image is missing
broken_image string - Icon to display if image is missing / false to hide
xxl string - Icons size, please refer to image component for size.
[] array - Attributes for the img element.
true boolean - If the low quality image placeholder should be enabled.
true boolean - If the aspect ratio should be calculated based on the image dimensions. This option will be ignored if cover is set to true.
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes

Parameters (CSS)

Key Default value Type Available values Description
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--color--background-alt) color - Manual companion token for subtle background surfaces.
var(--color--background-contrast-muted) color - Derived muted contrast for text and icons on background surfaces.
var(--border-width) range - Border width
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner shape
var(--font-size-90) range - One step below base in the type scale.
var(--font-family-heading) font - Falls back to body font if not set.
var(--font-weight-bold) select 600, 700, 800, 900 Placeholder font weight
var(--line-height-base) range - Caption line height
1 range - Scales the border radius locally without changing the global border radius scale.