Settings Section
A titled settings group: text at the side, a card of rows with one control each, and a footer for Save.
About the Grove Settings Section
The standard settings layout. SettingsSection is one group: a heading with a line of help and a white card that holds the controls, with an optional footer for Save and Cancel, end-aligned over a divider. In layout="side" the heading takes a third at the start and the card the rest from lg; stacked puts the heading above the card. SettingsRow is one setting inside the card: label and description at the start, the control (a Switch, Select or Button) at the end, a hairline above every row but the first, stacked under sm. With htmlFor the label is a real <label> for the control and the description gets the id <htmlFor>-description for the control's aria-describedby; give a Switch in a row label="", since the row names it. Sections do not space themselves: stack them in a wrapper with flex flex-col gap-10 (so each may also sit in its own <form>).
It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.