ui

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0 Imports: 9 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionButton

func ActionButton(label string, icon templ.Component, variant button.Variant, size button.Size, attrs templ.Attributes) templ.Component

ActionButton renders a button with an icon.

func DashboardHeader

func DashboardHeader(title string, basePath string) templ.Component

DashboardHeader renders the main dashboard header with navigation and theme toggle.

func EmptyState

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

EmptyState renders an empty state placeholder.

func HealthChecksTable

func HealthChecksTable() templ.Component

HealthChecksTable renders the health checks table with Alpine.js integration.

func LoadingSpinner

func LoadingSpinner(message string) templ.Component

LoadingSpinner renders a loading spinner with optional message.

func MetricCard

func MetricCard(title, value, description string, icon templ.Component, trendValue string, trendUp bool) templ.Component

MetricCard renders a single metric card with icon, value, and description.

func MetricsReportTable

func MetricsReportTable() templ.Component

MetricsReportTable renders a comprehensive metrics report.

func OverviewMetrics

func OverviewMetrics(basePath string) templ.Component

OverviewMetrics renders the main overview metrics grid.

func SectionHeader

func SectionHeader(title, description string) templ.Component

SectionHeader renders a section header with title and optional description.

func ServiceDetailModal

func ServiceDetailModal() templ.Component

ServiceDetailModal renders a modal with detailed service information.

func ServicesGrid

func ServicesGrid(basePath string) templ.Component

ServicesGrid renders a grid of service cards.

func StatCard

func StatCard(icon templ.Component, value, label, trend string, trendUp bool) templ.Component

StatCard renders a statistics card with icon, value, label, and optional trend.

func StatusBadge

func StatusBadge(status string) templ.Component

StatusBadge renders a status indicator badge.

func WidgetCard added in v0.9.12

func WidgetCard(w contributor.ResolvedWidget, content templ.Component, basePath string) templ.Component

WidgetCard renders a widget inside a card wrapper with optional HTMX auto-refresh.

func WidgetErrorFragment added in v0.9.12

func WidgetErrorFragment(message string) templ.Component

WidgetErrorFragment renders an error message fragment for a failed widget.

func WidgetGrid added in v0.9.12

func WidgetGrid(widgets []contributor.ResolvedWidget, contents map[string]templ.Component, basePath string) templ.Component

WidgetGrid renders a responsive grid of widgets.

Types

This section is empty.

Directories

Path Synopsis
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001

Jump to

Keyboard shortcuts

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