Display
EmptyState <pm-empty-state>
Empty state: what to do when there is nothing to show yet.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
icon | string | — | Registered icon name (see registerIcons); an icon slot overrides it. |
heading | string | — | Title text. |
heading-levelprop: headingLevel | number | — | Heading level for the document outline (default 2). |
description | string | — | Supporting text under the title. |
bordered | boolean | false | Dashed outline (drop zones, empty panels). |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Slots
| Slot | Description |
|---|---|
icon | Illustration or icon. |
(default) | Actions (buttons). |
Used in templates
Overview dashboardTraffic analyticsOrdersInboxTeam chatNotificationsProject boardTeam and rolesProduct pageShopping cartChangelogHelp centreAppointment booking