Skip to content

Kirby 3.6.6

Headline

<k-headline>

Use to display consistently sized headlines

<k-headline>This is a nice headline</k-headline>

Props

Prop Type Default Description
link
string
Sets a link for the headline. The link can be absolute or relative.
size
string
Supported values:
small, large, huge
Alternate text sizes
tag
string
"h2"
HTML tag for the headline element
theme
string
Supported values:
positive, negative
Visual look of the headline

Slots

Slot Description
default Content/text of the headline

Events

You can bind any listeners to the Headline component

CSS classes

.k-headline