Empty state
An empty state fills a region that has nothing to show and says what to do about it: a graphic, a Title text, a Description text and an optional action. Breakpoint (md, sm) matches the page.
- Design
- Finished
- Level
- Draft
- Audit
- 1 open findingat the audit of
- Last changed
- Resources
- Figma Propose a change
Preview


Usage
Do
- Use where a list or a page section came back empty — a search with no results (
folder), a company with no active jobs (switch), a posting with no description (earth) — and where an action completed and left nothing else to show, as the contact form's "Message sent!" (cursor) does - Write
Title textas the situation andDescription textas the way out - Make the button the way out — "Clear search", "Show expired jobs", "Send another"
Don't
- Use for an error: the library has no error state, so add one rather than reusing this
- Reuse a graphic another emptiness already uses with a different meaning
- Let
Description textrestate the title
Behaviour
Buttonreveals the action; turn it off when the region offers nothing to do, as the sent message inside the contact modal doesGraphicswaps the illustration between the five on the❖ Graphicpage
Composition
- Contains a graphic from the
❖ Graphicpage, supplied throughGraphic; the default isswitch - Contains
Button(sm,Secondary), revealed by theButtonboolean
Dependencies in Figma
Level checks
Draft · next level blocked by Errors open
| Check | Level | Result |
|---|---|---|
| Audited | Ready | Passes |
| No errors open | Ready | 1 error open |
| Has a description | Ready | Passes |
| Usage and Don't written | Ready | Checked at the next audit |
| Every layer named | Ready | Passes |
| In code | Ready | Passes |
| No warnings open | Stable | Passes |
| Code gen notes written | Stable | Checked at the next audit |
| Auto layout throughout | Stable | Checked at the next audit |
| Matches the design | Stable | Passes |
Anatomy
| # | Part | Shown | Component |
|---|---|---|---|
| 1 | switch | Always | switch |
| 2 | Title | Always | – |
| 3 | Text | Always | – |
| 4 | Button | By Button | Button |
Properties
| Property | Type | Values | Default |
|---|---|---|---|
| Breakpoint | Variant | mdsm | md |
| Title text | Text | any text | Title |
| Description text | Text | any text | Description |
| Button | Boolean | true, false | true |
1 instance swap (icons and parts a designer can replace)
- Graphic
Implementation
| Figma | Code | Why |
|---|---|---|
| Container, inside stroke | border with box-sizing: border-box and padding less the stroke, or box-shadow: inset 0 0 0 <width> | Figma's inside stroke takes no space; a border does. |
Breakpoint: md, sm | Media or container queries | One component responds to its width; the variants are the widths drawn. |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Container: fill | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Texts: height · 2 variants | Restyled | Breaking | Minor | |
| Text: height | Restyled | Breaking | Minor | |
| Button: width | Restyled | Breaking | Minor | |
| Button: position · 3 variants | Restyled | Breaking | Minor | |
| Container: width | Restyled | Breaking | Minor | |
| Content: width | Restyled | Breaking | Minor | |
| Content: height | Restyled | Breaking | Minor | |
| Content: position | Restyled | Breaking | Minor | |
| Label: width | Restyled | Breaking | Minor | |
| Label: height | Restyled | Breaking | Minor | |
| Empty state: height · 4 variants | Restyled | Breaking | Minor | |
| Title: height | Restyled | Breaking | Minor | |
| Text: position | Restyled | Breaking | Minor | |
| Title: text style | Restyled | Minor | Minor | |
| Text: text style | Restyled | Minor | Minor | |
| Label: text style | Restyled | Minor | Minor | |
| Text: listSpacing | Restyled | Minor | Minor | |
| Text: line height | Restyled | Minor | Minor | |
| Text: letter spacing | Restyled | Minor | Minor | |
| Label: line height | Restyled | Minor | Minor | |
| Label: letter spacing | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Layer Container | Added | Minor | Patch | |
| Layer Content | Added | Minor | Patch | |
| Layer Label | Added | Minor | Patch | |
| Button: overrides | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Title: line height | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Title: line height | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Its values moved | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Description | Docs | Patch | Patch |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Property Button | Added | Minor | Minor | |
| Layer Switch | Renamed | Patch | Minor | |
| Variants | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Property Breakpoint | Added | Minor | Minor | |
| Variants | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Nested component renamed (1 layer) | Not graded | Not graded | Not graded | |
| Button: props | Restyled | Minor | Minor | |
| Component | Added | Minor | Minor |