Skip to main content

SwiftUI · Checkboxes · Updated November 2026

5 best animated custom SwiftUI checkboxes

Need a SwiftUI custom checkbox with real motion? These five animated checkboxes play in SwiftUI from one .exode file, chosen from the 50 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. 1To-Do Strike
  2. 2Neon
  3. 3Squiggle
  4. 4Draw-On Tick
  5. 5Heart

What makes a good SwiftUI checkbox

  • A tick that draws or pops fast, under 300 ms.
  • A label that stays tappable with the box.
  • A Checked state your code sets and reads.
  • Motion that still reads with reduced motion on.

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

Side by side

#DesignCategoryInputsFile
1To-Do StrikeExpressive3607 B
2NeonEffects3595 B
3SquiggleEffects3601 B
4Draw-On TickCheck Motion3606 B
5HeartExpressive3601 B

Use it in SwiftUI

The code for #1, To-Do Strike, 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 CbTodoView: View {
    @StateObject private var controller = ExodeUICanvasController()

    var body: some View {
        VStack {
            ExodeUICanvas(bexodeAsset: "cb-todo", controller: controller)
                .aspectRatio(2.1, contentMode: .fit)
                .onAppear { controller.setInputBool("To-Do Strike · Checked", true) }
        }
    }
}

Questions

How do I make a custom animated checkbox 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 checkbox?

It depends on the job: To-Do Strike (expressive), Neon (effects), Squiggle (effects) cover different styles. These five are our picks from the 50 checkboxes 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 checkboxes with SwiftUI’s built-in checkbox?

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 checkbox is part of your brand.

Are they free?

Yes. They come from Checkbox 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 →