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.
SwiftUI · Image galleries · Updated November 2026
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.
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.
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.
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.
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.
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.
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.
| # | Design | Category | Inputs | File |
|---|---|---|---|---|
| 1 | Photo Globe | 3D Spaces | 10 | 2.1 KB |
| 2 | Page Turn | 3D Spaces | 11 | 1.6 KB |
| 3 | Fisheye Grid | Lens & Focus | 8 | 2.0 KB |
| 4 | Cover Flow | Carousels & Coverflow | 11 | 1.7 KB |
| 5 | Cylinder Ring | Carousels & Coverflow | 11 | 1.7 KB |
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") }
}
}
}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.
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.
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.
Yes. They come from Gallery Studio, built into the ExodeUI editor and included in the free Community plan. The SwiftUI runtime is free too.
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.
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