Top TabsNew
A scrolling strip of top tabs over swipeable pages, its indicator tracking the swipe and the strip keeping the selected tab in view.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- TopTabs
- Inside
- Stretching indicator, Swipe between pages, Tab counts, Fill or scroll
- Install, with a Pro license
- npx swiftpieces add TopTabs
- Depends on
- Pro's Design System, which installs with it
A strip of tabs over a pager of your pages. The accent indicator follows the pager continuously, stretching to each tab's width, tapping a tab pages to it, and the strip scrolls to keep the selected tab in the middle. Tabs can show counts, and three or fewer share the width while more scroll.
Its SwiftUI source comes with SwiftPieces Pro: Top Tabs in the Pro library.