alerts

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

Overview

Package alerts provides functionality for managing and processing alerts within the system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(p Props, children ...htmx.Node) htmx.Node

Alert is a component that displays an alert.

func Error

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

Error is a component that displays an error alert.

func Horizontal added in v0.5.3

func Horizontal(p Props, children ...htmx.Node) htmx.Node

Horizontal is a component that displays a horizontal alert.

func Info

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

Info is a component that displays an info alert.

func Success

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

Success is a component that displays a success alert.

func Vertical added in v0.5.3

func Vertical(p Props, children ...htmx.Node) htmx.Node

Vertical is a component that displays a vertical alert.

func Warning

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

Warning is a component that displays a warning alert.

Types

type Props added in v0.5.3

type Props struct {
	// ClassNames are the class names for the alert component.
	htmx.ClassNames
}

AlertProps is the type of the props for the Alert component.

Jump to

Keyboard shortcuts

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