navigationrail

package
v0.1.78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 19 Imported by: 0

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

This section is empty.

Functions

This section is empty.

Types

type Composable

type Composable = api.Composable
func NavigationRail(
	modifier ui.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(
	selected bool,
	onClick func(),
	icon Composable,
	label Composable,
	modifier ui.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 Composer

type Composer = api.Composer

type MutableValue

type MutableValue = state.MutableValue

type ThemeManager

type ThemeManager = theme.ThemeManager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL