Skip to content
Copy field, light
Light
Copy field, dark
Dark

Every state

  • Copy field, default, light
    Copy field, default, dark

    default

  • Copy field, focus, light
    Copy field, focus, dark

    focus

  • Copy field, revealed, light
    Copy field, revealed, dark

    revealed

  • Copy field, copied, light
    Copy field, copied, dark

    copied

  • Copy field, error, light
    Copy field, error, dark

    error

  • Copy field, disabled, light
    Copy field, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"api-key"Input id.
labelstring"API key"Visible label; also used in the button names.
descriptionstring–Help text under the field.
valuestring–The secret or link to copy.
visibleStartnumber9Leading characters left visible while masked.
revealedboolean–Start revealed.
copiedboolean–Start in the copied state (previews).
onCopy(value: string) => void–Called after a successful copy.
errorstring–Error line, e.g. when the clipboard is blocked.
disabledboolean–Disables the field.
classNamestring–Extra classes on the outer Field.

More input groups

All 14
input-group-04 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans