Skip to content

Input OTP

@xngui/components/input-otp
@xngui/components/input-otp

One-time password segmented input.

Preview

Enter the code sent to your device.

import { Component } from '@angular/core';
import { XForm } from '@xngui/components/form';
import { XFormField } from '@xngui/components/form-field';
import { XInputOtp } from '@xngui/components/input-otp';
 
@Component({
selector: 'app-example',
imports: [XForm, XFormField, XInputOtp],
templateUrl: './input-otp.component.html',
})
export class ExampleComponent {}

Events

Interact with the preview — events will appear here.