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 ¶
- func Badge(p BadgeProps) templ.Component
- func Button(p ButtonProps) templ.Component
- func Card(p CardProps) templ.Component
- func CoverageProgressBar(pct int) templ.Component
- func EmptyState(p EmptyStateProps) templ.Component
- func Field(id, labelKey string, required bool) templ.Component
- func Flash(flash, flashType string) templ.Component
- func IconSVG(name string, size int) templ.Component
- func Input(p InputProps) templ.Component
- func MetricCard(label, value, sub, subColor, valueColor string) templ.Component
- func ProgressBar(pct int, colorClass string) templ.Component
- func ProgressBarThin(pct int, colorClass string) templ.Component
- func Select(p SelectProps) templ.Component
- func StatusBadge(status string) templ.Component
- func THead(p THeadProps) templ.Component
- func Table(p TableProps) templ.Component
- func Td(p TdProps) templ.Component
- func Textarea(p TextareaProps) templ.Component
- func Th(p ThProps) templ.Component
- func Tr(p TrProps) templ.Component
- type BadgeProps
- type ButtonProps
- type CardProps
- type EmptyStateProps
- type InputProps
- type SelectProps
- type THeadProps
- type TableProps
- type TdProps
- type TextareaProps
- type ThProps
- type TrProps
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 CoverageProgressBar ¶
func EmptyState ¶
func EmptyState(p EmptyStateProps) templ.Component
func Input ¶
func Input(p InputProps) templ.Component
func MetricCard ¶
func Select ¶
func Select(p SelectProps) templ.Component
func StatusBadge ¶
func THead ¶
func THead(p THeadProps) templ.Component
func Table ¶
func Table(p TableProps) templ.Component
func Textarea ¶
func Textarea(p TextareaProps) 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 SelectProps ¶
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 ThProps ¶
type ThProps struct {
Attrs templ.Attributes
}
type TrProps ¶
type TrProps struct {
Attrs templ.Attributes
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.