# Settings

An app's settings: switches that apply as they flip, a profile form that guards its unsaved edits, the user's theme, and the one step that asks before it destroys.

## Guidelines shown here

- [Choosing a control](/ui/guidelines/patterns/choosing-a-control/index.md)

  Editor's Switches apply as they flip, with no Save button, and its preview follows, as it follows each step of the font size NumberInput. The language is a Select of many and the indent a RadioGroup of three. Profile's Checkbox waits for Save profile.

- [Forms](/ui/guidelines/patterns/forms/index.md)

  In Profile, clear the email and press Save profile: the message lands under the field and focus moves there. Edit a field, then pick another section, and Keep editing guards what you typed.

- [Destructive actions](/ui/guidelines/patterns/destructive-actions/index.md)

  Discard changes in Profile acts at once and offers Undo. Revoke… a token is the one step that asks first, naming the token and that it cannot be restored.

- [Feedback](/ui/guidelines/patterns/feedback/index.md)

  Save the profile or revoke a token for a toast that names what happened. A wrong email is said under its field instead, where it can be fixed.

- [Actions & buttons](/ui/guidelines/patterns/actions-and-buttons/index.md)

  Profile ends in one primary button, Save profile, with Discard changes outlined beside it. Revoke… repeats on every token, so it is a size down.

- [Theming](/ui/guidelines/foundations/theming/index.md)

  Appearance picks the theme and the terminal theme from the same menus as this site's top bar, and Edit… opens the theme editor.

- [Styles](/ui/guidelines/foundations/styles/index.md)

  Open Appearance's Theme menu and pick Raymond in its Style row: the whole demo redraws as Windows 2000 from the same components, and Default brings back the theme last picked under it.

- [Writing](/ui/guidelines/content/writing/index.md)

  Each Switch names its on state (Wrap long lines), buttons are a verb and its object (Save profile), and a button that opens a dialog first ends in an ellipsis (Revoke…).

- [Reordering](/ui/guidelines/patterns/reordering/index.md)

  Notifications' Send them by lists the channels in the order they are tried: drag one by its grip, or press its ↑ and ↓. Pick Nothing above, and the grips and buttons are disabled with the switches.

- [Touch & mobile](/ui/guidelines/platforms/touch-and-mobile/index.md)

  On a phone the sections are a list that pushes each one, with labels on the leading edge and controls on the trailing edge, as the phone's own settings are.

## Components

- [ui · ConfirmDialog](/ui/storybook/?path=/docs/ui-confirmdialog--docs)
- [ui · useMediaQuery](/ui/storybook/?path=/docs/ui-hooks-usemediaquery--docs)
- [ui · Avatar](/ui/storybook/?path=/docs/ui-primitives-avatar--docs)
- [ui · Button](/ui/storybook/?path=/docs/ui-primitives-button--docs)
- [ui · Checkbox](/ui/storybook/?path=/docs/ui-primitives-checkbox--docs)
- [ui · FieldDescription](/ui/storybook/?path=/docs/ui-primitives-fielddescription--docs)
- [ui · FileDrop](/ui/storybook/?path=/docs/ui-primitives-filedrop--docs)
- [ui · Frame](/ui/storybook/?path=/docs/ui-primitives-frame--docs)
- [ui · GroupHeading](/ui/storybook/?path=/docs/ui-primitives-groupheading--docs)
- [ui · InfoPopover](/ui/storybook/?path=/docs/ui-primitives-infopopover--docs)
- [ui · Input](/ui/storybook/?path=/docs/ui-primitives-input--docs)
- [ui · Label](/ui/storybook/?path=/docs/ui-primitives-label--docs)
- [ui · List](/ui/storybook/?path=/docs/ui-primitives-list--docs)
- [ui · NavList](/ui/storybook/?path=/docs/ui-primitives-navlist--docs)
- [ui · NumberInput](/ui/storybook/?path=/docs/ui-primitives-numberinput--docs)
- [ui · Pane](/ui/storybook/?path=/docs/ui-primitives-pane--docs)
- [ui · RadioGroup](/ui/storybook/?path=/docs/ui-primitives-radiogroup--docs)
- [ui · Select](/ui/storybook/?path=/docs/ui-primitives-select--docs)
- [ui · Separator](/ui/storybook/?path=/docs/ui-primitives-separator--docs)
- [ui · Skeleton](/ui/storybook/?path=/docs/ui-primitives-skeleton--docs)
- [ui · Switch](/ui/storybook/?path=/docs/ui-primitives-switch--docs)
- [ui · Toaster](/ui/storybook/?path=/docs/ui-primitives-toaster--docs)
- [ui · Reorder](/ui/storybook/?path=/docs/ui-reorder--docs)
- [ui · ThemeEditor](/ui/storybook/?path=/docs/ui-themeeditor--docs)
- [ui · ThemeMenu](/ui/storybook/?path=/docs/ui-thememenu--docs)
- [ui · UnsavedChangesDialog](/ui/storybook/?path=/docs/ui-unsavedchangesdialog--docs)
