Fields

Where people tell us something: choosing from a list, or in their own words

A field is one thing we ask. Two kinds, by whether we know the answers already.

  • Choose: a drop-down list in our style, never the browser's, for when we know the answers. Small corners (3px), the label face.
  • Free text: for when we don't, so people can say it their own way. A line for a name, a box for a story.
  • A label above, in the label style, saying what goes in. Not a placeholder that disappears.
  • One question per field.
  • The action comes after the fields, on the right, and says what will happen (Buttons).
  • When something is wrong, say so in plain words beside the field, and keep what they typed.

Block: src/blocks/choose/Choose.tsx.