form

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 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

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

func ItemFlex

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

func Label

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

func Message

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

Types

type DescriptionProps

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

type ItemProps

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

type LabelProps

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

type MessageProps

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

type MessageVariant

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