Skip to main content

SwiftUI · Dropdowns · Updated November 2026

5 best animated custom SwiftUI dropdown menus

Need a SwiftUI custom dropdown menu with real motion? These five animated dropdown menus 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. 1Morph
  2. 2Carousel
  3. 3Sheet
  4. 4Spring Drop
  5. 5Country
1

Morph SwiftUI dropdown menu

Open Motion

The field itself grows into the list. Our first pick: a open motion dropdown with 6 inputs your SwiftUI code can drive, in a 733-byte file.

What makes a good SwiftUI dropdown menu

  • An open motion that starts from the trigger.
  • Items from data, with icons, flags or colours.
  • Open and selected item as inputs your code controls.
  • A menu that stays inside small screens.

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

Side by side

#DesignCategoryInputsFile
1MorphOpen Motion6733 B
2CarouselPickers6736 B
3SheetPickers6731 B
4Spring DropOpen Motion6735 B
5CountryRich Items6730 B

Use it in SwiftUI

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

    var body: some View {
        VStack {
            ExodeUICanvas(bexodeAsset: "dd-morph", controller: controller)
                .aspectRatio(1.05, contentMode: .fit)
                .onAppear { controller.setInputText("Morph · Selected", "Hello") }
        }
    }
}

Questions

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

It depends on the job: Morph (open motion), Carousel (pickers), Sheet (pickers) cover different styles. These five are our picks from the 50 dropdowns 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 dropdown menus with SwiftUI’s built-in dropdown menu?

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

Are they free?

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