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 ¶
- func ContentGrid() templ.Component
- func DetailItem(label string) templ.Component
- func DetailList() templ.Component
- func EmptyState(title, description string, icon templ.Component) templ.Component
- func FormGrid() templ.Component
- func FormatDate(ctx context.Context, t time.Time) string
- func FormatDateTime(ctx context.Context, t time.Time) string
- func FormatMoney(ctx context.Context, cents int64) string
- func PageHeader(title, subtitle string) templ.Component
- func ProductGrid() templ.Component
- func SplitLayout(left, right templ.Component, rightWidth string) templ.Component
- func StatCard(kicker, value, meta string) templ.Component
- func StatGrid() templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentGrid ¶ added in v0.1.1
func DetailItem ¶ added in v0.1.1
func DetailList ¶ added in v0.1.1
func EmptyState ¶ added in v0.1.1
func FormatDate ¶
FormatDate formats t as a date-only string, day/month order chosen by ctx's detected locale.
func FormatDateTime ¶
FormatDateTime formats t as a date+time (24h) string, day/month order chosen by ctx's detected locale.
func FormatMoney ¶
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 ¶ added in v0.1.1
func ProductGrid ¶ added in v0.1.1
func SplitLayout ¶ added in v0.1.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.