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.
- field-selectThe field envelope around a native select. Add data-rst-select and select.js turns it into a filterable combobox; the native select is still what the form submits. Worth it from about ten options.
- field-checkThe one toggle mechanism: a real checkbox skinned as a switch, keyboard and screen-reader intact.
- choice-fieldOption cards: the preferred radio or checkbox group. The title stays short; the description explains.
- form-footA form's closing row: one primary submit and an optional cancel link. Cancel is an anchor, because leaving a form is navigation.
- confirm-formThe confirm page's action row. Destructive actions get their own route rather than a dialog, so there is nothing to script.