progress

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package progress provides progress bar components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Progress

func Progress(opts ...Option) g.Node

Progress creates a progress bar

Types

type Option

type Option func(*Props)

func WithAttrs

func WithAttrs(attrs ...g.Node) Option

func WithClass

func WithClass(class string) Option

func WithValue

func WithValue(value int) Option

type Props

type Props struct {
	Value int // 0-100
	Class string
	Attrs []g.Node
}

Jump to

Keyboard shortcuts

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