Svelte ImageRow Component.

javscript svelte

<ImageRow />

Where you want all images to be the same height, but to have their width adjusted so they fit the width of the page without stretching or cropping images.

Check it out on the Svelte REPL here -> Svelte ImageRow Component

The next step would be to look at some of the existing components to see if this feature is already done well or if I can improve it with the code I have written.

This is one of the components