Stylish Navigation Rail Item
A single destination inside StylishNavigationRail, wrapping the Material 3 NavigationRailItem with M3 default colors.
Handles the selected-state indicator, disabled state, and semantics (selected / disabled) exactly like the M3 NavigationRailItem.
Parameters
Whether this destination is currently selected.
Called when the destination is tapped.
The icon slot, typically an Icon.
Modifier applied to the NavigationRailItem root.
When false, the destination ignores pointer input and renders in its disabled colors. Defaults to true.
Optional label slot rendered below icon. When null, the destination renders icon-only.
NavigationRailItemColors resolving the item colors per state. Defaults to NavigationRailItemDefaults.colors.
Optional hoisted MutableInteractionSource for observing interactions. When null, one is remembered internally.