Vertical Stepper

Displays a sequence of steps that the user can navigate through.
1
Create account
2
Invite team
3/4 seats remaining
3
Start building
Properties
No properties to configure
Example
Source Code
Installation
"use client";

import React from "react";
import { VerticalStepper } from "@/subframe/components/VerticalStepper";

function VerticalStepperExample() {
  return (
    <VerticalStepper>
      <VerticalStepper.Step
        variant="completed"
        stepNumber="1"
        label="Create account"
        firstStep={true}
      />
      <VerticalStepper.Step
        variant="active"
        stepNumber="2"
        label="Invite team"
        firstStep={false}
      >
        <span className="text-caption font-caption text-subtext-color">
          3/4 seats remaining
        </span>
      </VerticalStepper.Step>
      <VerticalStepper.Step
        stepNumber="3"
        label="Start building"
        lastStep={true}
      />
    </VerticalStepper>
  );
}

export default VerticalStepperExample;

Props

Vertical Stepper
Step
Prop
Type
Default
Additional info
children
React.ReactNode

Examples

Variants

First and last step

Use firstStep and lastStep props to indicate the first and last steps.