LogoTab SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Class

LogoTab - A horizontal control that consists of multiple segments, each segment functioning as a discrete image button. The component is used to switch between two or three tabs. It is presented in two versions without additional indentation.


Declaration

public struct LogoTab: View 

Overview

The component is used to switch between multiple tabs. The library is presented in two versions without additional indents.

Live example

Configure a LogoTab

StandardTab(
     images: [Image("YourImage_1"), Image("YourImage_2")],
     selection: .constant(1)
)

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.