# ContentSection

> The settings-page section: a title, a one-line description, a separator, then a scrolling body.

## Facts

- **Product**: Max
- **Family**: Layout
- **Global**: `window.DigitalCrew.ContentSection`
- **Source**: `max-agent: src/features/settings/components/content-section.tsx`
- **Import in the app**: `import { ContentSection } from "@/features/settings/components/content-section";`
- **Live preview**: /design/components/content-section/preview.html
- **Page**: /design/components/content-section

## Guidelines

**Use it for** each page under Settings, so every settings screen opens the same way.

**What you provide**: `title` (sentence case, 18px medium), `desc` (14px `muted-foreground`, up to 56rem), and one child element as the body. `fullWidth` lifts the 36rem body cap for tables and grids.

## API

```ts
type ContentSectionProps = {
    title: string;
    desc: string;
    children: React.JSX.Element;
    fullWidth?: boolean;
};
export declare function ContentSection({ title, desc, children, fullWidth, }: ContentSectionProps): JSX.Element;
```

## Example

```html
<div id="root" class="p-6"></div>
<script>
(function () {
  var h = React.createElement, DC = window.DigitalCrew, I = DC.Icons;
function App() {
  return h("div", { className: "h-52 flex flex-col" },
    h(DC.ContentSection, { title: "Deliverability", desc: "Warm-up health and inbox placement for every connected mailbox." },
      h("div", { className: "grid grid-cols-3 gap-3" },
        h(DC.MetricTile, { label: "Inbox placement", value: "92%", tone: "good", hint: "Last test 2 days ago" }),
        h(DC.MetricTile, { label: "Warm-up score", value: "71", tone: "warn", hint: "Day 9 of 14" }),
        h(DC.MetricTile, { label: "Spam rate", value: "—", hint: "No test yet" }))));
}
  ReactDOM.createRoot(document.getElementById("root")).render(h(DC.TooltipProvider, { delayDuration: 80 }, h(App)));
})();
</script>
```

## More in Layout

- [Accordion](/design/components/accordion.md): Stacked sections that expand one at a time (or several); height animates in 250ms on the smooth-out ease (`--acc-*`).
- [Card](/design/components/card.md): The raised surface for grouped content: `card` fill, `border`, `radius-xl` (14px), `shadow-sm`, 24px padding and gap.
- [Collapsible](/design/components/collapsible.md): Shows and hides one region under its trigger (Radix Collapsible); animates with the accordion tokens.
- [DataTableToolbar](/design/components/data-table-toolbar.md): The toolbar of Max's data-table kit (search, faceted filters, Reset and the View columns menu) and how the kit's pieces fit around a `Table`.
- [Main](/design/components/main.md): The page body of Max's app shell: a `<main>` with the standard page padding and, by default, a centred 7xl width.
- [PanelSplitter](/design/components/panel-splitter.md): The draggable seam between two side-by-side panels; every split view in Max uses it, so one gesture works everywhere.
- [ScrollArea](/design/components/scroll-area.md): A scroll container with thin themed scrollbars (10px track, `border`-coloured thumb) that appear on hover.
- [Separator](/design/components/separator.md): A 1px `border` hairline, horizontal or vertical (Radix Separator, decorative by default).
- [Table](/design/components/table.md): The data table primitive: 14px rows with `border` dividers, 40px header cells in medium weight, `muted` at 50% on hover and selection.
