Text field
Use native <input> for short text entry. In Nuxt / PLAI use UInput.
| Element | Source |
|---|---|
| Border, surface, placeholder, disabled | Nuxt UI zinc / UInput defaults |
| Focus border and ring | CI --ci-color-text-link |
| Error state | Nuxt UI semantic red |
Live examples
Section titled “Live examples”Internal reference for your firm.
Error and disabled
Section titled “Error and disabled”Enter a valid email address.
<label class="ci-label" for="ref">Case reference</label><input id="ref" class="ci-input" type="text" autocomplete="off" />Accessibility
Section titled “Accessibility”- Pair every control with a
<label for="…">(or wrap the input in the label). - Use
aria-invalid="true"andaria-describedbypointing to.ci-errorfor validation messages. - Focus ring: 3px accent halo on the border change.
- Choose the correct
typeandautocompletefor password managers and mobile keyboards.
See Form layout for label + hint + error structure.