Skip to content
Inline button, light
Light
Inline button, dark
Dark

Every state

  • Inline button, default, light
    Inline button, default, dark

    default

  • Inline button, focus, light
    Inline button, focus, dark

    focus

  • Inline button, button-focus, light
    Inline button, button-focus, dark

    button-focus

  • Inline button, loading, light
    Inline button, loading, dark

    loading

  • Inline button, success, light
    Inline button, success, dark

    success

  • Inline button, error, light
    Inline button, error, dark

    error

  • Inline button, disabled, light
    Inline button, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"discount-code"Input id; label, description and result point at it.
namestring"discountCode"Form field name.
labelstring"Discount code"Visible label.
descriptionstring–Help text under the field.
placeholderstring–Placeholder inside the field.
defaultValuestring–Starting value.
actionLabelstring"Apply"Button text.
pendingLabelstring"Applying"Button text while the action runs.
onAction(value: string) => Promise<{ ok: boolean; message: string }>–Runs on the button or Enter; the result line shows its message. The default accepts SPRING10 after a short wait.
pendingboolean–Start in the running state.
result{ ok: boolean; message: string }–Start with a result line shown.
disabledboolean–Disables the field and button.
classNamestring–Extra classes on the outer Field.

More input groups

All 14
input-group-01 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