custom-simple-otp 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# React OTP Input Component
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
A lightweight, accessible, and customizable OTP (One-Time Password) input component for React applications. Perfect for authentication flows, 2FA verification, and multi-digit code inputs.
|
|
9
|
+
|
|
10
|
+
## ✨ Features
|
|
11
|
+
|
|
12
|
+
- 🔢 **Automatic Navigation** - Auto-focuses next field on input
|
|
13
|
+
- ⌨️ **Full Keyboard Support** - Arrow keys, Backspace, Tab navigation
|
|
14
|
+
- ♿ **Accessibility Focused** - Screen reader friendly
|
|
15
|
+
- 📱 **Mobile Optimized** - Large touch targets, numeric keyboard
|
|
16
|
+
- 🎨 **Easy to Style** - Customizable CSS classes
|
|
17
|
+
- ⚡ **Zero Dependencies** - Lightweight and fast
|
|
18
|
+
- ✅ **Input Validation** - Only accepts numeric values
|
|
19
|
+
- 🔄 **TypeScript Ready** - Full type definitions included
|
|
20
|
+
|
|
21
|
+
## 📦 Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm i custom-simple-otp
|