cv-empty-state
Reusable empty-result or empty-panel state with optional icon, body copy, and actions.
Usage
Anatomy
<cv-empty-state> (host)
└── <section part="base" role="status">
├── <cv-icon part="icon"> optional
├── <p part="title">
├── <p part="description"> optional
├── <div part="body">
│ └── <slot>
└── <div part="actions">
└── <slot name="actions">Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
icon | String | "" | Optional UIKit icon name |
headline | String | "" | Main empty-state headline |
description | String | "" | Optional supporting text |
icon-fill | Boolean | false | Passes fill mode to the inner cv-icon |
variant | String | "panel" | Visual variant: "panel" or "dropzone" |
Slots
| Slot | Description |
|---|---|
(default) | Optional body content under message |
actions | Buttons or links for recovery paths |
CSS Parts
| Part | Description |
|---|---|
base | Root status container |
icon | Optional icon |
title | Headline text |
description | Supporting text |
body | Default slot wrapper |
actions | Actions slot wrapper |
Events
None. The component is presentational.