Skip to main content

Enhanced Empty State

A beautiful, animated empty state component with floating icons, background glow effects, staggered animations, optional CTA button, and quick-start suggestion badges. Respects reduced-motion preferences.

Installation

$ npx shadcn@latest add @orecus/enhanced-empty-state
Dependencies:
motionlucide-react
Registry:
@orecus/enhanced-buttonbadge@orecus/use-reduced-motion@orecus/color-utils

Component

Empty states with floating icons, CTAs, and suggestions for guiding users.

No items found

Get started by creating your first item or explore the suggestions below.

Or try one of these:

Quick StartImport DataExplore Templates

Props

PropTypeDefaultDescription
title*stringMain title text
descriptionstringOptional description text below the title
iconLucideIconMain central icon displayed in the animated composition
floatingIconsFloatingIconConfig[]Array of floating icons around the main icon with position, color, and icon properties
ctaCTAConfigOptional CTA button configuration with label, onClick, icon, variant, size, and disabled properties
suggestionsSuggestionConfig[]Optional quick-start suggestions displayed as clickable badges
suggestionsLabelstringOptional label for suggestions section
classNamestringAdditional CSS classes for the container