Skip to content
Rating scale cards, light
Light
Rating scale cards, dark
Dark

Every state

  • Rating scale cards, default, light
    Rating scale cards, default, dark

    default

  • Rating scale cards, focus, light
    Rating scale cards, focus, dark

    focus

  • Rating scale cards, selected, light
    Rating scale cards, selected, dark

    selected

  • Rating scale cards, error, light
    Rating scale cards, error, dark

    error

  • Rating scale cards, disabled, light
    Rating scale cards, disabled, dark

    disabled

  • Rating scale cards, narrow, light
    Rating scale cards, narrow, dark

    narrow

Props

PropTypeDefaultWhat it does
idstring"rating"Id prefix; each card is `${id}-${n}`.
namestring"rating"Form field name; posts the number 1 to 5.
legendstring"How was your stay?"The survey question.
descriptionstring–Help line under the question.
labelsstring[]["Very poor", "Poor", "Fair", "Good", "Excellent"]One word per step, lowest first.
defaultValuenumber–The step chosen at the start (1 to 5).
requiredboolean–Requires an answer before the form submits.
disabledboolean–Disables the whole group.
errorstring–Error message; marks the group invalid.
classNamestring–Extra classes on the fieldset.

More choice cards

All 12
choice-card-08 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