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 ¶
- func AlpineInit() templ.Component
- func Badge(text string, variant string) templ.Component
- func EmptyState(message string) templ.Component
- func FormField(label string) templ.Component
- func Layout(activePage string, pageScript string, username string, isAdmin bool, ...) templ.Component
- 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
- func SkillsDrawer() templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlpineInit ¶
func Badge ¶
Badge renders a daisyUI badge with the given variant. Supported variants: primary, secondary, accent, ghost, info, success, warning, error.
func EmptyState ¶
EmptyState renders a centered placeholder message.
func FormField ¶
FormField renders a labeled form field wrapper. The input content is provided as children.
func LoginLayout ¶ added in v0.9.0
func PageHeader ¶
PageHeader renders a consistent page title block.
func SkillsDrawer ¶ added in v0.13.0
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.