Documentation
¶
Overview ¶
Package navigationrail contains Material 3 Navigation Rail components.
Reference: [Navigation Rail](https://m3.material.io/components/navigation-rail/overview) Specs: [Navigation Rail Specs](https://m3.material.io/components/navigation-rail/specs)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyModifier = modifier.EmptyModifier
Functions ¶
This section is empty.
Types ¶
type Composable ¶
type Composable = api.Composable
func NavigationRail ¶
func NavigationRail( modifier Modifier, header Composable, content Composable, ) Composable
NavigationRail represents a side navigation component.
Material 3 Specs: - Width: 80dp - Container Layout: Centered horizontally, Top or Center vertically (usually).
func NavigationRailItem ¶
func NavigationRailItem( selected bool, onClick func(), icon Composable, label Composable, modifier Modifier, ) Composable
NavigationRailItem represents an item within a NavigationRail.
Material 3 Specs: - Height: Can vary, usually minimum touch target. - Indicator: Pill shape around icon when selected. - Label: Text below icon.
type MutableValue ¶
type MutableValue = state.MutableValue
type ThemeManager ¶
type ThemeManager = theme.ThemeManager
Click to show internal directories.
Click to hide internal directories.