status

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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