kor TürkçeGitHub

Status

Combines a shape and text with color to convey state.

kor/ui/StatusSource

When to use

  • Mark a record state such as approval, delay or completion.

Examples

Default state text

Loading the example

<k:Status state="success"/>

Shipment statuses

Loading the example

<k:Stack gap="8">
	<k:Status state="success" text="Collected"/>
	<k:Status state="wait" text="Awaiting carrier"/>
	<k:Status state="danger" text="Delivery blocked"/>
</k:Stack>

API

Properties

NameTypeDefaultDescription
textstringStatus text. Defaults to the name of the state
statestringnonesuccess, wait, danger, info or none

Related

StagesMessage