Settings cards
UnderstoryUsage
The app shell mounts it. Its pieces live in @/components/settings.
When to use
Use it for
- One card per concern, each with its own Save, enabled only when something changed.
- Switches apply at once and confirm with a toast; text fields wait for Save.
- Destructive settings come last on the page, in their own card.
Avoid
- One Save for a page of unrelated settings.
- Settings inside a dialog when they fit on the page.
Accessibility
Checks
- Each card starts with its title as a heading, so people can move between cards by heading.
API
Read from each component's stories, the same source as COMPONENTS.md, and kept in step by check:design-system.
AuthenticationSettingsCard
Its stories don't declare
argTypes, so no props are listed. The variants show its states.VariantsPublicSinglePasswordSingleSsoMultiMethodCustomPickerLabelsRoleBasedPasswordPlusOauth2MultiOauthAndJwtUnmanaged
AgentShortcutsSettingsCard
Its stories don't declare
argTypes, so no props are listed. The variants show its states.VariantsDefaultSlackConnectedNonAdmin
PlanCard
Its stories don't declare
argTypes, so no props are listed. The variants show its states.Also exportsDeprecatedPlanRow
VariantsFreeOrgTeamOrgPostmanTeamOrg
Keep going
- CardThe framed surface (
surface-card) with standard padding.Fiddle - Switch, Checkbox, RadioGroupBoolean and choice controls. Switch applies immediately; Checkbox waits for Save.Frond
- NoteInline message with an icon: info, success, warning, error, bold.Fiddle
Patterns
How components come together into pages.