All Projects → D-32 → Minitabbar

D-32 / Minitabbar

Licence: mit
📱 A minimal tab bar alternative

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Minitabbar

Estabbarcontroller
ESTabBarController is developed and maintained by Vincent Li. If you have any questions or issues in using ESTabBarController, welcome to issue. If you want to contribute to ESTabBarController, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 4,649 (+3084.25%)
Mutual labels:  tabbar
Weapp Component Tabbar
微信小程序自定义组件:带未读数目的tab按钮
Stars: ✭ 56 (-61.64%)
Mutual labels:  tabbar
Swsegmentedcontrol
A Android-like tab bar, drop-in replacement for UISegmentedControl.
Stars: ✭ 115 (-21.23%)
Mutual labels:  tabbar
Transitionabletab
TransitionableTab makes it easy to animate when switching between tab.
Stars: ✭ 740 (+406.85%)
Mutual labels:  tabbar
Superbadges
Emoji Tab Bar button badges ✨
Stars: ✭ 47 (-67.81%)
Mutual labels:  tabbar
Fwsidemenu
侧滑控件:支持左、右滑动的侧滑菜单,可配置单侧滑动,同时可配置菜单宽度等,更多配置请参考”可设置参数“。参考了QQ用户体验:支持边缘侧滑,解决手势冲突问题(边缘范围可设置)。提供OC使用Demo。
Stars: ✭ 90 (-38.36%)
Mutual labels:  tabbar
React Native Tabbar Interaction
Tabbar Component For React-Native
Stars: ✭ 457 (+213.01%)
Mutual labels:  tabbar
Poliopager
A flexible TabBarController with search tab like SNKRS.
Stars: ✭ 133 (-8.9%)
Mutual labels:  tabbar
Tap water
【声明:未发布前,勿使用,勿star,预计2020年11月底发布】Flutter tab_bar组件,支持中间带加号按钮的TabBar,支持Lottie动画。iTeaTime(技术清谈)团队出品。Highly customizable tabBar and tabBarController for Flutter
Stars: ✭ 52 (-64.38%)
Mutual labels:  tabbar
Tabbar
🔥空祖家的导航栏工具
Stars: ✭ 100 (-31.51%)
Mutual labels:  tabbar
Cyltabbarcontroller
[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
Stars: ✭ 6,605 (+4423.97%)
Mutual labels:  tabbar
Swipeabletabbarcontroller
UITabBarController with swipe interaction between its tabs.
Stars: ✭ 919 (+529.45%)
Mutual labels:  tabbar
Dgfloldabletabbarcontrol
An elegant foldable tabbar control.
Stars: ✭ 91 (-37.67%)
Mutual labels:  tabbar
Foldingtabbar.android
[DEPRECATED] Folding Tabbar menu for Android. This is a menu library.You can easily add a nice animated tab menu to your app.
Stars: ✭ 486 (+232.88%)
Mutual labels:  tabbar
Hhtabbarview
A lightweight customized tabbar view. 📌
Stars: ✭ 125 (-14.38%)
Mutual labels:  tabbar
React Native Tab View
A cross-platform Tab View component for React Native
Stars: ✭ 4,742 (+3147.95%)
Mutual labels:  tabbar
Rn Collapsing Tab Bar
Collapsing header with tabs for react native
Stars: ✭ 71 (-51.37%)
Mutual labels:  tabbar
Bekcurvetabbar
Full Customizable Tabbar with IBInspectables
Stars: ✭ 144 (-1.37%)
Mutual labels:  tabbar
Tabtoolbar
A small library for creating tabbed toolbars
Stars: ✭ 129 (-11.64%)
Mutual labels:  tabbar
Sscustombottomnavigation
Animated tabbar with native control
Stars: ✭ 98 (-32.88%)
Mutual labels:  tabbar

Swift Version Version License twitter: @dylan36032

MiniTabBar

A clean simple alternative to the UITabBar. Only shows the title when being tapped on. Gives the app a way cleaner look :)

Requirements

  • iOS 10.0+
  • Xcode 8

Installation

CocoaPods:

You can use CocoaPods to install MiniTabBar by adding it to your Podfile:

pod 'MiniTabBar'

Manually

Drag and drop MiniTabBar.swift and MiniTabBarItemView.swift into your project.

Usage

// First create some tab bar items:
// Icons should be a template image with the size 26 x 20 dp
var items = [MiniTabBarItem]()
items.append(MiniTabBarItem(title: "Tab Name", icon: <UIImage>))
//...

// Create a MiniTabBar instance and add it as a regular subview:
let tabBar = MiniTabBar(items: items)
tabBar.translatesAutoresizingMaskIntoConstraints = false
tabBar.delegate = self
self.view.addSubview(tabBar)

let constraints = [
	tabBar.bottomAnchor.constraint(equalTo: view.layoutMarginsGuide.bottomAnchor),
	tabBar.widthAnchor.constraint(equalTo: view.widthAnchor),
	tabBar.heightAnchor.constraint(equalToConstant: 44),
]
NSLayoutConstraint.activate(constraints)

// Delegate protocol:
func tabSelected(_ index: Int) {
	print("Selected tab: ", index)
}

Costumization

Here are some ways to customize the look of the MiniTabBar:

// Change the tint colour of an item (title & icon):
tabBar.tintColor = UIColor.red

// Change the font of the title label:
tabBar.font = UIFont.systemFont(ofSize: 10)

// Select an item programmatically: 
tabBar.selectItem(2, animated: false)

// Change the background & key line of the tab bar:
tabBar.backgroundColor = UIColor.black
tabBar.backgroundBlurEnabled = false
tabBar.keyLine.isHidden = true

Custom View

It's also possible to have a custom view that doesn't act like a tab. For example a (+) button in the middle.

let customButton = UIButton()
customButton.backgroundColor = UIColor.orange
customButton.frame.size = CGSize(width: 50, height: 50)
let customItem = MiniTabBarItem(customView: customButton, 
                                    offset: UIOffset(horizontal: 0, 
                                                       vertical: -10))
customItem.selectable = false
items.append(customItem)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].