Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Input ¶
func Input(p InputProps) templ.Component
Input renders a styled single-line form control.
func InputClasses ¶
func InputClasses(p InputProps) string
Types ¶
type InputProps ¶
type InputProps struct {
Variant string
Size string
Class string
// Type — input type; defaults to text
Type string
Name string
Value string
Placeholder string
Disabled bool
Required bool
Autocomplete string
Min string
Max string
ID string
Role string
TabIndex string
AriaLabel string
Attrs templ.Attributes
}
InputProps configures a native input element.
Click to show internal directories.
Click to hide internal directories.