kor TürkçeGitHub

Text

Displays text using Kor typography styles.

kor/ui/TextSource

When to use

  • Set the level of a heading or present short body and secondary text.

Examples

A heading

Loading the example

<k:Text kind="heading" text="Packing instructions"/>

Shipment details with hierarchy

Loading the example

<k:Stack gap="6">
	<k:Text kind="title" text="{/title}"/>
	<k:Text kind="muted" text="{/reference}"/>
	<k:Text kind="body" text="{/instructions}"/>
</k:Stack>

API

Properties

NameTypeDefaultDescription
textstringText to display
kindstringbodydisplay, title, heading, body or muted

Related

StackStatus