title

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Title

func Title(p TitleProps, value string) templ.Component

Title renders one heading element with the resolved level.

Types

type TitleProps

type TitleProps struct {
	Class string
	// Order — maps to h1–h6; 0 and 2 default to h2
	Order int
}

TitleProps configures heading level and classes.

Jump to

Keyboard shortcuts

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