Skip to main content

shadcn/ui Input OTP

Accessible one-time password component with copy paste functionality.

Shadcn/ui Input OTP - Figma Component

Accessible one-time password component with copy paste functionality. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.

Every Input OTP variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.

Features

  • Segmented input for one-time password entry
  • Smart paste handling from clipboard
  • Auto-advance to next digit on input
  • Keyboard navigation between segments
  • Customizable number of digits (4, 6, 8)
  • Support for numeric or alphanumeric codes

OTP inputs in Figma

The shadcn/ui figma Input OTP handles verification codes and 2FA. Design authentication flows in Figma with segmented code inputs. This shadcn figma component supports smart paste and auto-advance between digits.

Smart paste handling

Design OTP inputs in Figma with the shadcn/ui figma component—codes paste automatically across all boxes. Prototype verification flows where users paste codes from SMS or email without manual entry.

Auto-advance feature

This shadcn figma Input OTP includes auto-advance to next digit. Design smooth authentication in Figma where focus moves automatically as users type, creating seamless code entry experiences.

Flexible code lengths

The shadcn/ui figma Input OTP supports 4, 6, or 8 digit codes. Design verification flows in Figma for different security levels, from simple PINs to high-security authentication codes.

Your questions, answered

Common questions about the Input OTP component in the shadcn/ui Figma kit.

Ship your next project 10x faster, forever

4.9 out of 5Avg rating
Trusted by 13,000+designers and developers
7-day free trialCancel anytime