kor TürkçeGitHub

Person

Shows initials and a color derived from a name.

kor/ui/PersonSource

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

NameTypeDefaultDescription
namestringPerson's name
rolestringRole. Providing it also displays the name

Related

ActivityBoard