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 start, centre, end |
– |
Changes the text alignment
|
| size |
string tiny, small, medium, large, huge |
– |
Font size of the text
|
| theme |
string help |
– |
Visual appearance of the text
|
Slots
| Slot | Description |
|---|---|
| default | Text content |
CSS classes
.k-text