/floating_tabview

A custom implementation of the TabView from the SwiftUI framework with an additional "Popout" styled button.

Primary LanguageSwiftMIT LicenseMIT

Floating TabView

Feel free to use this as a base template to achieve a popout menu effect from the TabView.
If you wish to add a custom animation that includes an additional view (such as the blue view that appears when the Popout menu buttons appear or a slight blur for example) I have added some information in the FloatingCustomTabView.swift file.

To consider: This TabView will work with 5 Views inclusive of the views on the TabView (not including the Popout menu button itself).

For example, a "Home", "Info" and "Settings" button on the TabView bar itself and then 2 additional buttons that appear when the Popout menu button is tapped ("New item" and "Privacy" for example) will work as expected.


The TabView will only handle 5 views before returning unexpected results presenting as a "More" view, typically displayed when the TabItem count is greater than 5.