Skip to content

Kirby 3.9.8

Text

<k-text>

The Text component is a container for all multi-line text with additional formats.

<k-text>
  <b>Lorem</b> <a href="#">ipsum</a> <i>dolor</i> …
</k-text>

Props

Prop Type Default Description
align
string
Supported values:
start, centre, end
Changes the text alignment
size
string
Supported values:
tiny, small, medium, large, huge
Font size of the text
theme
string
Supported values:
help
Visual appearance of the text

Slots

Slot Description
default Text content

CSS classes

.k-text