Skip to main content

Svelte · Image galleries · Updated November 2026

5 best animated Svelte image gallery components

Need a Svelte image gallery component with real motion? These five animated image galleries play in Svelte from one .exode file, chosen from the 100 in Exode Galleries. Each one is live below: try it, then open it in ExodeUI and drop it into your Svelte app with the code at the end.

  1. 1Masonry
  2. 2Helix Tower
  3. 3Polaroid Pile
  4. 4Swipe Deck
  5. 5Photo Globe
1

Masonry Svelte image gallery

Grids & Mosaics

Three columns of photos at their own heights. Hover lifts a photo and zooms it inside its frame. Our first pick: a grids & mosaics image gallery with 9 inputs your Svelte code can drive, in a 1.7 KB file.

2

Helix Tower Svelte image gallery

3D Spaces

Photos climb a spiral tower; scroll turns it. Front photos face you, the back ones turn away. It is a 3d spaces image gallery with 11 inputs your Svelte code can drive, in a 1.8 KB file.

3

Polaroid Pile Svelte image gallery

Stacks & Piles

A messy pile of polaroids. Fling the top one away and the next is waiting underneath. It is a stacks & piles image gallery with 9 inputs your Svelte code can drive, in a 1.5 KB file.

4

Swipe Deck Svelte image gallery

Gestures & Reveals

Captioned photos stacked like a dating app: fling the top card left or right to reveal the next. It is a gestures & reveals image gallery with 9 inputs your Svelte code can drive, in a 1.4 KB file.

5

Photo Globe Svelte image gallery

3D Spaces

Round photos spread over a turning globe. Drag to spin it; the far side dims behind. It is a 3d spaces image gallery with 10 inputs your Svelte code can drive, in a 2.1 KB file.

What makes a good Svelte image gallery

  • Photos from one list of URLs, so your app passes its own images.
  • Swipe and drag that feel physical.
  • Layouts that keep each photo’s shape.
  • A selected photo your code can read.

Use it as a checklist when you compare the picks above. Each one is a native image gallery in ExodeUI, so whatever is missing you change in the editor instead of rewriting Svelte code.

Side by side

#DesignCategoryInputsFile
1MasonryGrids & Mosaics91.7 KB
2Helix Tower3D Spaces111.8 KB
3Polaroid PileStacks & Piles91.5 KB
4Swipe DeckGestures & Reveals91.4 KB
5Photo Globe3D Spaces102.1 KB

Use it in Svelte

The code for #1, Masonry, with its real file and input names. Every pick works the same way.

npm install exodeui-svelte
<script>
  import { ExodeUICanvas, createExodeUI } from 'exodeui-svelte';
  import artboard from './g-masonry.exode?raw';

  const exo = createExodeUI();
  function onReady(engine) {
    exo.setEngine(engine);
    exo.setInputNumber("Masonry · Selected row", 10.5);
  }
</script>

<ExodeUICanvas artboard={JSON.parse(artboard)} fit="Contain" onready={onReady} />
<button onclick={() => exo.fireTrigger("Masonry · Replay")}>Replay</button>

Questions

How do I make a custom animated image gallery in Svelte?

Pick a design here, open it in ExodeUI and change it, then export a .bexode file. Install exodeui-svelte (npm install exodeui-svelte) and load the file with the runtime; the code below uses the first pick’s real file and input names. The motion, states and springs live in the file, so your Svelte code only sets and reads inputs.

What is the best Svelte image gallery component?

It depends on the job: Masonry (grids & mosaics), Helix Tower (3d spaces), Polaroid Pile (stacks & piles) cover different styles. These five are our picks from the 100 image galleries in Exode Galleries, chosen for range, for how much is wired to inputs and for how well they read small. They are not a survey of other libraries.

Can I use these image galleries with Svelte’s built-in image gallery?

They replace it where you want custom motion. Keep the built-in one where the platform default is right, and use an ExodeUI file where the image gallery is part of your brand.

Are they free?

Yes. They come from Gallery Studio, built into the ExodeUI editor and included in the free Community plan. The Svelte runtime is free too.

Can I change them?

Yes. Open one in ExodeUI and every part is a native layer: colours, type, motion and logic. The input names stay the same, so your code keeps working.

Related searches

Make your own in ExodeUI

Free to start. Every studio behind this library is built into the editor, and everything it makes stays native and editable.

Try ExodeUI for free
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →