Password Verification

A compact six-digit verification control. It sits idle as a single button, expands into digit cells on focus, shakes and clears on a wrong code, then confirms with a green sweep. The demo code is 123456.

Preview Canvas

Try the demo code 123456

Installation

Install component dependencies or run the automated CLI command.

pnpm dlx shadcn@latest add https://sahilcodex.vercel.app/r/password.json

Usage

import Password from "@/components/ui/password";
export default function Page() {
return (
<div className="flex min-h-screen items-center justify-center p-6">
<Password />
</div>
);
}
"You have a right to perform your prescribed duty, but you are not entitled to the fruits of actions."
Bhagavad Gita

Design by SahilCodex
© 2026. Built with hands.