
Gooey Tab Bar
A floating tab bar whose selection indicator is a metaball blob that stretches and merges as it travels between tabs, built with Canvas blur and alpha threshold. Tap or scrub along the bar while icons bounce.
- tab
- navigation
- animation
snippet.swift186 lines
6 files • Scroll to see all →
/// A single destination in a `GooeyTabBar`.public struct GooeyTabBarItem: Identifiable { public let id: Int let title: String let systemImage: String public init(_ title: String, systemImage: String, id: Int? = nil) { self.title = title self.systemImage = systemImage self.id = id ?? title.hashValue }}Viewing: TabItem.swift•1 of 6