Introduction
Installation
Next.jsViteLaravelReact RouterRemixAstroTanStack StartTanStack RouterManual InstallationMCP
All componentsTheme
FieldFormInputText FieldTextareaSearch FieldInput OTPNumber FieldNumber FormatSliderCheckboxSwitchRadioSelectCombo BoxList BoxChoice BoxMulti SelectToken FieldNewTag FieldTag GroupCalendarDate FieldDate PickerDate Range PickerRange CalendarTime FieldColor PickerColor FieldColor AreaColor SliderColor SwatchColor Swatch PickerColor ThumbColor WheelDrop ZoneFile Trigger
ButtonButton GroupToggleToggle GroupPreskok Auth Button
EditorHeadingLinkTextKeyboard
CardContainerGrid ListResizableTableFilter BarNewTreeSeparatorDescription ListScroll AreaShow MoreToolbar
BreadcrumbsNavbarPaginationTabsWizardSidebar
DialogModalPopoverPreview TriggerNewSheetTooltipContext MenuDropdownCommandCommand MenuDisclosureMenu
ToastProgress BarProgress ListProgress CircleMeterLoaderSkeletonNoteBadge
ChartArea ChartBar ChartLine ChartPie ChartRadial ChartRadar ChartBar ListTrackerRecharts ChartsDeprecated
Async ImageAvatarCarouselPreskok Icon
Feedback

Progress List

A read-only overview of the steps in a multi-step process and which of them are done.

View as MarkdownAsk ChatGPT

Use a progress list to show where a process stands, for example an order or an import. It is not interactive. When people need to move between steps, use a Wizard.

Vertical with descriptions

Pass orientation="vertical" for timelines, and description on a ProgressListItem for secondary text like a timestamp.

Compact

Steps can drop their visible label. Give each one an aria-label so screen readers still hear the step name with its status, and shrink the indicator with --step-indicator-size.

Installation

npx shadcn@latest add @preskok/progress-list

Usage

import {
  ProgressList,
  ProgressListItem,
} from "@/components/ui/preskok-ui/progress-list"

export function Checkout() {
  return (
    <ProgressList aria-label="Checkout" selectedKey="payment">
      <ProgressListItem id="cart">Cart</ProgressListItem>
      <ProgressListItem id="shipping">Shipping</ProgressListItem>
      <ProgressListItem id="payment">Payment</ProgressListItem>
      <ProgressListItem id="review">Review</ProgressListItem>
    </ProgressList>
  )
}

selectedKey is the id of the current step. Steps before it are marked completed and steps after it are upcoming. Each item exposes data-current and data-completed, and its render props include isCurrent, isCompleted and stepNumber. Screen readers announce each step's status ("Completed", "Current" or "Not completed") together with its label.

For a step without visible text, such as an icon, pass aria-label to the ProgressListItem.

Progress Bar

A progress bar component for showing completion status.

Progress Circle

A circular progress component for showing completion status.

On this page

Vertical with descriptions
Compact
Installation
Usage
Škoda Octavia Combi 2.0 TDI
Order CM-48213 · Autohaus Berger, Graz
  1. Completed
    Ordered
  2. Completed
    Paid
  3. Current
    3In transport
  4. Not completed
    4Delivered

Truck LJ-482 picked the car up in Graz.

Simulate an update
Shipment CM-48213
Carrier: Prevozi Kos · Truck LJ-482
  1. Completed
    Transport bookedMon, 30 Nov · 09:12 · Ljubljana
  2. Completed
    Picked upTue, 1 Dec · 14:40 · Graz, Autohaus Berger
  3. Current
    3Crossed the borderTue, 1 Dec · 19:05 · Šentilj
  4. Not completed
    4At the Ljubljana hubExpected Wed, 2 Dec · 08:00
  5. Not completed
    5DeliveredExpected Wed, 2 Dec · by 16:00
Open orders
4 vehicles this week
  • Škoda Octavia Combi

    CM-48213 · In transport

    1. Completed
    2. Completed
    3. Current
      3
    4. Not completed
      4
  • BMW 320d Touring

    CM-48190 · Paid

    1. Completed
    2. Current
      2
    3. Not completed
      3
    4. Not completed
      4
  • Renault Mégane E-Tech

    CM-48177 · Delivered

    1. Completed
    2. Completed
    3. Completed
    4. Current
      4
  • Volkswagen Golf 1.5 TSI

    CM-48152 · Ordered

    1. Current
      1
    2. Not completed
      2
    3. Not completed
      3
    4. Not completed
      4