Accessible one-time password component with copy-paste functionality.
Installation
Every component ships in @astrawind/ui. If you haven't set it up, follow the installation guide, then import the component:
npx expo install @astrawind/ui @astrawind/css lucide-react-native react-native-svg
Usage
import {
InputOTP,
InputOTPGroup,
InputOTPSeparator,
InputOTPSlot,
} from "@astrawind/ui/input-otp"
See the Code tab above for a complete example.