PageHeader
Top-of-page title with optional Breadcrumb trail, subtitle, actions, page Tabs, a profile Avatar and a decorative cover.
Grouped page block with an optional heading, description and actions.
Grouped page block. Unframed: no fill, radius, border, or box padding. Headings are static by default; pass collapsible for a chevron that toggles the body. Not PageHeader. Not Card. Not FieldSet. Not Accordion.
Medium size with a description and one action. Body is kit Table. Variants shows collapsible and other sizes.
Last 30 days
| Task | Owner |
|---|---|
| Invoice Q3 | Boris |
| Renewals | Mila |
Use Section to group a heading with related content on a page. It has no fill, radius, border, or box padding — Card owns the framed surface; layout-content owns page inset. The heading is a label by default — no chevron. Pass collapsible when the block should fold. Page title stays on PageHeader. Compact tiles with an image or footer stay Card. Form legends stay FieldSet. Exclusive FAQ lists stay Accordion. Actions must be kit Buttons.
Grouped page block with optional heading, description, and actions. Unframed: no fill, radius, border, shadow, or box padding — Card owns the framed surface; layout-content owns page inset. Pass collapsible for a chevron that toggles the body.
import { Section } from "agentic-ds-kit";From contracts/section.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| eyebrow | string | No | — | Short sentence-case line above the title, 12/16 at weight 500. Never uppercase. |
| icon | KitIcon | No | — | A 40px tile (control-height-lg, radius-media-md, bg-tray) with a 16px Lucide icon left of the heading, such as a provider mark on a settings page. Decorative: aria-hidden, the title names the section. |
| title | string | No | — | 18/24 at heading weight: the middle of three title sizes (page 24, section 18, card 14). |
| count | number | No | — | A neutral kit Count beside the title, like the number of overdue invoices. |
| headingLevel | enum | No | 2 | The title's heading element. Use 3 or 4 when the Section sits under another heading so the outline stays in order. Looks the same at every level. |
| description | string | No | — | — |
| size | sm | md | lg | No | md | Controls gap under the heading and between stacked sections via space-section tokens. Does not add box padding. |
| divider | boolean | No | false | A hairline (border.faint) under the header. |
| sticky | boolean | No | false | The header sticks to the top of its scroll container while the body scrolls. It takes --section-sticky-bg, default surface.page; set it to the surface behind the Section (surface.card inside a Card). |
| actions | slot | No | — | kit Buttons only. One primary per view. |
| children | slot | Yes | — | — |
| collapsible | boolean | No | false | Default false: static heading, no chevron. True: a 16px chevron before the title toggles the body. Requires title. |
| defaultOpen | boolean | No | true | — |
| open | boolean | No | — | controlled |
| onOpenChange | function | No | — | (open: boolean) => void |
Top-of-page title with optional Breadcrumb trail, subtitle, actions, page Tabs, a profile Avatar and a decorative cover.
Framed tile with optional header, body, and footer actions.
Semantic group of fields with a legend and optional description.
Dismissible overlay for short tasks, forms, or extra detail.