Input OTP
Inputs · upstream shadcn/ui, GitHub theme
Accessible one-time password component with copy-paste functionality.
4
2
8
import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "@/components/ui/input-otp"
<InputOTP>…</InputOTP>Tokens it uses
--foregroundfill#1F2328--inputborder#D1D9E0--destructiveerror#CF222E--ringborder#0969DAShape and type: --ds-focus-width --ds-focus-style --ds-focus-offset