Patterns

Progress

Bar, gradient (with sheen), striped (moving), segmented (steps), indeterminate; and a ring with the number inside.

7 examples 2 animated · 1 Pro Code and Figma for each
64%
92%
72%
45%
64%
82%
✓

Examples#

Each one on its own: copy its code into your app, or copy it to Figma and paste it on the canvas as layers.

Bar

With a label and the number: how far along something is.

64%

Tones and sizes

Danger when it is nearly full, success when it is done; three heights.

92%
58%
100%

Gradient

In the brand gradient, with a light that crosses it: for onboarding.

72%

Striped

Moving stripes: something is working on it now.

45%

Segmented

Steps of a set-up, one block each.

Indeterminate

When it is not known how long it will take.

Ring

The number in the middle: for dashboards and profiles.

64%
82%
✓

Animated#

Motion that earns its place: free ones to copy now, and Pro ones whose code and Figma copy come with a Wavi Pro licence. They respect the visitor's reduced-motion setting.

Fills as it goesFree

Fills to its value when shown, smoothly; press replay to watch again.

0%

Upload queue Pro

Each file fills in turn and ticks off, then the heading says they are all in.

Uploading 3 files

  • 0%gulshan-october.csv2.4 MB
  • 0%banani-plates.xlsx860 KB
  • 0%receipts-q3.pdf5.1 MB

Import#

Everything comes from the package root. The example above uses:

your-component.tsx
import { Progress, ProgressRing } from "@waveinno/ui";

Props#

Read from the source of this version, so they match the code exactly.

<Progress>

src/components/ui/progress.tsx
PropTypeDefaultDescription
valuenumber—0–100; undefined = indeterminate.
toneTone"info"
classNamestring—
labelstring—
variant"bar" | "gradient" | "striped" | "segmented""bar"
sizekeyof typeof heights"sm"
segmentsnumber5
showValuebooleanfalse

<ProgressRing>

src/components/ui/progress.tsx
PropTypeDefaultDescription
valuerequirednumber—
sizenumber64
thicknessnumber6
toneTone"info"
gradientbooleanfalseDraw the arc in the brand gradient instead of the tone.
labelstring—
childrenReact.ReactNode—
classNamestring—

Install#

If the project does not have the package yet, add it, then follow the setup for Next.js or Vite once.

$ npm install @waveinno/ui