Skip to content

co-empty-state

This content is not available in your language yet.

Empty state placeholder — icon, title, description, and action buttons.

Ver código
<co-empty-state heading="Sin resultados" description="No encontramos lo que buscas"></co-empty-state>

Props

PropAtributoTipoDefaultDescripción
descriptiondescriptionstring | undefinedDescriptive text
headingheadingstring | undefinedMain title
iconiconstring | undefinedPhosphor icon name
iconWeighticon-weight"bold" | "duotone" | "fill" | "light" | "regular" | "thin" | undefinedPhosphor icon weight. Defaults to `light` (plain) / `regular` (card) when unset.
sizesize"l" | "m"'m'Size scale. `l` grows the medallion (98px) and heading (24/500).
variantvariant"card" | "plain"'plain'Visual style: `plain` (default, current behavior) or `card` (framed white card).

Eventos

Este componente no emite eventos personalizados.

Slots

SlotDescripción
(default)Action buttons

CSS Parts

PartDescripción
::part(empty-state)

CSS Custom Properties

Este componente no expone CSS custom properties.