status

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accent

func Accent(props Props, children ...htmx.Node) htmx.Node

Accent is a component that renders an accent status indicator.

func Error

func Error(props Props, children ...htmx.Node) htmx.Node

Error is a component that renders an error status indicator.

func Info

func Info(props Props, children ...htmx.Node) htmx.Node

Info is a component that renders an info status indicator.

func Neutral

func Neutral(props Props, children ...htmx.Node) htmx.Node

Neutral is a component that renders a neutral status indicator.

func Primary

func Primary(props Props, children ...htmx.Node) htmx.Node

Primary is a component that renders a primary status indicator.

func Secondary

func Secondary(props Props, children ...htmx.Node) htmx.Node

Secondary is a component that renders a secondary status indicator.

func Status

func Status(props Props, children ...htmx.Node) htmx.Node

Status is a component that renders a status indicator.

func Success

func Success(props Props, children ...htmx.Node) htmx.Node

Success is a component that renders a success status indicator.

func Warning

func Warning(props Props, children ...htmx.Node) htmx.Node

Warning is a component that renders a warning status indicator.

Types

type Props

type Props struct {
	// AriaLabel is the aria-label attribute for the status element.
	AriaLabel string

	htmx.ClassNames
}

Props is a struct that contains the properties of the Status component.

Jump to

Keyboard shortcuts

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