Skip to main content

SwiftUI · Image galleries · Updated November 2026

5 best animated custom SwiftUI image galleries

Need a SwiftUI custom image gallery with real motion? These five animated image galleries play in SwiftUI 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 SwiftUI app with the code at the end.

  1. 1Photo Globe
  2. 2Page Turn
  3. 3Fisheye Grid
  4. 4Cover Flow
  5. 5Cylinder Ring
1

Photo Globe SwiftUI image gallery

3D Spaces

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

2

Page Turn SwiftUI image gallery

3D Spaces

A photo book: swipe and the page turns over the spine onto the left-hand stack. It is a 3d spaces image gallery with 11 inputs your SwiftUI code can drive, in a 1.6 KB file.

3

Fisheye Grid SwiftUI image gallery

Lens & Focus

A dense grid seen through a fisheye lens that follows the pointer: the centre swells, the edges bow away. It is a lens & focus image gallery with 8 inputs your SwiftUI code can drive, in a 2.0 KB file.

4

Cover Flow SwiftUI image gallery

Carousels & Coverflow

The classic: the focus photo faces you, the rest fold away to each side with depth. The photo shifts inside its frame as it turns. It is a carousels & coverflow image gallery with 11 inputs your SwiftUI code can drive, in a 1.7 KB file.

5

Cylinder Ring SwiftUI image gallery

Carousels & Coverflow

Photos stand on the inside of a rotating cylinder. Drag to spin it; the back of the ring fades and turns edge-on. It is a carousels & coverflow image gallery with 11 inputs your SwiftUI code can drive, in a 1.7 KB file.

What makes a good SwiftUI 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 SwiftUI code.

Side by side

#DesignCategoryInputsFile
1Photo Globe3D Spaces102.1 KB
2Page Turn3D Spaces111.6 KB
3Fisheye GridLens & Focus82.0 KB
4Cover FlowCarousels & Coverflow111.7 KB
5Cylinder RingCarousels & Coverflow111.7 KB

Use it in SwiftUI

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

.package(url: "https://github.com/exodeUI/exode-swift.git", from: "7.6.0")
import SwiftUI
import ExodeUI

struct GGlobeView: View {
    @StateObject private var controller = ExodeUICanvasController()

    var body: some View {
        VStack {
            ExodeUICanvas(bexodeAsset: "g-globe", controller: controller)
                .aspectRatio(1.07, contentMode: .fit)
                .onAppear { controller.setInputNumber("Photo Globe · Selected row", 16.8) }
            Button("Replay") { controller.fireTrigger("Photo Globe · Replay") }
        }
    }
}

Questions

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

Pick a design here, open it in ExodeUI and change it, then export a .bexode file. Install ExodeUI (.package(url: "https://github.com/exodeUI/exode-swift.git", from: "7.6.0")) 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 SwiftUI code only sets and reads inputs.

What is the best SwiftUI custom image gallery?

It depends on the job: Photo Globe (3d spaces), Page Turn (3d spaces), Fisheye Grid (lens & focus) 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 SwiftUI’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 SwiftUI 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 →