# OTP verify

> The screen after sign-in or sign-up that asks for the code sent by text message, with a resend countdown.

Source: https://ritla.app/ui/blocks/otp-verify

Live preview: https://ritla.app/_kanz/preview/ltr/block-otp-verify

## Installation

Installing from the registry opens at launch. These are the commands you will run.

```bash
npx ritla add otp-verify
```

With the shadcn CLI instead:

```bash
npx shadcn@latest add @ritla/otp-verify
```

## Built from

- [Button](https://ritla.app/ui/button.md)
- [Input OTP](https://ritla.app/ui/input-otp.md)

## Arabic and RTL notes

Mirrors:

- Title, text and buttons start on the right in Arabic.

Does not mirror:

- The code boxes read left to right, first box on the left, as codes are typed.
- The phone ending stays left to right inside the Arabic sentence.

Numerals: The countdown follows the numerals setting. Digits typed on an Arabic keyboard count as the same code.
