Input OTP
Inputs · upstream shadcn/ui, Linear 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#F7F8F8--inputborder#34343A--destructiveerror#EB5757--ringborder#5E69D1Shape and type: --ds-focus-width --ds-focus-style --ds-focus-offset