Help us shape the future of Go! Take the 2026 Go Developer Survey

components

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Breadcrumb(items []BreadcrumbItem) templ.Component

func EmptyState

func EmptyState(iconName string, title string, description string) templ.Component

func EnabledBadge

func EnabledBadge(enabled bool) templ.Component
func FooterAPIDocsLink(href string) templ.Component

func JobStateBadge

func JobStateBadge(state string) templ.Component

func JsonViewer

func JsonViewer(data []byte) templ.Component
func PageHeader(title string, count string, description string) templ.Component

func PathRewriter

func PathRewriter(pagesBase string, apiBase string) templ.Component

PathRewriter adds an HTMX configRequest interceptor that rewrites bare page paths (e.g. "/crons/detail") to fully-qualified dashboard extension paths (e.g. "/dashboard/ext/dispatch/pages/crons/detail").

It also rewrites API paths starting with "/v1/" by prepending the extension's API base path (e.g. "/v1/jobs/..." becomes "/dispatch/v1/jobs/...").

This component should wrap the outermost page content once.

func StatCard

func StatCard(iconName string, label string, value string, subtitle string) templ.Component

func WorkflowStateBadge

func WorkflowStateBadge(state string) templ.Component

Types

type BreadcrumbItem struct {
	Label string
	Href  string
}

BreadcrumbItem represents a single breadcrumb segment.

Jump to

Keyboard shortcuts

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