Skip to main content

Figma Storybook

BadgePriority

A small label with a leading icon used to indicate urgency or priority level. Use when users need to quickly identify how critical an item is. Don't use for general statuses — use Badge instead.

Figma Storybook Docs

Description

What it does

Displays a compact, icon-forward label that communicates how urgent or critical an item is, using a consistent visual language of colour and iconography to signal priority level at a glance.

Where it appears

Table rows, list items, and card headers in Open Point — primarily on stakeholder records, consultation tasks, and action items where urgency must be surfaced without expanding the item.

Why it exists

Government teams managing stakeholder relationships often work across dozens of concurrent consultations. Priority needs to be communicated in dense list views without relying on colour alone, so the leading icon provides a redundant signal that meets WCAG 1.4.1.

Dependencies

Badge

Anatomy

PartRequired?Notes
Container Required Pill-shaped wrapper using --op-radius-pill. Background colour is determined by the priority variant token.
Leading icon Required A small (16px) icon from the Orbit icon set that reinforces the priority level visually. Must not be removed — it is the redundant non-colour signal required for accessibility.
Label text Required Short, capitalised priority label (e.g. 'Critical', 'High', 'Medium', 'Low'). Uses --op-text-xs, --op-font-body.

Variants

Critical

Highest urgency — requires immediate attention

Use for stakeholder issues or consultation actions that are overdue or escalated, where failure to act promptly has significant consequences.

High

Elevated urgency — action needed soon

Use for items due within a short window or flagged by a senior stakeholder. Not yet escalated but trending toward critical.

Medium

Moderate urgency — action needed but not immediately

Use for routine work items that are in progress or scheduled within the normal planning cycle.

Low

Minimal urgency — informational or backlog

Use for items that have been acknowledged but are not time-sensitive. Helps teams deprioritise without losing visibility.

States

State Behaviour
Default Displays the priority label with its associated icon and background colour. No interactive behaviour.
Inside a focusable parent The badge itself is not focusable. When it appears inside a focusable row or card, screen readers read the badge label as part of that element's accessible name or description — see aria guidance below.

Usage guidelines

When to use

  • In stakeholder record lists or tables where urgency affects the order of outreach or response.
  • On consultation task lists to help coordinators triage workload across multiple projects.
  • On action item cards when a deadline or escalation has been set by a manager.

When not to use

  • Do not use to communicate general record status (e.g. 'Active', 'Archived', 'Draft') — use Badge instead.
  • Do not use more than one BadgePriority per item — if multiple priorities apply, show the highest and surface the others in the detail view.
  • Do not use in public-facing Social Point views — priority is an internal operational concept and is not meaningful to community members.

Do / Don't

Do

Use the four defined variants (Critical, High, Medium, Low) consistently across the product so users build reliable mental models.

Don't

Do not create custom variants or recolour the badge outside the token system — inconsistent priority signals erode trust.

Do

Pair BadgePriority with a visible label ('Critical') so colour is never the sole differentiator.

Don't

Do not strip the label to show only the icon in space-constrained layouts — use truncation or abbreviation of surrounding content instead.

Do

Place the badge at the start of a row or near the item title so it is encountered early in reading order.

Don't

Do not place the badge at the end of a long row where it may be missed or encountered after the user has already begun processing the record.

Was this page helpful?

Updated 9 September 2026