animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksMulti-step form

Multi-step formPro

A guided form that presents one decision at a time and preserves progress.

Pattern · live

When to use

  • Onboarding or intake flows split into a few short steps.
  • Wizards that need Back and Continue, progress, and a success state out of the box.

When not to use

  • Use stepper when you only need the progress indicator.
  • Use checkout-flow for full page flows.
  • Use onboarding-checklist for tasks done outside a form.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { MultiStepForm } from 'animui/multi-step-form';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use it when a form needs distinct steps. Keep the number of steps small and provide a clear completion action.

example.tsx
1import { MultiStepForm } from "animui/multi-step-form";2 3export function Onboarding() {4  return (5    <MultiStepForm6      steps={[7        { id: "account", title: "Account", content: <AccountFields /> },8        { id: "team", title: "Team", description: "Who will you work with?", content: <TeamFields /> },9        { id: "plan", title: "Plan", content: <PlanFields /> },10      ]}11      onComplete={saveOnboarding}12    />13  );14}
Built fromInputProgressButton

API reference

2 parts. The first is the root.

MultiStepForm

A wizard that shows one fieldset per step with a progress list, Back and Continue actions, and a success state after the last step.

PropTypeDefaultDescription
stepsRequiredFormStep[]–Steps in order. Renders nothing when empty.
onComplete() => void–Called when the last step is submitted.
nextLabelstring"Continue"Submit label on every step except the last.
completeLabelstring"Finish"Submit label on the last step.
initialStepnumber0Zero-based starting step, clamped to the range.

FormStep

Step type: { id: string; title: string; description?: string; content: ReactNode }. title becomes the fieldset legend and the progress label.

No props.

Keyboard interactions

Enter
Submits the step (native form submit), advancing or finishing.
Tab
Moves through step fields and the Back and Continue buttons.

Accessibility

  • Each step is a fieldset with a legend, and focus moves to the new legend (or the success heading) after navigation.
  • Progress is a labelled nav with aria-current=step, plus a visually hidden aria-live line announcing Step 2 of 3.
  • The success state is role=status. Native required and pattern constraints in step content block submit before the step advances.

Motion

  • Steps slide 20px in the direction of travel while the shell springs to the new step's height.
  • Completed markers draw a check, the step count rolls, and the submit button's width springs when the label changes.
  • Reduced motion swaps steps, heights, and labels instantly.

Responsive behavior

  • The progress list scrolls horizontally when steps overflow.
  • Below 420px the progress header stacks with the step count on top and padding tightens.

Performance

  • Only the active step is rendered, so keep field values in parent state.
  • The shell springs to each step's height; step content is otherwise untouched.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for onboarding or intake flows split into a few short steps. Use stepper for a standalone progress indicator and checkout-flow for full page flows.
  • Step content is rendered only while active, so keep field values in parent state; validation beyond native constraints is up to you.
/components/blocks/multi-step-form/markdown

The full library index for assistants is at /llms.txt.

Related

StepperComponentShow where a person is in a multi-step flow and what is done.Login and sign up: Sign upBlockAn account creation flow with field validation, password strength, and a clear completion state.
PreviousOTP inputNextTeam showcase
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown
  1. 1Project details
  2. 2Assign owner
Step 1 of 2Step 1 of 2
Project details

A little context helps.