mljr-ui · showcase

Heading

h1..h5 with Swiss display type and tracking.

primitive heading
Controls
level
text
Current props
level: ""
text: ""

Usage

// import "mljr-web/ui/primitive"
primitive.Heading(primitive.HeadingProps{Level: 1}, g.Text("Page title"))
primitive.Heading(primitive.HeadingProps{Level: 2}, g.Text("Section"))
primitive.Heading(primitive.HeadingProps{Level: 3}, g.Text("Subsection"))

All combinations (5)

Enum controls only · bool and text use defaults

1

The quick brown fox

2

The quick brown fox

3

The quick brown fox

4

The quick brown fox

5
The quick brown fox

Props

NameTypeOptionsDefault
levelenum1, 2, 3, 4, 52
texttextThe quick brown fox