Skip to content
Sections
Fiesta

choice-field

Choices and actions The controls that pick from options, and the rows that end a form. Each one sits in a padded rst-box, because that is the card a form goes in.

Option cards: the preferred radio or checkbox group. The title stays short; the description explains.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Pick one

Preview

Put this inside <section rst-box><form rst-form>.

<fieldset rst-choice>
  <legend>Plan</legend>
  <div rst-choice-cards>
    <label>
      <input type="radio" name="plan" value="free">
      <span>
        <span rst-choice-title>Free</span>
        <span rst-choice-desc>One project, community support.</span>
      </span>
    </label>
    <label>
      <input type="radio" name="plan" value="pro" checked>
      <span>
        <span rst-choice-title>Pro</span>
        <span rst-choice-desc>Unlimited projects and a support inbox.</span>
      </span>
    </label>
  </div>
</fieldset>

Pick any

Preview

Put this inside <section rst-box><form rst-form>.

<fieldset rst-choice>
  <legend>Send me</legend>
  <div rst-choice-cards>
    <label>
      <input type="checkbox" name="digest" value="replies" checked>
      <span>
        <span rst-choice-title>Replies</span>
        <span rst-choice-desc>As they happen.</span>
      </span>
    </label>
    <label>
      <input type="checkbox" name="digest" value="weekly">
      <span>
        <span rst-choice-title>Weekly digest</span>
        <span rst-choice-desc>Monday mornings.</span>
      </span>
    </label>
  </div>
</fieldset>