kesp-ui
v1.1.0
Published
CLI to add kesp-ui components to your project
Maintainers
Readme
kesp-ui
Reusable KYC UI components for Indian fintech apps.
Stop rebuilding Aadhaar, PAN, and OTP flows in every project. Built for Indian developers who are tired of recreating the same KYC components again and again.
✨ Why kesp-ui?
Every Indian fintech or SaaS product needs:
- Aadhaar Input
- PAN Validation
- OTP Flow
- Masked Document Upload
So instead of rebuilding them in every project — kesp-ui provides production-ready, drop-in components via CLI.
🚀 Installation (No Setup Needed)
Just run:
npx kesp-ui add aadhaar-inputThat's it. The component gets added directly to your project.
📦 Available Components
1️⃣ Aadhaar Input
- 12-digit validation
- Verhoeff checksum validation
- Auto spacing
- Error states
npx kesp-ui add aadhaar-input2️⃣ PAN Card Input
- Live format validation (
ABCDE1234F) - Uppercase enforcement
- Instant error feedback
npx kesp-ui add pan-input3️⃣ OTP Input
- 6-digit OTP
- Auto focus between fields
- Countdown timer
- Resend button
npx kesp-ui add otp-input4️⃣ Masked Aadhaar Upload
- Masked preview
- Blur toggle
- File validation
npx kesp-ui add masked-aadhar🛠 All CLI Commands
List all components
npx kesp-ui listAdd a specific component
npx kesp-ui add aadhaar-input
npx kesp-ui add pan-input
npx kesp-ui add otp-input
npx kesp-ui add masked-aadharAdd to custom path (Default path: components/ui)
npx kesp-ui add aadhaar-input --path src/components/ui
# or shorthand
npx kesp-ui add aadhaar-input -p src/components/uiCheck version
npx kesp-ui --versionHelp
npx kesp-ui --help
npx kesp-ui add --help📥 Import After Installation
import AadhaarInput from "@/components/ui/aadhaar-input"
import PanInput from "@/components/ui/pan-input"
import OtpInput from "@/components/ui/otp-input"
import MaskedAadhar from "@/components/ui/maskedAadhar"🧱 Built With
Works seamlessly with any Next.js + Tailwind setup.
💡 Who Is This For?
- Fintech startups
- SaaS builders
- Indie developers
- Hackathon participants
- Indian product teams
If you're building for Indian users, this saves hours every time.
🔮 Roadmap (Community Driven)
Upcoming components being considered:
- [ ] IFSC Validator
- [ ] GST Input
- [ ] Bank Account Validator
- [ ] UPI ID Input
- [ ] Indian Phone Number Input (+91 format)
Got suggestions? Open an issue or comment 👇
🤝 Contributing
Contributions are welcome!
- Fork the repo
- Create a new branch
- Add your component
- Submit a PR
Let's build the Indian component registry together 🇮🇳
