Code input
- from @litt
A short one-time code drawn as one cell per character but built as one real field, so paste, one-time-code autofill and screen readers work as in any field. The last character runs onComplete once.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @litt/code-inputLive preview
No live preview has been built for this component yet.
Registry dependencies2
Packages0
No npm packages are installed with it.