Once UI Handbook
Beginner Guides
What is Once UI?
Install & config
Page skeleton
Your first page
Build And Launch
How to launch a portfolio site that actually gets you hired
How to build a documentation site with MDX and Next.js
How to ship a landing page and dashboard with authentication in Next.js
How to launch a social app with Next.js and Supabase
Vibe Coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Common Patterns
Hero section
Static panel
Form layout
Highlighted card
Responsive stacking
Decoration layers
Dialog & modal
Toast & feedback
Tables & lists
Loading states
App shell navigation
Dashboard & charts
Chat & messaging
Auth & verification
Settings & split panels
Data filters & toolbar
Command palette
Pricing & plans
Accordion & FAQ
Media & uploads
Empty & error states
SEO, Open Graph, and structured data
Documentation code blocks with live preview
Carousels, galleries, and before/after comparisons
Date pickers and scheduling
Context menus and dropdown actions
Tags, chips, and multi-value inputs
Roadmap & kanban
Form inputs & controls
Progress, status & badges
Scrolling & feeds
Profile, avatars & identity
Social proof & logo clouds
Masonry & media grids
Table pagination, search & bulk selection
Banners & announcements
Footer layouts
Onboarding & first run
Waitlist & coming soon
Design Tips
Color & surfaces
Harness overview
Row, Column & Grid
Spacing & rhythm
Icons & buttons
Reveal & motion
Theme tokens, FOUC-free init, and runtime style controls
Tooltips and hover cards
Block updates
Block updates changelog
Agent Resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
TrademarkTrademark
Ctrl k
Search...
Sign up
Once UI Handbook
Beginner Guides
What is Once UI?
Install & config
Page skeleton
Your first page
Build And Launch
How to launch a portfolio site that actually gets you hired
How to build a documentation site with MDX and Next.js
How to ship a landing page and dashboard with authentication in Next.js
How to launch a social app with Next.js and Supabase
Vibe Coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Common Patterns
Hero section
Static panel
Form layout
Highlighted card
Responsive stacking
Decoration layers
Dialog & modal
Toast & feedback
Tables & lists
Loading states
App shell navigation
Dashboard & charts
Chat & messaging
Auth & verification
Settings & split panels
Data filters & toolbar
Command palette
Pricing & plans
Accordion & FAQ
Media & uploads
Empty & error states
SEO, Open Graph, and structured data
Documentation code blocks with live preview
Carousels, galleries, and before/after comparisons
Date pickers and scheduling
Context menus and dropdown actions
Tags, chips, and multi-value inputs
Roadmap & kanban
Form inputs & controls
Progress, status & badges
Scrolling & feeds
Profile, avatars & identity
Social proof & logo clouds
Masonry & media grids
Table pagination, search & bulk selection
Banners & announcements
Footer layouts
Onboarding & first run
Waitlist & coming soon
Design Tips
Color & surfaces
Harness overview
Row, Column & Grid
Spacing & rhythm
Icons & buttons
Reveal & motion
Theme tokens, FOUC-free init, and runtime style controls
Tooltips and hover cards
Block updates
Block updates changelog
Agent Resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
Common patterns

Progress, status & badges

ProgressBar for completion, StatusIndicator for state dots, Badge for counts and labels.
Updated 21d ago
Form inputs & controls
Scrolling & feeds
5 min · Pattern
ProgressBar for completion, StatusIndicator for state dots, and Badge for counts and labels — the three primitives for showing where things stand.

What this pattern covers

Users need to see progress and state at a glance:
  • ProgressBar — upload progress, onboarding steps, storage usage
  • StatusIndicator — online/offline dots, kanban status, sync state
  • Badge — notification counts, version labels, category chips
These appear in dashboards, settings, roadmaps, and navigation — often together on the same row.

ProgressBar

ProgressBar renders a filled track with an optional animated percentage label.
Prop
Default
Use for
`value`requiredCurrent value (0–100 or custom range)
`min` / `max`0 / 100Custom scales (e.g. 0–5 GB)
`label``true`Show percentage text
`labelPosition``"bottom"``"top"`, `"bottom"`, `"left"`, `"right"`
`barBackground``"brand-strong"`Fill color token
The label uses an animated counter internally — you only pass the numeric value.

Storage usage example

<Column gap="8" fillWidth>
  <Row fillWidth horizontal="between" vertical="center">
    <Text variant="body-strong-s">Storage</Text>
    <Text variant="label-default-s" onBackground="neutral-weak">
      7.2 GB of 10 GB
    </Text>
  </Row>
  {/* ProgressBar value={72} barBackground="brand-strong" */}
</Column>

Onboarding checklist

Stack multiple ProgressBar rows — one per step — with labelPosition="right" for a compact sidebar widget. Hide the label (label={false}) when the surrounding Text already states the percentage.

StatusIndicator

StatusIndicator is a small colored dot. Use it anywhere a word label would be too heavy.
Color
Typical meaning
`green` / `emerald`Online, success, complete
`brand`In progress, active
`red` / `orange`Error, blocked, warning
`gray` / `neutral`Offline, inactive, planned
`yellow`Pending, attention needed
Sizes follow t-shirt tokens: xs, s, m (default), l. Pair with a Text label in a Row:
<Row gap="8" vertical="center">
  {/* StatusIndicator color="green" size="s" ariaLabel="Online" */}
  <Text variant="label-default-s">Online</Text>
</Row>
Always set ariaLabel when the dot appears without adjacent text.

In tables and lists

Add a StatusIndicator column for row state — sync status, deployment health, user presence. Keep the dot in dense tables.
size="s"

Badge

Badge displays short labels, counts, or links with optional icons.
Prop
Notes
`children`Badge text — do not duplicate in `title`
`icon`Optional leading IconName
`href`Makes badge a link; enables arrow by default
`effect`Subtle shine animation (default `true`)
Use Badge for version tags (children="Beta"), unread counts, and category labels in navigation sidebars.
Avoid putting the same string in both title and children — pick one.

Combining all three

A deployment status row might use:
  • StatusIndicator (green) for "Healthy"
  • ProgressBar (value={100}) for rollout completion
  • Badge (children="v2.4") for the release tag

Write this / not this

✅ Once UI way
❌ Common mistake
ProgressBar with token `barBackground`Inline width div with hex color
StatusIndicator + label TextColor-only dot with no accessible name
Badge `children` for textSame text in `title` and `children`
`label={false}` when context is obviousRedundant percentage everywhere

Check yourself

  • ProgressBar value matches your min/max range
  • StatusIndicator has ariaLabel when unlabeled
  • Badge text lives in children only
  • Colors use semantic tokens, not arbitrary CSS

Related

→ Roadmap & kanban → Dashboard & charts → Loading states
<Row gap="8" vertical="center">
  <Text variant="body-strong-s">Notifications</Text>
  {/* Badge children="3" — unread count */}
</Row>
<Column
  background="surface"
  border="neutral-alpha-weak"
  radius="l"
  padding="24"
  gap="16"
  fillWidth
>
  <Row fillWidth horizontal="between" vertical="center">
    <Row gap="8" vertical="center">
      {/* StatusIndicator color="green" size="s" */}
      <Text variant="body-strong-s">Production</Text>
    </Row>
    {/* Badge children="v2.4.1" */}
  </Row>
  {/* ProgressBar value={100} label={false} */}
  <Text variant="body-default-xs" onBackground="neutral-weak">
    All instances updated
  </Text>
</Column>