ENVOEnvision DS
← Back to Home

Input Otp

A Input Otp component.

Preview

Open in v0

Installation

External project (shadcn CLI). Merge the config into components.json, set ENVISION_REGISTRY_TOKEN, then run the add command. A raw /r/…json URL does not send the token.

Registry config

{ "registries": { "@envision-ds": { "url": "https://envision.envo.no/r/{name}.json", "headers": { "Authorization": "Bearer ${ENVISION_REGISTRY_TOKEN}" } } } }

Install command

npx shadcn@latest add @envision-ds/input-otp

Internal monorepo import

import { InputOtp } from "@envo/envision-ds/input-otp";

Usage

import { InputOtp } from "@envo/envision-ds/input-otp"; export function Example() { return <InputOtp />; }