ui

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 2 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlpineInit

func AlpineInit() templ.Component

func Badge

func Badge(text string, variant string) templ.Component

Badge renders a daisyUI badge with the given variant. Supported variants: primary, secondary, accent, ghost, info, success, warning, error.

func EmptyState

func EmptyState(message string) templ.Component

EmptyState renders a centered placeholder message.

func FormField

func FormField(label string) templ.Component

FormField renders a labeled form field wrapper. The input content is provided as children.

func Layout

func Layout(activePage string, pageScript string, username string, isAdmin bool, content templ.Component) templ.Component

func LoginLayout added in v0.9.0

func LoginLayout(pageScript string, content templ.Component) templ.Component
func Navbar(activePage string, username string, isAdmin bool) templ.Component
func PageHeader(title string, subtitle string) templ.Component

PageHeader renders a consistent page title block.

func SkillsDrawer added in v0.13.0

func SkillsDrawer() templ.Component

SkillsDrawer renders a slide-over skills management panel. It reads state from the surrounding Alpine scope (skillsDrawer.*) and calls methods provided by skillsDrawerMixin in /static/js/components/skills_drawer.js.

Include once inside a page's root x-data element; open via `openSkillsDrawer({...})`.

Types

This section is empty.

Directories

Path Synopsis
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