Empty Value

An em dash in a muted tone for an empty table or detail cell. Never "N/A", "None" or a blank. Screen readers hear "Empty".

BetaReady to use. Its API can still change in a minor release; the changelog says when.

import { EmptyValue } from "@leap-crm/design-system";

Playground

Change a prop and the component follows. Its code is under Props.

Empty

Props

label

Best practices

When to use it, and the rules that apply in particular places.

GuidancePractice
DoUse it in every empty table cell and detail row, like a contact with no phone number, so a missing value looks the same everywhere.
DoSet label when "Empty" is not specific enough, like "No referrer", so a screen reader says what is missing.
Don'tWrite "N/A", "None" or leave the cell blank. A blank cell reads as still loading or broken.
Don'tUse it for a whole list or tab with nothing in it. Use EmptyState, which says what will appear and offers one action.

Props

PropTypeDefaultDescription
labelstring"Empty"What screen readers hear instead of a dash. "Empty" by default.
classNamestring—Classes added to the root element, merged with its own. Tokens only.

Code

What the playground shows, ready to copy.

import { EmptyValue } from "@leap-crm/design-system";

<EmptyValue />