LibraryDocsPricingHome
  • App shell
  • Dashboard overview
  • Sign in
  • Sign up
  • Onboarding checklist
  • Settings layout
  • Profile settings
  • Danger zone
  • Data table
  • Empty states
  • Analytics reportPro
  • Setup wizardPro
  • Invite teammatesPro
  • Notification preferencesPro
  • SecurityPro
  • IntegrationsPro
  • Plan pickerPro
  • Usage and limitsPro
  • Invoice historyPro
  • Payment methodsPro
  • Cancel flowPro
  • Members tablePro
  • Roles and permissionsPro
  • Audit logPro
  • Record detailPro
  • Database viewPro
  • Kanban boardPro
  • CSV importPro
  • Calendar and schedulePro
  • Notification centerPro
  • Activity feedPro
  • Home with agentsPro
  • Agent chatPro
  • Agent side panelPro
  • Approvals inboxPro
  • Agents directoryPro
  • Agent settingsPro
  • Agent run detailPro
  • Bulk change reviewPro
  • Agent monitor
  • Alert
  • App logo
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Command menu
  • Compact breakdown
  • Connection access row
  • Date picker
  • Date range picker
  • Dialog
  • Dropdown menu
  • Dropzone
  • Empty state
  • Field
  • Field suggestion
  • Filter menu
  • Input
  • KPI chart
  • Kbd
  • OTP input
  • Pagination
  • Popover
  • Profile menu
  • Progress
  • Radio group
  • Running now
  • Segmented control
  • Select
  • Separator
  • Setup guide
  • Sidebar
  • Skeleton
  • Spinner
  • Stepper form
  • Switch
  • Table
  • Tag input
  • Textarea
  • Time picker
  • Toast
  • Toggle group
  • Tooltip
  • Usage meter
  • Billing schedulePro
  • Breakdown chartPro
  • Comment threadPro
  • Integration pickerPro
  • Integration settingsPro
  • AI answerPro
  • Approval cardPro
  • Attachment chipPro
  • Chat composerPro
  • Code blockPro
  • Inline diffPro
  • Message actionsPro
  • Model pickerPro
  • Suggestion chipsPro
  • Thinking loaderPro
  • Thinking statePro
  • Tool call cardPro
  • User messagePro
  • Agent checkpointsPro
  • Agent fleetPro
  • Agent inboxPro
  • Agent lanesPro
  • Agent trailPro
  • Approval that escalatesPro
  • Autonomy dialPro
  • Away summaryPro
  • Bulk change reviewPro
  • Context windowPro
  • Decision cardPro
  • Delegate fieldPro
  • Diff timelinePro
  • Escalation rulesPro
  • Guidance layersPro
  • Memory panelPro
  • Memory suggestionPro
  • Promote to recurringPro
  • Resource access pickerPro
  • Run log with undoPro
Sign inGet Pro
ComponentsFormsOTP input

OTP input

Free

Six boxes for a one-time code, with a resend timer, an error line and a verified chip.

$
Sign in
Sign in to copy

Installation

Free account, sign in to read

Props

Free account, sign in to read

Usage

Free account, sign in to read
KbdPagination

More in Forms

Forms
Checkbox

Binary or mixed choice inside forms and tables. Checked, unchecked and indeterminate.

Sign in to copy
Forms
Date picker

One day: a field in the Input look that opens a month in a small card.

Sign in to copy
Forms
Date range picker

A range of days with presets, two months and a compare switch.

Sign in to copy

Didn't get a code?Resend in 0:30

Examples

Filled

Every box holds a digit. In the main preview, paste or type 482913 to verify; any other code shows the error.

482913

Didn't get a code?Resend in 0:30

Error

481973

That code didn't work. 2 tries left.

Didn't get a code?Resend in 0:30

Verified

Once the code is accepted, the boxes give way to a chip.

Verified

Resend ready

When the timer runs out, the line turns into a Resend code button that starts it again.

Didn't get a code?Resend in 0:03

Four digits, no dash

27