

Every state


default


focus


revealed


copied


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "api-key" | Input id. |
| label | string | "API key" | Visible label; also used in the button names. |
| description | string | – | Help text under the field. |
| value | string | – | The secret or link to copy. |
| visibleStart | number | 9 | Leading characters left visible while masked. |
| revealed | boolean | – | Start revealed. |
| copied | boolean | – | Start in the copied state (previews). |
| onCopy | (value: string) => void | – | Called after a successful copy. |
| error | string | – | Error line, e.g. when the clipboard is blocked. |
| disabled | boolean | – | Disables the field. |
| className | string | – | Extra classes on the outer Field. |
More input groups
All 14input-group-04 is in UI ProGet UI Pro, €199


