Feedback
Empty State Panel
Empty State Panel: A centered panel for an empty list or view, with a fanned icon stack, a heading, a supporting line, and a primary action button.
Using Empty State Panel
Empty State Panel uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
title | text | No projects yet | Up to 60 characters |
description | text | Create your first project to start organizing components. | Up to 140 characters |
buttonLabel | text | New project | Up to 30 characters |
icon | select | folder | Options: folder, inbox, search |
Which frameworks are available for Empty State Panel?
Empty State Panel is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Empty State Panel depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Empty State Panel?
The React source for Empty State Panel includes: attributes and handlers (aria-hidden, aria-live); explicit roles (status). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Empty State Panel handle reduced motion?
Empty State Panel reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0.08 : 0.18; reduced ? 900 : 1500; reduced ? false : { opacity: 0, y: -6 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.