Otp Input

One-time password entry field. Renders N individual digit boxes (default 6) with filled/unfilled visual state. Shadcn InputOTP pattern.

Surfaces
webapps-script-web
Degraded on
SurfaceNote
meet-stageRenders as static digit boxes; no keyboard routing
Fields
FieldType
lengthinteger. Number of digit boxes. Default 6.optional
valuestring. Pre-filled digits.optional
labelstring. Visible label above the boxes.optional
Example payload
{
  "type": "otp_input"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:otp_input",
  "displayName": "Otp Input",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/otp_input",
  "capabilities": [
    "web",
    "apps-script-web"
  ],
  "description": "One-time password entry field. Renders N individual digit boxes (default 6) with filled/unfilled visual state. Shadcn InputOTP pattern.",
  "representativeQueries": [
    "show a N-box one-time password digit input \u2014 shadcn OTP pattern",
    "one-time password entry field. renders n individual digit boxes (default 6) with filled/unfilled vis",
    "render a otp input"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →