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

# mds-price-table-features-cell

> `@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-features-cell>` web component is a single cell within a feature comparison row of the Magma price table, rendering one of several visual representations (a support icon, plain text, a label, or arbitrary custom content) depending on its `type`. It is a compound child of [`<mds-price-table-features-row>`](../mds-price-table-features-row/AGENTS.md), which orchestrates a set of cells and conceptually stands in for a table cell within the row.

#### Semantic Behavior

- **Compound child constraint**: Must be used as a direct slot child of `<mds-price-table-features-row>`; it is not standalone and a row is expected to contain only cells of this type.
- **Width is parent-driven**: The cell does not size itself - the parent row distributes equal width across its cells so columns stay aligned across rows.
- **Type-switched rendering**: A single `type` prop drives entirely different output: `supported`/`unsupported` render a check-circle or horizontal-rule icon, `text` wraps the default slot in `detail` typography, while `custom` and `label` pass the default slot straight through with no wrapper.
- **No interactive state**: There is no selected/active/disabled/open state, no emitted events, no form association, and no custom role or ARIA - semantics come from the surrounding table structure.

#### Properties & Visual Configurations

The only configurable prop is `type` (default `text`), which selects what the cell represents rather than just how it looks:

- Use `supported` / `unsupported` for the boolean "feature included / not included" columns - these draw the built-in check-circle and horizontal-rule icons and require no slot content.
- Use `text` for short descriptive values that should adopt the table's `detail` typography automatically.
- Use `label` for the leading row-label cell describing the feature being compared.
- Use `custom` when you need to slot arbitrary HTML or other components without the text wrapper, taking full control of the cell's content.

The full set of accepted values is in the Props table of [`AGENTS.md`](AGENTS.md); this component does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.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-features-cell--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

## Props

| Prop | Attribute | Type | Default | Description |
| --- | --- | --- | --- | --- |
| `type` | `type` | `"custom" \| "label" \| "supported" \| "text" \| "unsupported" \| undefined` | `'text'` | Specifies the support type which is represented |

## Slots

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

## Parts

| Part | Description |
| --- | --- |
| `icon` | Selects the HTML element of the icon when `type` attribute when is `supported` or `unsupported`. |
| `text` | Selects the HTML element wrapper of text when `type` attribute when is `text`. |

## CSS custom properties

| Property | Description |
| --- | --- |
| `--mds-price-table-features-cell-padding` | Padding applied to each feature cell, defaults to the section padding. |

Only these are public. Its other 5 are internal: they may change in any release, do not set them.

## Dependencies

Uses: `mds-text`.
