GothUI

Feedback

Stat

An associated metric label, value and detail.

components.Stat · StatProps

Sample projects
24
A static metric preview.

Use it well.

Uses a description list. Values are strings so the application controls formatting and localization.

Explore the full demo →

This is the source compiled for the preview. Select the text to copy it, or download the file. Change the package name and demo routes for your application.

package examples

import "github.com/Tend-Stack/GothUI/v2026/components"

templ ExampleStat() {
	@components.Stat(components.StatProps{Label: "Sample projects", Value: "24", Detail: "A static metric preview."})
}