Image
Image::make($src) renders an image. Clicking it opens the full-size image in a lightbox overlay —
press Esc, click the backdrop, or use the close button to dismiss it.
Stack::make()->direction('row')->gap(Gap::Small)->schema([ Image::make('https://picsum.photos/id/1060/600/400') ->alt('Coffee brewing setup') ->size(96), Image::make('https://picsum.photos/id/1080/600/400') ->alt('Strawberries') ->size(96) ->circular(), Image::make('https://picsum.photos/id/1084/600/400') ->alt('Walrus resting') ->size(96) ->previewable(false),]);- align:null
- direction:"row"
- float:null
- gap:"sm"
- height:null
- justify:null
- width:null
- alt:"Coffee brewing setup"
- circular:false
- previewable:true
- size:96
- src:"https://picsum.photos/id/1060/600/400"
- alt:"Strawberries"
- circular:true
- previewable:true
- size:96
- src:"https://picsum.photos/id/1080/600/400"
- alt:"Walrus resting"
- circular:false
- previewable:false
- size:96
- src:"https://picsum.photos/id/1084/600/400"
Options
Section titled “Options”->alt($text)sets the accessible description. Always set it — it labels both the inline image and the lightbox for screen readers.->size(96)fixes the rendered size in pixels (square). Without it the image keeps its natural size.->circular()clips the image to a circle. For people, prefer the Avatar component and its initials fallback.->previewable(false)turns the lightbox off and renders a plain image.