Reference

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

align

String (Default: "left")

Changes the text alignment. Available alignments:

  • left
  • center
  • right

size

String (Default: "medium")

Changes the font size of the text. Available sizes:

  • tiny
  • small
  • medium
  • large
  • huge

theme

String (Default: null)

Changes the layout/design of the text. Available options:

  • help

CSS class

.k-text