Skip to content
nexubDesign System
v12.7.0

Components · Loading States

Progress

StableAdded v0.0.1

Horizontal progress bar with optional tone and animation.

import { Progress } from '@nexub/react';
View as Markdown

Playground

Props

variant
size
TSX
<Progress value={65} />

Examples

Default

Tones

Animated

States

  • default
  • size="sm"
  • size="md"
  • size="lg"
  • variant="linear"
  • variant="circular"
  • tone="neutral"
  • tone="info"
  • tone="success"
  • tone="warning"
  • tone="danger"
  • tone="leap"
  • tone="bookub"
  • tone="payub"

Props

Props
PropTypeDefaultDescription
valuenumber—Current progress value between 0 and max.
maxnumber100Maximum value of the progress bar.
tone'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub''neutral'Semantic colour tone of the filled track.
animatedbooleanfalseAdds a stripes-in-motion animation to the filled track.
segmentsnumber—Linear only: splits the bar into N equal steps, filled up to the value.
size'sm' | 'md' | 'lg''md'
variant'linear' | 'circular''linear'circular draws a ring; same value/max/indeterminate semantics.