Six-cell verification code field with an active cell that rings and a caret on the next empty slot.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Form11 } from "@/components/beste/piece/form11";
<Form11
label="Enter the 6-digit code"
digits={[
"4",
"7",
"1",
"9",
"",
""
]}
activeIndex={4}
hint="We sent it to m•••@beste.co just now."
/>Phone field with a flag and dial-code chooser on the left, then the national number in mono.
Labeled input flanked by a red asterisk and a Required pill, plus an explanatory hint below.
Standard text field with a label on top and a muted helper line under the control.
Validated field with an emerald ring, check mark, and a confirming note beneath.
Two inputs arranged side by side on a responsive grid for first/last names and paired fields.
Invalid field with a rose ring, alert icon inside the input, and a descriptive error under it.