Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Code input Pro

Six boxes over one real field, so typing, pasting and the phone’s suggestion all work. Right code, aura.

Enter your codeWe sent it to +44 7700 900123

Try 204816

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add code-input

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Sign-in codes and two-step checks.

Pas pour

  • Passwords. Those need a normal field.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
lengthnumber6
answerObligatoirestring
onDone() => void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Code input comme prévu.

Interface copyGratuit

Writes the labels and messages around it in plain, human words.

$npx velvo skill ui-copy
Lire la skill
Spacing and buttonsGratuit

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Lire la skill

Specs

Category
Forms
Tier
Pro
Built with
React and TypeScript
Files
25
Size
514 KB
Needs
framer-motion
Install
npx velvo add code-input
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

formsglowmobileformproreact
SuivantSign up form