UI BridgeMisc
Labels & Badges
Translated label and badge for the teaching mode.
Import labels from @workspace/ui-bridge/labels/*, badges from @workspace/ui-bridge/misc/*.
i18n Strategy
Labels translate bridge domain values internally through the Strings Provider; only UI-level text (form labels, placeholders) is passed as props. Vulnerability and scoring have their own atoms: Vulnerability and Scoring.
TeachingMode
Displays a translated label for a teaching mode.
import { TeachingMode } from '@workspace/ui-bridge/labels/teaching-mode';
<TeachingMode mode="auction" />Demo
Allow auction
Props
Prop
Type
TeachingModeBadge
Teaching mode display with safe parsing from unknown input. Handles null/undefined to "-", invalid strings to raw text fallback.
import { TeachingModeBadge } from '@workspace/ui-bridge/misc/teaching-mode-badge';
<TeachingModeBadge teaching="auction" />
<TeachingModeBadge teaching={null} />Demo
Allow auction
Props
Prop
Type