typography

package
v1.3.27 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 1 Imported by: 0

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 added in v1.3.23

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

H1 is a component that displays a h1 text.

func H2 added in v1.3.23

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

H2 is a component that displays a h2 text.

func H3 added in v1.3.23

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

H3 is a component that displays a h3 text.

func H4 added in v1.3.23

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

H4 is a component that displays a h4 text.

func H5 added in v1.3.23

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

H5 is a component that displays a h5 text.

func H6 added in v1.3.23

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.
	ClassNames 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