Input OTP
Inputs · upstream shadcn/ui, Figma 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#000000--inputborder#D6D6D6--destructiveerror#972121--ringborder#000000Shape and type: --ds-focus-width --ds-focus-style --ds-focus-offset