Skip to main content

SecurityLevelBadge

SecurityLevelBadge communicates the sensitivity or trust level of content, systems, or documents. It is commonly used in trust centers, security whitepapers, and internal documentation portals.

  • Token-driven styling
  • Four standard security tiers
  • Optional icon support
  • Fully accessible

Basic Usage

<SecurityLevelBadge variant="confidential" />
confidential

All Variants

<SecurityLevelBadge variant="public" />
<SecurityLevelBadge variant="internal" />
<SecurityLevelBadge variant="confidential" />
<SecurityLevelBadge variant="restricted" />
publicinternalconfidentialrestricted

With Icon

<SecurityLevelBadge variant="confidential" icon="🔒" />
<SecurityLevelBadge variant="restricted" icon="🛡️" />
🔒confidential🛡️restricted

Props

PropTypeDefaultDescription
variant'public' | 'internal' | 'confidential' | 'restricted''internal'Security classification level
iconReactNodeOptional leading icon
classNamestringAdditional CSS classes
styleReact.CSSPropertiesInline styles

Accessibility

  • Uses role="status"
  • High contrast text on dark surfaces
  • WCAG AA compliant

Best Practices

  • Use confidential for most internal security documentation.
  • Always combine with clear surrounding text explaining handling requirements.
  • AccessLevelBadge
  • DataClassification
  • LegalNotice