ui

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 12 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentGrid added in v0.1.1

func ContentGrid() templ.Component

func DetailItem added in v0.1.1

func DetailItem(label string) templ.Component

func DetailList added in v0.1.1

func DetailList() templ.Component

func EmptyState added in v0.1.1

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

func FormGrid added in v0.1.1

func FormGrid() templ.Component

func FormatDate

func FormatDate(ctx context.Context, t time.Time) string

FormatDate formats t as a date-only string, day/month order chosen by ctx's detected locale.

func FormatDateTime

func FormatDateTime(ctx context.Context, t time.Time) string

FormatDateTime formats t as a date+time (24h) string, day/month order chosen by ctx's detected locale.

func FormatMoney

func FormatMoney(ctx context.Context, cents int64) string

FormatMoney formats an int64 smallest-currency-unit value (x100, e.g. 2500000 → "25,000", 250050 → "2,500.50") using ctx's detected locale for digit grouping and decimal/thousands separators.

func PageHeader(title, subtitle string) templ.Component

func ProductGrid added in v0.1.1

func ProductGrid() templ.Component

func SplitLayout added in v0.1.1

func SplitLayout(left, right templ.Component, rightWidth string) templ.Component

func StatCard added in v0.1.1

func StatCard(kicker, value, meta, hint string) templ.Component

func StatGrid added in v0.1.1

func StatGrid() templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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