Start here
  • InstallationAdd Nelumbo to a shadcn project
  • ThemingBrand accent, neutrals, dynamic color
  • Biology componentsSequences, maps, plates and trees
  • katalyx.bio

    Progress

    Shows how far along a task is, or that it's under way when you can't tell. Bars for files, steps and pages; circles for compact spots. A small gap and a stop dot mark what's left, so it reads without color.

    Install

    npx shadcn@latest add @nelumbo/progress

    Linear

    Pass value for determinate progress. Leave it out when you can't measure the wait: two bars sweep across the track instead. Drag the slider to see the indicator, the gap and the track move together.

    determinate
    indeterminate
    size="thick"
    color="brand"

    Wavy

    shape="wavy" turns the indicator into a travelling wave: livelier, for longer waits and moments you want to feel alive, like a sync or an install. The track stays flat.

    determinate
    indeterminate
    size="thick"
    color="brand"

    Circular

    The same, as a ring. Set size and thickness in px; put a value or an icon inside as children.

    determinate
    indeterminate
    wavy
    wavy, indeterminate
    brand, 24px
    64%
    with a label

    In context

    Each bar is named by its file with aria-labelledby, so a screen reader hears “Launch film.mp4, 40%”.

    Uploads

    Brand guidelines.pdf0%
    Launch film.mp40%
    Photos, spring.zip0%

    Usage

    import { CircularProgress, Progress } from "@/components/ui/progress"​<Progress value={40} aria-label="Uploading" /><Progress aria-label="Loading" />                      // indeterminate<Progress shape="wavy" size="thick" value={60} aria-label="Installing" />​<CircularProgress value={72} size={72} thickness={6} aria-label="Storage used">  <span>72%</span></CircularProgress>

    Props

    PropTypeDefaultName every indicator with aria-label or aria-labelledby.
    valuenumber | nullLeave out or pass null for indeterminate
    maxnumber100
    shape"flat" | "wavy""flat"Wavy: a travelling wave on the indicator
    color"auto" | "neutral" | "brand""auto"Black (white in dark mode), or the accent
    Progress size"default" | "thick""default"4px or 8px
    CircularProgress sizenumber40Diameter in px
    CircularProgress thicknessnumber4Stroke width in px
    getValueLabel(value, max) => stringWhat screen readers hear; defaults to a percentage