Skip to content
Corex

Pin Input

Style

Semantic colors, density, corner radius, width, and cell states. Semantic modifiers override complete chrome (default remains success).

Preview

Semantic

Use class="ui-{role}" to set the semantic palette of a pin input.

Available options: accent, alert, brand, info, success

Size

Use class="ui-size-{size}" to set the size of a pin input.

Available options: xs, sm, md (default), lg, xl

Rounded

Use class="ui-rounded-{step}" to set the corner radius of a pin input.

Available options: none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, full (default)

Width

Without w-*, width comes from component CSS. Default for pin-input: md (width: fit-content).

Use class="w-{step}" to set the host stretch mode of a pin input (`w-full`, `w-fit`); use Max width for named container steps.

Available options: default (fit-content), full, fit

default (fit-content)

full

fit

States