EntityStatusBadge

EntityStatusBadge is used to indicate entity status in Contentful apps. The component is based on our Badge component and has a built-in mapping of entity status to a badge variant.

Import

import { EntityStatusBadge } from '@contentful/f36-components';
// or
import { EntityStatusBadge } from '@contentful/f36-badge';

Examples

EntityStatusBadge can represent different entity statuses. The value is passed as an entityStatus property and displayed as content in the badge:

Published

published

Draft

draft

Archived

archived

Changed

changed

Deleted

deleted

New

new

With scheduled actions

Some entities have scheduled actions, for instance an entry might be scheduled to be published at a specific time later on:

changed

Props (API reference)