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.
Files changed (2) hide show
  1. package/README.md +24 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # React OTP Input Component
2
+
3
+ ![npm version](https://img.shields.io/npm/v/react-otp-input-component?style=flat-square)
4
+ ![bundle size](https://img.shields.io/bundlephobia/minzip/react-otp-input-component?style=flat-square)
5
+ ![license](https://img.shields.io/npm/l/react-otp-input-component?style=flat-square)
6
+ ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square)
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "custom-simple-otp",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "custom multi input otp",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",