empty states
The neutral baseline with slots only (icon, title, description, actions) inside a dashed frame, and no structure tied to a cause.
shadcn add @hazine/empty-state
Depends on @hazine/heading
1 of 6 shipped. Each take is a different structure, and the note under its title says how.
1 item
empty states
The neutral baseline with slots only (icon, title, description, actions) inside a dashed frame, and no structure tied to a cause.
shadcn add @hazine/empty-state
Depends on @hazine/heading
Planned 5
First-use Empty State
Teaches as well as prompts: adds a three-step explainer strip under the actions and a clear primary and secondary action pair, in a wider left-aligned layout on large containers.
No Results with Reset
Reflects the user's own input back: shows the query and each active filter as a removable chip, so recovery can be partial (drop one filter) or total (reset everything).
Permission Needed
Explains who can fix it: a current role versus required role line, an owner identity row, and a request button with a built-in sent state instead of a generic create action.
Cleared Inbox
Celebrates completion instead of prompting creation: success token treatment, a stat line about what was handled, a one-time draw-in of the check under motion-safe, and only a low-emphasis link as action.
Empty State with Import Options
Replaces the single primary button with a grid of equal-weight option cards, each a full-card link or button, plus a Start from scratch text link below.