Fresh in the bowl: Lava Lamp, Dynamic Island and 9 moreSee what’s new →
bowls.dev

One-time Code

FREE

Paste-aware OTP input that auto-advances.

React 19Tailwind 4added 2026-11-15
live preview · one-time code
One-time code
try pasting 42069

Installation

Into your bowl in one line.

The CLI drops the source straight into your project. You own every line; there’s no package to update.

  1. 01

    Add it with the CLI

    $ npx bowls@latest add otp-input
  2. 02

    Serve it

    Paste the source into components/bowls/otp-input.tsx and import it — the Code tab’s demo.tsx shows a full example.

Props

PROPTYPEDEFAULTWHAT IT DOES
lengthnumber6Number of digits.
onComplete(code: string) => void—Called when every box is filled.
labelstring"One-time code"Group label for screen readers.

Something missing?

Suggest a component

Seen an animation or interaction you’d love in the bowl? Tell us about it. No guarantees — but if it’s a fit, we’ll build it.

★ We’ll email you when it ships
esc