typography

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accent

func Accent(props Props, children ...htmx.Node) htmx.Node

Accent is a component that displays an accent text.

func Base100

func Base100(props Props, children ...htmx.Node) htmx.Node

Base100 is a component that displays a base100 text.

func Base200

func Base200(props Props, children ...htmx.Node) htmx.Node

Base200 is a component that displays a base200 text.

func Base300

func Base300(props Props, children ...htmx.Node) htmx.Node

Base300 is a component that displays a base300 text.

func Error

func Error(props Props, children ...htmx.Node) htmx.Node

Error is a component that displays an error text.

func H1

func H1(props Props, children ...htmx.Node) htmx.Node

H1 is a component that displays a h1 text.

func H2

func H2(props Props, children ...htmx.Node) htmx.Node

H2 is a component that displays a h2 text.

func H3

func H3(props Props, children ...htmx.Node) htmx.Node

H3 is a component that displays a h3 text.

func H4

func H4(props Props, children ...htmx.Node) htmx.Node

H4 is a component that displays a h4 text.

func H5

func H5(props Props, children ...htmx.Node) htmx.Node

H5 is a component that displays a h5 text.

func H6

func H6(props Props, children ...htmx.Node) htmx.Node

H6 is a component that displays a h6 text.

func Info

func Info(props Props, children ...htmx.Node) htmx.Node

Info is a component that displays an info text.

func Neutral

func Neutral(props Props, children ...htmx.Node) htmx.Node

Neutral is a component that displays a neutral text.

func Primary

func Primary(props Props, children ...htmx.Node) htmx.Node

Primary is a component that displays a primary text.

func Secondary

func Secondary(props Props, children ...htmx.Node) htmx.Node

Secondary is a component that displays a secondary text.

func Success

func Success(props Props, children ...htmx.Node) htmx.Node

Success is a component that displays a success text.

func Warning

func Warning(props Props, children ...htmx.Node) htmx.Node

Warning is a component that displays a warning text.

Types

type Props

type Props struct {
	// ClassNames contains the class names for the text component.
	htmx.ClassNames
}

Props contains the properties for the text component.

Jump to

Keyboard shortcuts

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