Swiftpack.co -  Appracatappra/MultiplatformTabBar as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A cross platform Tab Bar that run and looks the same across iOS, iPadOS, macOS & tvOS. for SwiftUI
.package(url: "https://github.com/Appracatappra/MultiplatformTabBar.git", from: "1.0.6")


Creates a common Tab Bar control that runs and looks the same across multiple devices and OS (iOS, iPadOS, macOS & tvOS).


Swift Package Manager (Xcode 11 and above)

  1. Select File > Swift Packages > Add Package Dependency… from the File menu.
  2. Paste https://github.com/Appracatappra/MultiplatformTabBar.git in the dialog box.
  3. Follow the Xcode's instruction to complete the installation.

Why not CocoaPods, or Carthage, or blank?

Supporting multiple dependency managers makes maintaining a library exponentially more complicated and time consuming.

Since, the Swift Package Manager is integrated with Xcode 11 (and greater), it's the easiest choice to support going further.


The following example would generate a Tab Bar with three Tabs in SwiftUI:

MultiplatformTabBar(tabPosition: .top, barHorizontalAlignment: .center)
.tab(title: "Categories", icon: Image(systemName: "tray.fill")) {
    VStack {
.tab(title: "Products", icon: Image(systemName: "shippingbox.fill")) {
    VStack {
.tab(title: "iCloud", icon: Image(systemName: "icloud.fill")) {
    VStack {

Would produce an Tab bar like the following:


Stars: 1
Last commit: 5 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

5 weeks ago

Updated to the latest SwiftletUtilities and added Unit Tests.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API