divider

package
v0.1.79 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package divider contains Material 3 Divider components.

Reference: Divider(https://m3.material.io/components/divider/overview) Specs: [Divider Specs](https://m3.material.io/components/divider/specs)

Index

Constants

View Source
const Material3DivideNodeID = "Material3Divider"

Variables

This section is empty.

Functions

This section is empty.

Types

type Composable

type Composable = api.Composable

func Divider

func Divider(options ...DividerOption) Composable

type Composer

type Composer = api.Composer

type DividerOption

type DividerOption func(*DividerOptions)

func WithColor

func WithColor(col graphics.Color) DividerOption

func WithModifier

func WithModifier(m ui.Modifier) DividerOption

func WithThickness

func WithThickness(value int) DividerOption

type DividerOptions

type DividerOptions struct {
	Modifier  ui.Modifier
	Thickness float64
	Color     graphics.Color
}

func DefaultDividerOptions

func DefaultDividerOptions() DividerOptions

type ThemeManager

type ThemeManager = theme.ThemeManager

Jump to

Keyboard shortcuts

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