NIB / PLAYGROUND
One-time code input playground — NibComponents
Try one-time code input in Flutter. Enter six fixture digits through the keyboard or an on-screen keypad.
Open interactive viewEnter six fixture digits through the keyboard or an on-screen keypad.
Read the full component guide and API
Public widgets and APIs
- NibOtpCell
- NibOtpController
- NibOtpInput
- NibOtpKey
- NibOtpKeyboard
- NibOtpKeypad
- NibOtpKeypadStyle
Example Dart code
NibOtpInput(length: 6, semanticLabel: 'Verification code',
onCompleted: (code) { /* Ask your own server to verify it. */ },
)Playground controls
| Control | Type | Options or range | Help |
|---|---|---|---|
| Animate feedback | toggle | ||
| Disabled | toggle | ||
| Input method | choice | system, keypad | |
| Obscure digits | toggle | ||
| Accept input | toggle | ||
| Feedback | choice | default, error | |
| Configured digits | text |
Fixture only: no code verification, authentication, or SMS service.
System autofill and physical screen-reader behavior are not established by widget tests.