Skip to content

feat: add NavigationRail component#5030

Open
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4247_navigation_rail
Open

feat: add NavigationRail component#5030
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4247_navigation_rail

Conversation

@hazrid93

Copy link
Copy Markdown

feat: add NavigationRail component

Closes #4247. Also references #4982.

Adds a Material 3 navigation rail for tablet and desktop layouts. Takes a controlled active destination and a list of destinations, each with a key, an optional label, a focused icon, an optional unfocused icon, an optional badge, and an optional accessibility label.

Renders each destination as a pressable item that shows the focused icon when active and the unfocused icon otherwise, calls a change callback with the destination key, and highlights the active destination with an indicator pill. Supports showing labels for all, only the active, or no destinations, top center or bottom alignment of the destinations, and an optional header slot. The component and its public types are exported from the public surface.

@callstack-bot

callstack-bot commented Jul 20, 2026

Copy link
Copy Markdown

Hey @hazrid93, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Closes callstack#4247. Also references callstack#4982.

Adds a Material 3 navigation rail for tablet and desktop layouts. Takes a controlled active destination and a list of destinations, each with a key, an optional label, a focused icon, an optional unfocused icon, an optional badge, and an optional accessibility label.

Renders each destination as a pressable item that shows the focused icon when active and the unfocused icon otherwise, calls a change callback with the destination key, and highlights the active destination with an indicator pill. Supports showing labels for all, only the active, or no destinations, top center or bottom alignment of the destinations, and an optional header slot. The component and its public types are exported from the public surface.
@hazrid93
hazrid93 force-pushed the hazrid93/4247_navigation_rail branch from 28cc3af to 647a99a Compare July 20, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Add Material Navigation Rail

2 participants