Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. XLPagerTabStrip

XLPagerTabStrip

MITSwift9.1.0

A container view controller for iOS that provides Android-like pager tabs with multiple indicator styles.

GitHubGitHub
7.0k stars1.3k forks0 contributors

What is XLPagerTabStrip?

XLPagerTabStrip is an iOS library that provides a container view controller for implementing Android-style pager tabs. It allows developers to easily switch between multiple view controllers using interactive tab indicators with customizable styles like Button Bar, Bar, Twitter, and Segmented layouts. It solves the need for consistent, gesture-driven tab navigation in iOS apps.

Target Audience

iOS developers building apps that require tab-based navigation between multiple screens or view controllers, especially those looking to replicate Android's PagerTabStrip behavior on iOS.

Value Proposition

Developers choose XLPagerTabStrip for its out-of-the-box support for multiple pager styles, seamless integration with UIKit, and extensive customization options. It saves time compared to building custom tab navigation from scratch while offering a native feel.

Overview

Android PagerTabStrip for iOS.

Use Cases

Best For

  • Adding swipeable tab navigation to iOS apps
  • Replicating Android PagerTabStrip behavior in iOS projects
  • Building apps with Instagram or YouTube-like tab interfaces
  • Creating customizable tab bars with interactive indicators
  • Implementing segmented control-based view switching
  • Developing container view controllers with multiple child VCs

Not Ideal For

  • Apps built entirely with SwiftUI without UIKit interoperability, as the README points to a separate SwiftUI version.
  • Projects requiring simple tab navigation that can be fully satisfied by Apple's native UITabBarController with no need for custom gestures or styles.
  • Teams with strict dependency minimization policies or those preferring to avoid third-party libraries for core navigation components.
  • Developers looking for a declarative, code-only setup without Interface Builder or storyboard dependencies.

Pros & Cons

Pros

Multiple Pager Styles

Provides four distinct pager types (Button Bar, Bar, Twitter, Segmented) that replicate designs from apps like Instagram and YouTube, as shown in the example GIFs, offering flexibility for different UI needs.

Gesture-Based Navigation

Supports swipe gestures for intuitive tab switching, mimicking Android's PagerTabStrip pattern and enhancing user experience with interactive indicators.

High Customizability

Offers extensive configuration options through settings, such as pagerBehaviour with skip-intermediate and elastic limit controls, and customizable colors, fonts, and indicator appearances.

Storyboard Integration

Designed for easy setup with Interface Builder, including outlet connections for containerView and other UI elements, simplifying visual layout without extensive code.

Cons

UIKit-Only, No SwiftUI

The README explicitly notes that for SwiftUI projects, developers must use a separate library (PagerTabStripView), limiting its relevance for modern iOS development trends.

Manual Outlet Configuration

Requires connecting specific outlets like containerView in storyboards, which can be error-prone and less intuitive compared to programmatic or declarative setups, adding complexity.

Dependency and Maintenance Risk

As a third-party library, it introduces potential maintenance overhead, breaking changes with updates, and reliance on external support, unlike native Apple components.

Frequently Asked Questions

Quick Stats

Stars7,010
Forks1,317
Contributors0
Open Issues278
Last commit2 years ago
CreatedSince 2014

Tags

#ios#tab-navigation#ios-libraries#ui-components#mobile-development#cocoapods#swift#swift-library#carthage#ios-ui#uikit

Built With

U
UIKit
i
iOS
S
Swift

Included in

iOS51.7kSwift26.0k
Auto-fetched 1 day ago

Related Projects

animated-tab-baranimated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion

Stars11,101
Forks1,308
Last commit4 years ago
SideMenuSideMenu

Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.

Stars5,823
Forks695
Last commit3 years ago
PageMenuPageMenu

A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)

Stars5,229
Forks877
Last commit4 years ago
FoldingTabBar.iOSFoldingTabBar.iOS

Folding Tab Bar and Tab Bar Controller

Stars3,672
Forks453
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub