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>,
},
]}
/>
);
}
















