Component

Empty State Card

Fill a content area when there is nothing to display. Pick a type — no-result-found, 404-error, or no-data — to set the illustration, heading, and description, then override the copy for your context. Backgrounds and text read from the --components-emptystatecard-* tokens; the card corner radius is always 0.

Storybook
Playground
Type
Illustration
Action button
Title
Description
Action label
Secondary label
Preview

No Search Result Found

We couldn't find anything matching your search. Try different keywords or clear your filters.

JSX
<EmptyStateCard
  type="no-result-found"
  showIllustration
  showAction
  title="No Search Result Found"
  description="We couldn't find anything matching your search. Try different keywords or clear your filters."
  actionLabel="Search Again"
  onAction={() => {}}
  secondaryActionLabel="Back to Home"
  onSecondaryAction={() => {}}
/>

Props

The full EmptyStateCardProps API. Props marked Required have no default.

PropTypeDefaultDescription
type
'no-result-found' | '404-error' | 'no-data''no-result-found'Selects the default illustration, heading, and description. Maps to the three Figma variants.
showIllustration
booleantrueShow / hide the decorative illustration above the heading (272px, aria-hidden).
showAction
booleantrueShow / hide the action area below the description — a full-width row (24px gap) with a filled primary Button and a ghost text Button.
title
stringtype defaultOverrides the default heading. Rendered as an <h2> in H2 SemiBold 28.
description
stringtype defaultOverrides the default description. Rendered as a <p> in H4 Regular 18.
actionLabel
stringtype defaultOverrides the default label of the filled primary action button.
onAction
() => voidClick handler for the primary action button.
secondaryActionLabel
stringtype defaultOverrides the default label of the secondary ghost (text) action button.
onSecondaryAction
() => voidClick handler for the secondary action button.
className
stringLayout-only classes (positioning). Never override colour, type, or radius.