Empty state
A React component in Beamline's Feedback category, in the free sample.
What a place will hold and the first step to fill it, instead of a blank; a compact size for panels and filtered tables.
Use it for
- First runs, cleared inboxes, filters with no results.
Not for
Anatomy
- root (fills its place; reads its room)
- icon tile with a dashed ring
- title
- description
- action
- secondary
Variants
- size: md, sm
- layout: stack, row
States
- first run
- no results
- all caught up
- next step pointed at (the ring firms up)
Keyboard
- Actions are buttons
Motion
Arrives with a fade over --pui-fade-in (it usually replaces a list that just emptied; reduced motion keeps the fade, none removes it). The dashed ring firms up at once while the next step is pointed at or focused and eases back over --pui-motion-out.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title / description / action / secondary / icon | ReactNode | — | title: Say what will be here: "No reports yet". description: Why it is empty and what happens next. action: The next step: create, import, invite. secondary: A quieter second step: docs, a sample. icon: Icon element shown beside the label. Defaults to no leading icon. |
size | "md" | "sm" | "md" | compact for panels and table bodies. |
layout | "stack" | "row" | "stack" | stack (default): centred. row: a strip for a list body or table section — icon, words and actions in one line from 32rem, the stack below. |
style / ref | CSSProperties / native Ref | — | style: Inline styles on the documented visual root; no inline overrides by default. ref: Receives the documented root element; no ref by default. |
classNames | EmptyStateClassNames | — | Classes for the named visual parts; no part overrides by default. |
title (required) | ReactNode | — | Say what will be here: "No reports yet". |
description | ReactNode | — | Why it is empty and what happens next. |
action | ReactNode | — | The next step: create, import, invite. |
secondary | ReactNode | — | A quieter second step: docs, a sample. |
icon | ReactNode | — | Icon element shown beside the label. Defaults to no leading icon. |
label | string | — | The region's name, when the title is not text. |
className | string | — | Classes on the documented visual root; no override by default. |
style | CSSProperties | — | Inline styles on the documented visual root; no inline overrides by default. |
ref | Ref<HTMLElement> | — | Receives the documented root element; no ref by default. |
Used in
- Account ledger
- Security
- Action center
- Admin users
- Agent runs monitor
- AI agent workspace
- Analytics dashboard
- API keys & webhooks
- Approval policy
- Artifact workbench
- Asset packs
- Audience segments
- Audit log
- Benefit changes
- Billing & invoices
- Services and hours
- Case workspace
- Changelog feed
- Insurance claims
- Client forms
- Company access
- Component source
- Contact profile
- Conversation history
- Course builder
- Course dashboard
- Course home
- Crew booking
- CRM pipeline
- Cycle planner
- Dashboard controls
- Dashboard panels
- Data binding
- Document review
- Email automation
- Empty states
- Engineering changes
- Equipment register
- External review
- Field conditions
- File manager
- Gift batches
- Gift desk
- Grading desk
- Guest messages
- Health questionnaire
- Helpdesk inbox
- Hours ledger
- AI image studio
- Import runs
- Instrument use
- Integrations
- Invoices
- Job card
- Knowledge base manager
- Lease renewals
- Localization overview
- Market screener
- Meeting and call review
- Model issues
- My shift
- Note templates
- Notification preferences
- Onboarding checklist
- Order history and fills
- Order ledger
- Orders admin
- Packages & memberships
- Participant review
- Patient overview
- Payroll approvals
- Payroll cycles
- Payroll run
- Pipeline views
- Plan acceptance
- Plan comparison
- Plan follow-up
- Plan templates
- Playbook check
- Portfolio overview
- Post performance
- Pre-flight briefing
- Probing chart
- Procedure picker
- Product analytics
- Production plan
- Program modules
- Project board
- Project browser
- Project directory
- Project periods
- Projects
- Prototype task
- Purchase orders
- Quality checks
- Query library
- Question builder
- Queue settings
- Record import
- Report builder
- Report library
- Reservation desk
- Resource rules
- Rooms & equipment
- Retention analysis
- Review page builder
- Roles & permissions
- Room readiness
- Roster publishing
- Run of show
- Sales dashboard
- Saved views
- Scan station
- Serial allocation
- Service tasks
- Session notes and tasks
- Shift briefing
- Shop floor
- Social media scheduler
- Sound library
- Special orders
- Stage reports
- Status dashboard
- Stay folio
- Stock count
- Submittal register
- AI support chat
- AI support console
- System pages
- Tag manager
- Team chat
- Team & members
- Telemetry explorer
- Ticket setup
- Timesheet review
- Tracker desk
- Trading terminal
- Training progress
- Transaction review
- Translation workbench
- Treatment plan
- Versioned dashboard
- Visit board
- Visitor journey
- Voice agent
- Volunteer rota
- Waitlist desk
- Workflow builder
- Workflow composer
- Workout logger
- Workout planner
- Workspace switcher
Import
import { EmptyState } from "@beamline/empty-state";
Get it
Empty state is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Empty state is included in the free MIT sample. Get Beamline · Connect your agent
More in Feedback
- Timer: A duration that counts down (or up) from your clock: Start, Pause, Resume, Reset and the finish reported once; the time left drawn as a bar you drag (or…
- Notification centre: Updates that wait to be read: a bell with the unread count opens All / Unread, new and earlier groups, and per item mark read or dismiss.
- Usage meter: An allowance and what fills it: one bar split by source, the room left, a warning near the limit and the overflow in its own red well past a notch at the…
- Alert: A message that stays until it is dealt with: what happened, what to do, an action; danger and warning are announced; dismissing folds its height away.
- Cookie consent: Asks once which cookies a visitor allows, with Reject all and Accept all given equal weight; Customise grows the notice in place into each category with…
- Spinner: A ring that spins while work runs and closes into a drawn check or cross when it ends.
- Announcement bar: A banner across the top for news and offers: messages take turns, a countdown ticks, and dismissing folds it away and can remember it.
- Progress: How much of a known task is done, or a moving bar when the length is unknown, with an optional label and value.
- Skeleton: Holds the shape of content while it loads, then crossfades into it, so nothing jumps.