Settings
A settings nav in two groups (Workspace, You) beside each section, with a scope line under the title; an index page of two lists at 390.
Install
Not exported from agentic-ds-kit. add copies the source into your app (components/patterns/settings/) with this contract beside it, and the billing-schedule and integration-settings examples it uses into components/patterns/ (kept if you already have them). You own the copies: replace the demo data, drop the sections you don't need, and keep the must lines.
Also copies billing-schedule, integration-settings beside it, which this pattern builds on (kept if you already have it).
Usage
What a copy keeps
The contract’s must lines: the kit look and accessibility. Ask before breaking one.
- Use kit components from agentic-ds-kit for anything the kit has; no local cousins (tables, dialogs, rows, rules, charts)
- Semantic tokens only (agentic-ds-kit/tokens.css); no raw hex, no primitive --color-* ramps
- At most one appearance="solid" mode="primary" Button per view
- Do not restyle kit components; change them through their props, slots, and tokens
- Section links live in the pattern's own settings SideNav (a nav named Settings): Back to app first, then a Workspace group and a You group built from SETTINGS_SECTIONS, with the current section marked (aria-current=page); they are not a Settings group in the app's nav
- Below --grid-breakpoint-md, Settings is an index page of two kit LinkLists (one per group, each under its own heading, a description per row), not the app's nav Drawer; each section page has a Back to Settings step, and going back focuses the row you came from
- No Breadcrumb at --grid-breakpoint-md and up: the marked nav row and the PageHeader title name the section; the PageHeader subtitle is the scope line (who a change reaches)
- Stage look: the pattern renders layout-shell--inset itself (the settings SideNav on the canvas, the section on the inset card panel) and its own <main>, so don't wrap it in an app shell or another main
- Page layout uses kit layout classes (layout-shell--inset, layout-canvas, layout-header, layout-content, layout-split*) and grid / layout tokens; no hard-coded columns, gutters, max-widths or breakpoints
- Wrap every labeled input in Field; Switches in a table row get an accessible name that says the row and the channel
- Status is a word in a kit Badge (Active, Invited, Paid, On, Off…), never colour alone
- Billing charges come from the billing-schedule example (summary mode); do not build a second charges list
- An overdue invoice is a kit Alert (danger) that says the invoice, the amount and what happens next; Pay now is then the one solid primary and Upgrade steps away
- Danger actions sit in their own group after every card that saves
- Delete workspace sits on Security, in a Danger zone (a kit Section heading) after every card that saves, in its own Card, as a danger action behind a kit AlertDialog where you type the name; Cancel returns focus to it
- General, Profile and Notifications end in one kit SaveBar (Cancel and Save changes); Security's sign-in rules end in their own save row in the card (Cancel and Save sign-in rules); the other sections have no save bar and act per card
- Integrations renders the integration-settings example; do not build a second integration form
- Money arrives pre-formatted from your app; label example data as example
Defaults you can change
- General is the default section when wide; the index page is the default when narrow. Route section from your URL (sectionHref gives each row a real link) or let the pattern keep it
- Scope lines: "Workspace setting · applies to all 12 members" (plus who can edit, when wide) and "Personal setting · only changes it for you"; the index rows say what's inside (next charge, Okta SSO, Password · two-factor off)
- headerActions sit on the title row, e.g. Ask (neutral sm Button with MessageCircle)
- Controls are md 36 wide and lg 40 below --grid-breakpoint-md; General's labels sit left of the controls when wide
- Team's Invite people is the PageHeader primary; the empty Team page moves it into the kit Empty
- Invite people opens a right kit Drawer with Email addresses, Role and Message; Send invites is the Drawer's primary
- Billing: Compare plans opens kit PricingPlans in a kit Drawer; AI credits is a kit UsageMeter whose Upgrade is the one solid primary; invoices are a kit Table (a ListView below --grid-breakpoint-md), then the billing schedule
- Team: a seats Card with a kit Meter (seats count pending invites) and Add seats, search and a role Select filter, and members in a kit Table (a ListView with a row menu below --grid-breakpoint-md)
- Billing loading shows Skeletons in the same Cards; a load error is an outlined kit Empty with Retry
- Security has one solid primary, Save sign-in rules; Sign-in has none: Update password and Set up are outline
- No motion beyond kit overlays (Drawer, AlertDialog, DropdownMenu), which honour reduced motion
Built from
Related
- Component
SideNav
Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).
- Component
Drawer
Edge panel for secondary tasks.
- Component
PageHeader
Top-of-page title with optional Breadcrumb trail, subtitle, actions, page Tabs, a profile Avatar and a decorative cover.
- Component
Card
Framed tile with optional header, body, and footer actions.