form

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Description

func Description(props ...DescriptionProps) templ.Component

func Item added in v1.1.0

func Item(props ...ItemProps) templ.Component

func ItemFlex added in v1.1.0

func ItemFlex(props ...ItemProps) templ.Component

func Label added in v1.1.0

func Label(props ...LabelProps) templ.Component

func Message added in v1.1.0

func Message(props ...MessageProps) templ.Component

Types

type DescriptionProps

type DescriptionProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ItemProps added in v1.1.0

type ItemProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type LabelProps added in v1.1.0

type LabelProps struct {
	ID            string
	Class         string
	Attributes    templ.Attributes
	For           string
	DisabledClass string
}

type MessageProps added in v1.1.0

type MessageProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Variant    MessageVariant
}

type MessageVariant added in v1.1.0

type MessageVariant string
const (
	MessageVariantError MessageVariant = "error"
	MessageVariantInfo  MessageVariant = "info"
)

Jump to

Keyboard shortcuts

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