Skip to content

Empty State

Last updated 27 Oct 2026

NbEmptyState is the centred block a view shows when it has nothing to show. Every product invents its own muted paragraph for this; the value in having one component is less the layout than the four kinds, which are what stop "No results" appearing over a request that failed.

Props ​

PropTypeDefaultDescription
titlestring''Short, and positive where the situation allows.
descriptionstring''What to do next. One or two sentences.
iconstring | nullper kindIcon name. null removes it.
kind'empty' | 'no-results' | 'error' | 'forbidden''empty'Why the space is empty. Picks the icon and the tone.
size'sm' | 'md''md'sm for panels and cards, md for a whole view.
borderedbooleanfalseDashed outline, for a region with no edges of its own.

Slots ​

SlotDescription
defaultBody copy, replacing description. For copy that needs markup.
titleReplaces the title prop.
iconReplaces the icon entirely.
actionsThe action, or actions. Keep it to one where you can.