Empty State

The "nothing here yet" block: an icon in a tinted circle, a title, a muted line of text and the actions that get the user going.

A block from @tectra-ng/blocks — it comes with tectra-ng, or alone: npm install @tectra-ng/blocks.

Features6APIThemingAccessibility

Basic

An icon, a title, a line of text and the action that fills the list. Put it into the txTableEmpty template of a table: it shows while the table has no rows.

No workers yetCreate the first worker to start.

Variants

framed draws its own card for an empty page, inset is a ground-coloured block inside a card, plain (default) has no frame.

No projectsProjects group your domains, reports and people.
Recent activity
Activity of the last 30 days shows here.
No notifications

Sizes

compact puts the icon next to the text in one row for small widgets, large is the onboarding size.

No data yetThe widget fills after the first visit.No membersInvite people to work together.Welcome aboardConnect your first source and the dashboard builds itself.

Tones

tone colours the icon and its circle: a calm neutral for an empty list, success for "all done", danger for something that failed.

Inbox is emptyNew requests land here.No documentsUpload a file to share it.All doneEvery task is closed.Nothing to reviewReviews show up here.No schedulePick the hours to run.Sync failedTry again in a minute.

No results

For a search without results tell the user what was searched and give a way back. Here the table searches with [(globalFilter)] and shows the empty state from its txTableEmpty template.

No cities foundNothing matches “Paris”. Check the spelling or clear the search.

Design tokens

dt changes the tokens of one empty state: here a square icon and a tighter layout.

No meetings todayEnjoy the quiet.