Skip to main content

NavigationRail

Function NavigationRail 

Source
pub fn NavigationRail(
    selected_index: usize,
    items: Vec<NavRailItem>,
    header: Option<View>,
    fab: Option<View>,
    config: NavigationRailConfig,
) -> View
Expand description

M3 Navigation Rail - a compact vertical navigation sidebar.

Typically placed on the left side of the screen. Contains navigation items (icon + label) with animated selection indicator.