Skip to content

Otp Slots

Renders a set of input slots for entering an OTP code. It displays each character in a slot and animates transitions when filled or hovered. Use it for secure authentication forms requiring one-time passwords.

byEdu Calvofrom Smoothui

Loading preview

Installation

terminal
pnpm dlx layro-cli add @educlopez/otp-slots

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 7, 2026

    First release.

Similar components