Components
2 components available
'use client'
import { useState } from 'react'
const STEPS = [
{ title: 'Account', fields: ['name', 'email'] },
{ title: 'Profile', fields: ['role', 'company'] },
{ title: 'Confirm', fields: [] },
]
export default function MultiStepForm() {
const [step, setStep] = useState(0)
const [data, setData] = useState({ name: '', email: '', role: MultiStepForm
MultiStepForm
Forms
react
'use client'
import { useState } from 'react'
interface FloatingLabelInputProps {
label?: string
type?: string
maxLength?: number
required?: boolean
pattern?: string
helperText?: string
}
export default function FloatingLabelInput({ label = 'Email address', type = 'email', maxLength = 60, required = true, helperText = 'We never share FloatingLabelInput
FloatingLabelInput
Forms
react