kor TürkçeGitHub

Empty

Explains why a region is empty and can offer the next action.

kor/ui/EmptySource

When to use

  • Explain an empty list or search result and give a way forward when available.

Examples

No shipments

Loading the example

<k:Empty icon="truck" title="No shipments today" text="Scheduled shipments will appear here."/>

Recover from an empty search

Loading the example

<k:Stack gap="10">
	<k:Empty visible="{/filtered}" icon="search" title="No matching orders" text="The current filter excludes all orders.">
		<k:Button text="Clear filter" press=".onClear"/>
	</k:Empty>
	<k:Text visible="{= !${/filtered} }" text="SO-104 · Ready to pack"/>
</k:Stack>

API

Properties

NameTypeDefaultDescription
iconstringinboxIcon name
titlestringHeading
textstringExplanation

Aggregations

NameTypeDescription
actionssap.ui.core.Control[]Actions the user can take next

Related

SkeletonDataGrid