← Components / Navigation

Tabs

Organize related content at the same level of hierarchy.

SwiftUIReact Native · Coming soonFlutter · Coming soon
FlightsTripsExplore

Usage

SwiftUI
M3ETabs(items: [.init("Flights", icon: "flight"), .init("Trips", badge: "2")], selection: $tab)

API

PropertySwiftUIDescription
variant.primary .secondaryPrimary under app bars; secondary within content.
scrollablescrollable: BoolFor many tabs.

Guidelines

  • Keep tab labels short and parallel.