Input OTP
OTP slots follow the same elevation rules as inputs: inset by default, optional elevated emphasis.
Basic Usage
Enter the 6-digit code sent to your device.
Variants
Sizes
States
The code you entered is incorrect.
Best Practices
Use inset slots in containers; use elevated slots only when OTP is the primary focus.
Standalone emphasis
Nested in a Card
API Reference
Component
Notes
InputOTPWrapper around
input-otp with Paper Cut spacing.InputOTPSlotSupports
variant (default/circle/underline), elevation (inset/elevated), and size.InputOTPSeparatorOptional separator between groups.