vamsiy78

Stepper Form

Forms

About

A guided multi-step form shell with a progress tracker, back/continue navigation, per-step validation gating, and a review step.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Stepper Form to your project and fits it to your theme.

Code

How Stepper Form is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import * as React from "react";
import { StepperForm } from "@/components/ui/stepper-form";
export default function StepperFormStates() {
  const [ready, setReady] = React.useState(false);
  return (
    <StepperForm
      className="w-full max-w-sm"
      steps={[
        {
          id: "invite",
          title: "Invite",
          description: "Send an invitation to a teammate.",
          content: (
            <label className="flex items-center gap-2 text-sm">
              <input
                type="checkbox"
                checked={ready}
                onChange={(event) => setReady(event.target.checked)}
              />
              I have their permission
            </label>
          ),
          validate: () => ready,
        },
        {
          id: "confirm",
          title: "Confirm",
          content: <p className="text-sm">Ready to send the invite.</p>,
        },
      ]}
    />
  );
}

Dependencies

More by vamsiy78

View all
  • Animated Beam

    Animated Beam

    24
  • Segmented Control

    Segmented Control

    9
  • Glow Border

    Glow Border

    8
  • Agent Roster

    Agent Roster

    8
  • FAQ Accordion Section

    FAQ Accordion Section

    3
  • Table Of Contents

    Table Of Contents

    1
  • API Key Field

    API Key Field

    1
  • Feel Script

    Feel Script

More in Forms

View all
  • Premium Auth

    Premium Auth

    599
  • Contact Form

    Contact Form

    28
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    6
  • Form

    Form

    16
  • Login 2

    Login 2

    16
  • Book A Demo 1

    Book A Demo 1

    94
  • Login 1

    Login 1

    70