Specialized inputs
Animated OTP Verification
One-time code entry as a small show: the cells scatter and spin, a ring counts the verification percent, a green orb turns into a Verified check. A wrong code shakes the card.
What you can change
- length — number of digits
- verify, onVerified, onResend — handlers
- title, lead and all phase texts, badge and the resend copy
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/special-input-001?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 30 minutes.
Technical notes
Self-contained: one file, no dependencies, palette in --vibeui-special-input-001-*. A client component: "use client" is there for the cell and phase state. Phases: input → scatter → verify → orb → done or error. verify(code) may return a promise: the percent climbs to 90 and waits, reaching 100 only after the answer. Pasting spreads the code across the cells, the first cell has autoComplete="one-time-code" for SMS autofill. Backspace and arrows move between cells.
Tags
- otp
- verification
- code
- pin
- 2fa
- animation
- auth
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…