Skip to content

ProgressBar

ReleasedShipped in 0.2.0StorybookFigma node 140:67Source
  • To show how full something is against a known total, such as a property’s occupancy for a night (“38 of 48 · 79%”).
  • To compare parts of a whole side by side, such as revenue by booking channel, with each share as the Value.
  • To show a score out of a maximum, such as review scores by category; hide the label row when the layout already names it.
  • Use tone inverse on navy backgrounds, such as a sold-out night in the calendar.

Not built. The last “when to use” item (Figma node 140:204) is copied from Figma as written, and it recommends something this build does not have. ProgressBarTone has only primary, success, neutral. From decisions.md, “2026-10-02 · ProgressBar inverse tone not built”: Gate 5 passes for the missing inverse tone, and for that tone only, until the designer gives the inverse track a colour distinct from its fill and the tone is built. The user decided to build only the three working tones (primary, success, neutral). No story is drawn for the inverse tone, and the tone union does not include it.

  • For steps in a flow, such as “1 of 3”: use the Stepper component instead.
    Instead: Stepper
  • To compare exact figures across many rows: use the Table component instead.
    Instead: Table

From the Figma documentation page (usage node 140:82), as written. These items aren’t carried into ProgressBar.intent.json, which has no field for them.

  • Always show the number too, as the Value or a nearby label; the bar alone isn’t precise and screen readers can’t read it.
  • Pick the value (0 to 100 in steps of 10) and type the same number in Value, so the bar and the text agree.
  • Keep bars in the same group the same size and width so they can be compared.
  • Give colours a consistent meaning, such as one colour per booking channel, and name it in the label.
  • Use size sm in dense layouts such as calendar cells, and md everywhere else.
  • Keep the fill between 0 and 100%; show overbooking with a separate marker, not a bar longer than its track.

Where the built component differs. Item 2 (Figma node 140:232) says to type the same number in Value. ProgressBar.tsx has no separate Value text to type: it prints the text from value itself. The Code tab says how.

Property Value What it is for
size md 8px (default)
size sm 6px (dense layouts such as calendar cells)
tone primary default
tone success Figma doesn’t say.
tone neutral Figma doesn’t say.

From Versioning (VERSIONING.md at b9ffb76):

0.3.0 adds six components on top of 0.2.1: Calendar, Card, Form, Modal, SideBar and Table. It contains twenty-three components, each exported from the package root with its props type: Avatar, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Chip, Dropdown, File, Form, Header, Image, Link, Logo, Modal, ProgressBar, RadioCard, SearchBar, SideBar, Stepper, Table, Toggle. Textfield is exported from the package root as well, with TextfieldProps and TextfieldState, and is public like the others (see decisions.md, 2026-10-07, Textfield). It commits you to their props, prop values and defaults, their hz- class names, the tokens in tokens.css and the three entry points (., ./styles.css, ./tokens.css). Everything in 0.3.0 beyond 0.2.1 is an addition: nothing from 0.2.1 was changed, removed or renamed. A change that breaks any of these on 0.x bumps the version to 0.4.0.

Two things about this release are worth knowing:

  • Form, Modal and Table each passed release review with their literal sizes covered by a ruling in decisions.md (Card, SideBar and Calendar have their own), because no size tokens exist for them. Those literals are accepted until the designer adds matching tokens, so a later change to use tokens at the same rendered sizes would be a patch, not a breaking change.
  • Dark theme is not verified for Table, and its warning tag has low contrast. The Table docs page says so. Neither is a breaking-change risk, but a fix that changes a token’s value is a patch and is listed in the changelog.