ui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Badge

func Badge(p BadgeProps) templ.Component

func Button

func Button(p ButtonProps) templ.Component

func Card

func Card(p CardProps) templ.Component

func CoverageProgressBar

func CoverageProgressBar(pct int) templ.Component

func EmptyState

func EmptyState(p EmptyStateProps) templ.Component

func Field

func Field(id, labelKey string, required bool) templ.Component

func Flash

func Flash(flash, flashType string) templ.Component

func IconSVG

func IconSVG(name string, size int) templ.Component

func Input

func Input(p InputProps) templ.Component

func MetricCard

func MetricCard(label, value, sub, subColor, valueColor string) templ.Component

func ProgressBar

func ProgressBar(pct int, colorClass string) templ.Component

func ProgressBarThin

func ProgressBarThin(pct int, colorClass string) templ.Component

func Select

func Select(p SelectProps) templ.Component

func StatusBadge

func StatusBadge(status string) templ.Component

func THead

func THead(p THeadProps) templ.Component

func Table

func Table(p TableProps) templ.Component

func Td

func Td(p TdProps) templ.Component

func Textarea

func Textarea(p TextareaProps) templ.Component

func Th

func Th(p ThProps) templ.Component

func Tr

func Tr(p TrProps) templ.Component

Types

type BadgeProps

type BadgeProps struct {
	Variant string
	Class   string
	Attrs   templ.Attributes
}

type ButtonProps

type ButtonProps struct {
	Variant string
	Size    string
	Attrs   templ.Attributes
}

type CardProps

type CardProps struct {
	Class   string
	Padding string
	Accent  string
	Attrs   templ.Attributes
}

type EmptyStateProps

type EmptyStateProps struct {
	TestID string
	Class  string
	Attrs  templ.Attributes
}

type InputProps

type InputProps struct {
	ID          string
	Name        string
	Type        string
	Placeholder string
	Value       string
	Required    bool
	Class       string
	Attrs       templ.Attributes
}

type SelectProps

type SelectProps struct {
	ID       string
	Name     string
	Required bool
	Class    string
	Attrs    templ.Attributes
}

type THeadProps

type THeadProps struct {
	Attrs templ.Attributes
}

type TableProps

type TableProps struct {
	Attrs templ.Attributes
}

type TdProps

type TdProps struct {
	Attrs templ.Attributes
}

type TextareaProps

type TextareaProps struct {
	ID          string
	Name        string
	Placeholder string
	Value       string
	Required    bool
	Class       string
	Attrs       templ.Attributes
}

type ThProps

type ThProps struct {
	Attrs templ.Attributes
}

type TrProps

type TrProps struct {
	Attrs templ.Attributes
}

Directories

Path Synopsis
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020

Jump to

Keyboard shortcuts

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