← Components / Navigation

Navigation rail

Side navigation for medium and expanded window sizes. The expanded rail replaces the navigation drawer.

SwiftUIReact Native · Coming soonFlutter · Coming soon
✎● Home○ Inbox

Usage

SwiftUI
M3ENavigationRail(items: items, selection: $tab, expanded: $expanded,
                  fab: .init("edit", label: "Compose") { compose() })

API

PropertySwiftUIDescription
expandedexpanded: Binding<Bool>Show labels beside icons.
fabM3ENavigationRailFab?FAB at the top.

Guidelines

  • Use on tablets, foldables and desktop windows.