1 variants
Step Form
A long form broken into steps that validate as you leave them, with a way back that never traps anyone and a last look before sending.
Wizard
One card with a segmented bar across the top. Steps slide in from the side they came from, and it ends on a review page where every answer can be edited.
Start a project
Three short steps. It takes about a minute.
import { StepFormWizard } from "@/components/blocks/step-form-wizard";
export default function Page() {
return (
<StepFormWizard
title="Start a project"
steps={[
{
id: "about",
title: "About you",
fields: [
{ name: "name", label: "Full name", required: true },
{ name: "email", label: "Work email", type: "email", required: true },
],
},
]}
onSubmit={async (values) => {
await fetch("/api/leads", { method: "POST", body: JSON.stringify(values) });
}}
/>
);
}242 more lines ship with an easeUI Pro license.
Buy a licenseInstall
$ bunx --bun shadcn add @easeui-pro/step-form-wizard