ui

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Badge added in v0.2.0

func Badge(props BadgeProps, label string) templ.Component

func Block added in v0.2.0

func Block(props BlockProps) templ.Component

func Box added in v0.2.0

func Box(props BoxProps) templ.Component

func Button added in v0.2.0

func Button(props ButtonProps, label string) templ.Component

func ButtonBlock added in v0.4.0

func ButtonBlock(props ButtonProps) templ.Component

func Container added in v0.2.0

func Container(props ContainerProps) templ.Component

func DataList added in v0.4.0

func DataList(props DataListProps) templ.Component

func DescriptionDetails added in v0.4.0

func DescriptionDetails(props DescriptionDetailsProps) templ.Component

func DescriptionList added in v0.4.0

func DescriptionList(props DescriptionListProps) templ.Component

func DescriptionTerm added in v0.4.0

func DescriptionTerm(props DescriptionTermProps) templ.Component

func Disclosure added in v0.4.0

func Disclosure(props DisclosureProps) templ.Component

func DisclosureSummary added in v0.4.0

func DisclosureSummary(props DisclosureSummaryProps) templ.Component

func Field added in v0.2.0

func Field(props FieldProps) templ.Component

func FieldControl added in v0.4.0

func FieldControl(props FieldProps) templ.Component

func Fieldset added in v0.4.0

func Fieldset(props FieldsetProps) templ.Component

func Figure added in v0.4.0

func Figure(props FigureProps) templ.Component

func FigureCaption added in v0.4.0

func FigureCaption(props FigureCaptionProps) templ.Component

func Form added in v0.4.0

func Form(props FormProps) templ.Component

func Grid added in v0.2.5

func Grid(props GridProps) templ.Component

func GridCol added in v0.2.5

func GridCol(props GridColProps) templ.Component

func Group added in v0.2.0

func Group(props GroupProps) templ.Component

func Icon added in v0.2.0

func Icon(props IconProps) templ.Component

func Image added in v0.2.5

func Image(props ImageProps) templ.Component

func Legend added in v0.4.0

func Legend(props LegendProps) templ.Component

func List added in v0.4.0

func List(props ListProps) templ.Component

func ListItem added in v0.4.0

func ListItem(props ListItemProps) templ.Component

func Meter added in v0.4.0

func Meter(props MeterProps) templ.Component

func OptGroup added in v0.4.0

func OptGroup(props OptGroupProps) templ.Component

func Output added in v0.4.0

func Output(props OutputProps) templ.Component

func Picture added in v0.4.0

func Picture(props PictureProps) templ.Component

func Progress added in v0.4.0

func Progress(props ProgressProps) templ.Component

func Source added in v0.4.0

func Source(props SourceProps) templ.Component

func Stack added in v0.2.0

func Stack(props StackProps) templ.Component

func Table added in v0.4.0

func Table(props TableProps) templ.Component

func TableBody added in v0.4.0

func TableBody(props TableSectionProps) templ.Component

func TableCaption added in v0.4.0

func TableCaption(props TableCaptionProps) templ.Component

func TableCell added in v0.4.0

func TableCell(props TableCellProps) templ.Component

func TableCol added in v0.4.0

func TableCol(props TableColProps) templ.Component

func TableColGroup added in v0.4.0

func TableColGroup(props TableColGroupProps) templ.Component

func TableFoot added in v0.4.0

func TableFoot(props TableSectionProps) templ.Component

func TableHead added in v0.4.0

func TableHead(props TableSectionProps) templ.Component

func TableHeadCell added in v0.4.0

func TableHeadCell(props TableCellProps) templ.Component

func TableRow added in v0.4.0

func TableRow(props TableRowProps) templ.Component

func Text added in v0.2.0

func Text(props TextProps, value string) templ.Component

func Title added in v0.2.0

func Title(props TitleProps, value string) templ.Component

func TitleBlock added in v0.2.5

func TitleBlock(props TitleProps) templ.Component

Types

type BadgeProps

type BadgeProps struct {
	Variant string
	Size    string
	Class   string
}

type BlockProps

type BlockProps struct {
	ID    string
	Class string
	Tag   string
}

type BoxProps

type BoxProps struct {
	Class string
	Tag   string
}

type ButtonProps

type ButtonProps struct {
	ID        string
	Role      string
	TabIndex  string
	Attrs     templ.Attributes
	Variant   string
	Size      string
	Href      string
	Class     string
	Type      string
	AriaLabel string
	Disabled  bool
}

type ContainerProps

type ContainerProps struct {
	Class string
	Tag   string
}

type DOMProps added in v0.4.0

type DOMProps struct {
	ID       string
	Role     string
	TabIndex string
	Attrs    templ.Attributes
}

type DataListProps added in v0.4.0

type DataListProps struct {
	ID    string
	Class string
}

type DescriptionDetailsProps added in v0.4.0

type DescriptionDetailsProps struct {
	Class string
}

type DescriptionListProps added in v0.4.0

type DescriptionListProps struct {
	Class string
}

type DescriptionTermProps added in v0.4.0

type DescriptionTermProps struct {
	Class string
}

type DisclosureProps added in v0.4.0

type DisclosureProps struct {
	Class string
	Open  bool
}

type DisclosureSummaryProps added in v0.4.0

type DisclosureSummaryProps struct {
	Class string
}

type FieldOption

type FieldOption struct {
	Value string
	Label string
}

type FieldProps

type FieldProps struct {
	ID           string
	Role         string
	TabIndex     string
	Attrs        templ.Attributes
	Class        string
	Variant      string
	Size         string
	Type         string
	Name         string
	Placeholder  string
	Value        string
	Rows         int
	Min          string
	Max          string
	Checked      bool
	Disabled     bool
	Required     bool
	Autocomplete string
	Component    string
	Options      []FieldOption
	Label        string
	Hint         string
	Error        string
	AriaLabel    string
	Switch       bool
}

type FieldsetProps added in v0.4.0

type FieldsetProps struct {
	Class    string
	Name     string
	Form     string
	Disabled bool
	Attrs    templ.Attributes
}

type FigureCaptionProps added in v0.4.0

type FigureCaptionProps struct {
	Class string
}

type FigureProps added in v0.4.0

type FigureProps struct {
	Class string
}

type FormProps added in v0.4.0

type FormProps struct {
	ID           string
	Class        string
	Action       string
	Method       string
	Enctype      string
	Autocomplete string
	Name         string
	Target       string
	NoValidate   bool
	Attrs        templ.Attributes
}

type GridColProps added in v0.2.5

type GridColProps struct {
	Class string
	Span  int
	Start int
	End   int
	Order int
}

type GridProps added in v0.2.5

type GridProps struct {
	Class string
	Cols  string
}

type GroupProps

type GroupProps struct {
	Class string
	Tag   string
	Grow  bool
}

type IconProps

type IconProps struct {
	Name  string
	Size  string
	Class string
}

type ImageProps added in v0.2.5

type ImageProps struct {
	Class    string
	Src      string
	Alt      string
	Width    string
	Height   string
	Fit      string
	Position string
	Aspect   string
	Loading  string
}

type LegendProps added in v0.4.0

type LegendProps struct {
	Class string
}

type ListItemProps added in v0.4.0

type ListItemProps struct {
	Class string
	Value int
}

type ListProps added in v0.4.0

type ListProps struct {
	Class string
	Tag   string
}

type MeterProps added in v0.4.0

type MeterProps struct {
	ID      string
	Class   string
	Value   string
	Min     string
	Max     string
	Low     string
	High    string
	Optimum string
	Attrs   templ.Attributes
}

type OptGroupProps added in v0.4.0

type OptGroupProps struct {
	Class    string
	Label    string
	Disabled bool
}

type OutputProps added in v0.4.0

type OutputProps struct {
	ID    string
	Class string
	Name  string
	For   string
	Value string
	Attrs templ.Attributes
}

type PictureProps added in v0.4.0

type PictureProps struct {
	Class string
}

type ProgressProps added in v0.4.0

type ProgressProps struct {
	ID    string
	Class string
	Value string
	Max   string
	Attrs templ.Attributes
}

type SourceProps added in v0.4.0

type SourceProps struct {
	SrcSet string
	Src    string
	Media  string
	Type   string
	Sizes  string
}

type StackProps

type StackProps struct {
	Class string
	Tag   string
}

type TableCaptionProps added in v0.4.0

type TableCaptionProps struct {
	Class string
}

type TableCellProps added in v0.4.0

type TableCellProps struct {
	Class   string
	Scope   string
	ColSpan int
	RowSpan int
	Headers string
	Abbr    string
}

type TableColGroupProps added in v0.4.0

type TableColGroupProps struct {
	Class string
	Span  int
}

type TableColProps added in v0.4.0

type TableColProps struct {
	Class string
	Span  int
}

type TableProps added in v0.4.0

type TableProps struct {
	Class string
	Attrs templ.Attributes
}

type TableRowProps added in v0.4.0

type TableRowProps struct {
	Class string
}

type TableSectionProps added in v0.4.0

type TableSectionProps struct {
	Class string
}

type TextProps

type TextProps struct {
	Class         string
	Tag           string
	FontSize      string
	FontWeight    string
	LineHeight    string
	LetterSpacing string
	TextColor     string
	TextAlign     string
	Truncate      bool
}

type TitleProps

type TitleProps struct {
	Class         string
	Order         int
	FontSize      string
	FontWeight    string
	LineHeight    string
	LetterSpacing string
	TextColor     string
	TextAlign     string
	Truncate      bool
}

Jump to

Keyboard shortcuts

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