fieldset

package
v0.0.39 Latest Latest
Warning

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

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

Documentation

Overview

templ: version: v0.3.977

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fieldset

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

Fieldset renders a <fieldset> container for grouping form elements.

func Label

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

Label renders a <p> with the label class for input descriptions.

func Legend

func Legend(props ...LegendProps) templ.Component

Legend renders a <legend> with the fieldset-legend class.

Types

type LabelProps

type LabelProps struct {
	Class      string
	Attributes templ.Attributes
}

type LegendProps

type LegendProps struct {
	Class      string
	Attributes templ.Attributes
}

type Props

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

Jump to

Keyboard shortcuts

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