inputotp

package
v0.0.0-...-de93bbd Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Group

func Group(props ...GroupProps) templ.Component

func InputOTP

func InputOTP(props ...Props) templ.Component

func Script

func Script() templ.Component

func Separator

func Separator(props ...SeparatorProps) templ.Component

func Slot

func Slot(props ...SlotProps) templ.Component

Types

type GroupProps

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

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Value      string
	Required   bool
	Name       string
	HasError   bool
}

type SeparatorProps

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

type SlotProps

type SlotProps struct {
	ID          string
	Class       string
	Attributes  templ.Attributes
	Index       int
	Type        string
	Placeholder string
	Disabled    bool
	HasError    bool
}

Jump to

Keyboard shortcuts

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