Step Form
shadcn-customs-ui/multistep-form-templateFreeBlock
Guided multi-step forms built on shared schema-driven field primitives.
Install it
npx shadcn@latest add https://formkitcn.pro/r/multistep-form-template.jsonSource
1"use client";23import { useRef, useEffect } from "react";4import ReCAPTCHA from "react-google-recaptcha";56type Props = {7 onVerify: (token: string | null) => void;8 disabled?: boolean;9};1011export default function ReCAPTCHAField({ onVerify, disabled }: Props) {12 const ref = useRef<ReCAPTCHA | null>(null);1314 useEffect(() => {15 // reset when re-enabled (optional)16 if (!disabled) {17 ref.current?.reset();18 }19 }, [disabled]);2021 return (22 <div className="flex justify-center ">23 <ReCAPTCHA24 ref={ref}25 sitekey={process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY!}26 onChange={(token) => onVerify(token)}27 onExpired={() => onVerify(null)}28 />29 </div>30 );31}
What it pulls in
npm packages
Other registry items
Files it writes
More from shadcn-customs-ui
All 8 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Data Griddata-table-dynamic | shadcn-customs-ui | Blocks | Free | 8 deps · 17 files | |
| Login Form Templateform-dynamic-template | shadcn-customs-ui | Blocks | Free | 5 deps · 7 files | |
| Field Rendererform-field | shadcn-customs-ui | Blocks | Free | 6 deps · 26 files | |
| Form Layoutform-layout | shadcn-customs-ui | Blocks | Free | no deps · 7 files | |
| Form Layout Templateform-template-01 | shadcn-customs-ui | Blocks | Free | 3 deps | |
| Redux Toolredux-methods-tool | shadcn-customs-ui | Blocks | Free | 2 deps · 11 files | |
| Theme Preset Tooltheme-preset-tool | shadcn-customs-ui | Blocks | Free | 1 dep · 22 files |
