Usage
SwiftUI
M3ENavigationRail(items: items, selection: $tab, expanded: $expanded,
fab: .init("edit", label: "Compose") { compose() })API
| Property | SwiftUI | Description |
|---|---|---|
| expanded | expanded: Binding<Bool> | Show labels beside icons. |
| fab | M3ENavigationRailFab? | FAB at the top. |
Guidelines
- Use on tablets, foldables and desktop windows.