Onboarding Form

A multi-step animated form component for user onboarding workflows.

Installation

pnpm dlx shadcn@latest add https://sase-ui.vercel.app/r/onboarding-form.json

Usage

import OnboardingForm from "@/components/ui/onboarding-form";
<OnboardingForm />

Features

  • Multi-step wizard: 6-step form flow with progress indicator
  • Smooth animations: Built with Framer Motion for engaging transitions
  • Form validation: Step-by-step validation before proceeding
  • Responsive design: Mobile-friendly layout
  • Interactive progress: Clickable progress dots to navigate between completed steps
  • Toast notifications: Success feedback using Sonner

Form Steps

  1. Personal Info: Name, email, and company
  2. Professional Background: Profession and industry selection
  3. Website Goals: Primary goals and target audience
  4. Design Preferences: Style preferences and inspirations
  5. Budget & Timeline: Budget range and project timeline
  6. Requirements: Feature selection and additional notes

Customization

The component can be customized by modifying the steps array and form fields to match your specific onboarding requirements. Update the form validation logic in the isStepValid() function to enforce custom validation rules for each step.