Input
Form input component met validatie states
Input
ℹ
Beta
Dit component is in beta — de API kan nog wijzigen.
Default Input
Error State
Disabled State
Token Mapping
| Property | State | Token |
|---|---|---|
| Border | Default | --color-outline-strong |
| Border | Focus | --color-outline-active |
| Border | Error | --color-label-critical |
| Background | Default | --color-bg-primary |
| Background | Disabled | --color-bg-secondary |
| Placeholder | — | --color-label-tertiary |
| Border radius | — | --radius-s |
Accessibility
- Elk input MOET een zichtbaar
<label>hebben - Error state: gebruik
aria-invalid="true"enaria-describedby - Disabled inputs uitsluiten van tab order (
tabindexniet nodig bijdisabled)