<!--
  GENERATED FILE - do not edit by hand.
  Source of truth: src/components/mds-price-table-header/ in the magma monorepo (usage/*.md and the
  component's JSDoc). Regenerated on every stencil build (scripts/component-docs.ts).
-->

# mds-price-table-header

> `@maggioli-design-system/magma` 2.15.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.

The `<mds-price-table-header>` web component is the layout child that forms the top band of a [`<mds-price-table>`](../mds-price-table/AGENTS.md), aligning an optional leading title cell with the per-plan `<mds-price-table-list>` columns so the header sits in the same column grid as the feature rows below it. It is a pure presentational wrapper.

#### Semantic Behavior

- **Compound child only**: Must be placed as a direct slot child of `<mds-price-table>`; it is not used standalone, and it expects its own children to be the price-plan columns (typically a leading `<mds-text>` title plus one `<mds-price-table-list>` per plan) so they line up with the `<mds-price-table-features>` columns underneath.
- **Auto-fit column grid**: Every direct child becomes an equal-width column by default.
- **Layout overridden via classes**: Because the column count is content-driven, the explicit per-breakpoint layout (e.g. `tablet:grid-cols-3 desktop:grid-cols-4`, plus `col-span` on a leading title) is applied through utility classes on the host and its children rather than through props.
- **Single default slot**: Passes content straight through; it has no named slots, no internal ARIA role, no state, and emits no events.

#### Properties & Visual Configurations

This component exposes no configurable props. It is a layout-only child: its sole job is to project its slotted children into an equal-column grid that matches the rest of the price table. Control the arrangement through CSS utility classes (grid column counts per breakpoint, column spans on the leading title) on the host and on the slotted elements, not through component attributes. See the shared compound-component and layout conventions in [`agents/conventions.md`](../../../../agents/conventions.md).

## Read next

- [`examples.md`](examples.md) - correct usage, from the most common case
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-price-table-price-table-header--docs) - the live examples, in the published Storybook of `main`
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component

## Slots

| Slot | Description |
| --- | --- |
| (default) | Add `text string`, `HTML elements` or `components` to this slot. |
