input

package
v0.0.0-...-8815ff5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

templ: version: v0.3.960

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Input

func Input(args InputArgs) templ.Component

Types

type InputArgs

type InputArgs struct {
	Type        string           // Input type (text, password, email, etc.)
	Class       string           // Additional CSS classes
	Placeholder string           // Placeholder text
	Value       string           // Input value
	Name        string           // Input name attribute
	ID          string           // Input ID attribute
	FormID      string           // Form ID for automatic data-bind (optional)
	Disabled    bool             // Whether input is disabled
	Required    bool             // Whether input is required
	Attributes  templ.Attributes // Additional HTML attributes
}

Jump to

Keyboard shortcuts

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