Status
Combines a shape and text with color to convey state.
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
| Name | Type | Default | Description |
|---|---|---|---|
text | string | Status text. Defaults to the name of the state | |
state | string | none | success, wait, danger, info or none |