StealThis .dev

Empty State

Illustrated empty state placeholders for no data, no results, no notifications, and no files found — with optional action button.

Open in Lab
css
Targets: HTML

Code

Empty State

Polished empty state components for every scenario where content hasn’t loaded, doesn’t exist, or matches no filters. Each variant pairs an SVG illustration with a short message and an optional CTA.

Variants

  • No data — first-time empty list or table, with a “Get started” action
  • No results — search or filter returned nothing, prompt to clear/adjust
  • No notifications — inbox-zero moment, celebratory tone
  • No files — file manager or uploads section with an upload CTA

Design notes

  • SVG icons are inline so they inherit color and stay sharp at all sizes
  • Background circle creates a soft glow behind the icon
  • Optional .empty-action button is a secondary-style CTA
  • Fully CSS-only — no JavaScript needed

Usage

Drop the .empty-state block wherever your content list or grid would render when empty. Swap the SVG and copy to match your context.