Variants and sizes

  • Default: 48px (size-control-lg).
  • Compact (k-field--compact): 40px (size-control-md), for dense web forms and filter bars only.
  • Error (k-field--error): as in TextField, for a select with no safe default that the person skipped: "Choose a project".

States

  • Rest: a 1px outline border, the chosen option in ink.
  • Hover: the pointer turns into a hand; no colour change.
  • Focus: a 2px focus-ring ring, and the border turns ink.
  • Open: the platform's list, which marks the chosen option with a check or a highlight.
  • Error: a 2px critical border, the error icon and words, never red alone.
  • Disabled: don't disable a select; show the value as text and say why.

Do and don’t

Do

  • Put "Just me" first, then the projects in a stable order.

  • Preselect the likely value when it is safe.

  • Keep options short, with different first letters, so typing finds them.

Don’t

  • Use a select for two to five fixed options; RadioGroup shows them all.

  • Build a custom dropdown to restyle the list; the native picker is the accessible one.

  • Put actions such as "New project" among the options; place a button beside the field.

What you provide

  • Label and an id.
  • Options, each a label and a value, and the chosen value.
  • Helper text and an error message (optional); compact or not.