You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add input-otp
* feat: update input-otp and add examples
* feat(input-otp): add controlled and form examples
* chore(input-otp): update to latest
* docs(www): fix example code for input-otp
* fix(www): disable menu
description: Accessible one-time password component with copy paste functionality.
4
+
component: true
5
+
links:
6
+
doc: https://input-otp.rodz.dev
7
+
---
8
+
9
+
<ComponentPreviewname="input-otp-demo" />
10
+
11
+
## About
12
+
13
+
Input OTP is built on top of [input-otp](https://github.com/guilhermerodz/input-otp) by [@guilherme_rodz](https://twitter.com/guilherme_rodz).
14
+
15
+
## Installation
16
+
17
+
<TabsdefaultValue="cli">
18
+
19
+
<TabsList>
20
+
<TabsTriggervalue="cli">CLI</TabsTrigger>
21
+
<TabsTriggervalue="manual">Manual</TabsTrigger>
22
+
</TabsList>
23
+
<TabsContentvalue="cli">
24
+
25
+
<Steps>
26
+
27
+
<Step>Run the following command:</Step>
28
+
29
+
```bash
30
+
npx shadcn-ui@latest add input-otp
31
+
```
32
+
33
+
<Step>Update `tailwind.config.js`</Step>
34
+
35
+
Add the following animations to your `tailwind.config.js` file:
0 commit comments