progress

package
v0.1.69 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package progress contains Material 3 Progress Indicators components.

Reference: [Progress Indicators](https://m3.material.io/components/progress-indicators/overview) Specs: [Progress Indicators Specs](https://m3.material.io/components/progress-indicators/specs)

Index

Constants

View Source
const (
	Material3LinearProgressNodeID   = "Material3LinearProgress"
	Material3CircularProgressNodeID = "Material3CircularProgress"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Composable

type Composable = api.Composable

func CircularProgressIndicator

func CircularProgressIndicator(progress float32, options ...IndicatorOption) Composable

func LinearProgressIndicator

func LinearProgressIndicator(progress float32, options ...IndicatorOption) Composable

func LoadingIndicator

func LoadingIndicator(options ...IndicatorOption) Composable

LoadingIndicator displays a circular indeterminate progress indicator.

type Composer

type Composer = api.Composer

type IndicatorOption

type IndicatorOption func(o *IndicatorOptions)

func WithIndicator

func WithIndicator(ind *indicator.Indicator) IndicatorOption

func WithModifier

func WithModifier(m ui.Modifier) IndicatorOption

type IndicatorOptions

type IndicatorOptions struct {
	Modifier  ui.Modifier
	Indicator *indicator.Indicator
}

func DefaultIndicatorOptions

func DefaultIndicatorOptions() IndicatorOptions

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