Person
Shows initials and a color derived from a name.
When to use
- Identify an assignee or contributor when a photograph is unnecessary.
Examples
Initials only
Loading the example
<k:Stack row="true" gap="8" align="center"><k:Person name="Elif Aydın"/><k:Text text="Elif Aydın"/></k:Stack>Identify the shipment owner
Loading the example
<k:Stack gap="8">
<k:Text kind="heading" text="Shipment SH-104"/>
<k:Person name="{/owner}" role="{/role}"/>
</k:Stack>API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
name | string | Person's name | |
role | string | Role. Providing it also displays the name |