@redrob-labs/ui v1.8.0 · Redrob Group Design System 2026

ProtectionStatus

Safeguards · src/components/ProtectionStatus/ProtectionStatus.tsx

The one sentence a person needs about a protection, large, with whether it is running. Heads a panel or a page.

The title says what IS, not what the feature is called: "Privacy protection is on: High" rather than "Privacy". A person checking whether they are protected should not have to interpret a label.

live pairs a dot with text. The dot alone would be decoration, and a safeguard that signals only in colour is a safeguard some readers cannot verify.

Import

import { ProtectionStatus } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
title required React.ReactNode
icon React.ReactNode
tone 'safe' | 'warn' | 'brand' | 'plain' safe on, warn off or degraded, brand a feature in force, plain neutral.
size 'sm' | 'md' | 'lg' sm for a composer popover where a chip already names the panel; lg to head a settings page. Default md.
live string Text beside a live dot: what is running right now.
as keyof React.JSX.IntrinsicElements Element for the title, when the card opens a section.
className string
children React.ReactNode