kor TürkçeGitHub

Card

Groups information and actions about one thing.

kor/ui/CardSource

When to use

  • Use cards for a small set of things people compare or open.

Examples

Suppliers

Loading the example

<k:Stack direction="grid" columns="2" gap="14">
	<k:Card title="Anadolu Metal" text="Sheet steel" icon="factory" state="success" statusText="Approved" press=".onPress">
		<k:Text text="12 open orders"/>
		<k:footer><k:Button text="New order"/></k:footer>
	</k:Card>
	<k:Card title="Ege Plastik" text="Packaging" icon="package" state="wait" statusText="In review" press=".onPress"><k:Text text="2 open orders"/></k:Card>
</k:Stack>

API

Properties

NameTypeDefaultDescription
titlestringTitle
textstringSubtitle
iconstringLeading icon
statusTextstringStatus text
statestringStatus. Hidden when empty
selectedbooleanfalseWhether the card is selected

Aggregations

NameTypeDescription
contentsap.ui.core.Control[]Content
footersap.ui.core.Control[]Footer actions

Events

NameTypeDescription
pressThe card was pressed

Related

ListStat