The InputOTP component renders a one-time password input as a row of individual character slots, commonly used for two-factor authentication. Nettalco Theme controls the spacing between slots and the width of each slot at small, default, and large size variants. Each individual slot inherits its border, background, and focus styling from the globalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
form.field.* system.
Usage
Design Tokens
Root
| Token | Value | Description |
|---|---|---|
gap | 0.5rem | Space between each OTP slot |
Input (slot dimensions)
| Token | Value | Description |
|---|---|---|
input.width | 2.5rem | Default slot width |
input.sm.width | 2rem | Slot width in sm size variant |
input.lg.width | 3rem | Slot width in lg size variant |
InputOTP slots are square by default — the height is driven by the vertical padding and font size inherited from
form.field.*, keeping the height in sync with other form fields at every size variant.Theme Notes
InputOTP has a minimal set of bespoke tokens. The gap (
0.5rem) and slot widths are the only layout values defined here; all color, border, shadow, and focus ring properties come from the shared form.field token system.