Empty state
Fills empty pages and tables, and says what to do next.
No projects yet
Create your first project to start designing with Atomus.
Add the source to a shadcn project
npx shadcn@latest add https://docs.atomus.io/r/empty-state.jsonOpen in v0Installs the component source, its CSS and the Atomus tokens into components/atomus/. How the registry works
In Figma
Section titled “In Figma”From guidelines/components/empty-state-file-upload.md · Open in Figma: EmptyState
Properties, variants and anatomy of the Figma components. React props use the same names.
Empty state
Section titled “Empty state”Empty / no-results state for tables, lists and pages.
Variants: 2
| Property | Type / options |
|---|---|
| Title | text |
| Description | text |
| Actions | boolean (on) |
| Size | sm · md |
import { EmptyState } from '@stanvision/atomus-react';
<EmptyState title="No projects yet" description="Create your first project to start designing with Atomus." actions={<Button hierarchy="primary">New project</Button>}/>Fills an empty page, table or panel and says what to do next.
Props at a glance
Section titled “Props at a glance”Full types and defaults are in React API at the end of the page.
title(what’s missing),description(one sentence),actions,icon,sizesm(panels) ·md(pages).
Design guidance
Section titled “Design guidance”From the Figma guidelines.
Do
- Explain what will appear here and how to start.
- Offer one primary action.
- Use md in pages and cards, sm in narrow panels.
Forbidden
- Never leave a screen blank.
- Never blame the user.
- Never show more than two actions.
React API
Section titled “React API”Generated from react/src/components by scripts/gen-react-api.mjs — the same tables agents read in guidelines/components/empty-state-file-upload.md.
Use only these props; anything else is not part of the API.
EmptyState
Section titled “EmptyState”import { EmptyState } from '@stanvision/atomus-react'; — source: react/src/components/EmptyState.tsx
| Prop | Type | Default | Description |
|---|---|---|---|
title |
ReactNode |
required | Figma: Title |
description |
ReactNode |
— | Figma: Description |
icon |
ReactNode |
— | Featured icon glyph |
actions |
ReactNode |
— | Figma: Actions — usually Outline + Primary buttons |
size |
'sm' | 'md' |
'md' |
Figma: Size — sm (panels) · md (pages) |
Also accepts every native <div> attribute (id, role, onClick …), except title, which is replaced above.