x
1
2
3
4
5
<div class="max-w-sm"> <div class="midwest-image"> <img class="midwest-image-main" src="https://fastly.picsum.photos/id/685/800/600.jpg?hmac=sWb0xR86JlxAieZShPwfbn0gAT0FFv55TkLcfQTw0Hk" alt="A scenic landscape" loading="lazy"> </div></div>1
2
3
<div class="max-w-sm"> <%= render Midwest::ImageComponent.new(src: 'https://fastly.picsum.photos/id/685/800/600.jpg?hmac=sWb0xR86JlxAieZShPwfbn0gAT0FFv55TkLcfQTw0Hk', alt: 'A scenic landscape') %></div>Default
A responsive image with native lazy loading.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Image/default
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."