Components
One-time-code input rendering separate character cells backed by a single native input with caret syncing. Supports controlled and uncontrolled values, configurable length, numeric/alphabetic/alphanumeric patterns, four sizes, a faded variant and FormControl integration for labels.
npx @21st-dev/cli add reshaped/reshaped-pin-fieldLoading preview...
import { Reshaped } from "reshaped/bundle";
import PinField from "@/components/ui/reshaped-pin-field";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ margin: "0 auto", padding: 24, display: "flex", justifyContent: "center" }}>
<PinField name="pin" defaultValue="2543" />
</div>
</Reshaped>
);
}
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...