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

# mds-list

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

The `<mds-list>` web component is the structural container of the Magma Design System list family. It is a thin compound parent that groups one or more `<mds-list-item>` children and replaces the native `<ul>`/`<ol>` primitive with an accessible, design-system-aware wrapper.

#### Semantic Behavior

- **List role**: Exposes the group as a semantic list to assistive technology regardless of the surrounding markup.
- **Compound parent**: Acts purely as the container; the visual rows (leading glyph and text) live in the slotted `<mds-list-item>` children.
- **Default slot is structural**: The default slot is meant to receive `<mds-list-item>` element(s) rather than free text.

#### Properties & Visual Configurations

This component exposes no configurable props; it carries no `variant`, `tone`, `size` or text colour of its own: the items take the colour of the container, and a class such as `text-fg-muted` on `<mds-list>` makes the whole list secondary. All appearance and behavior are delegated to the slotted `<mds-list-item>` children. For the shared ladders that govern the children, see [`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-list--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 `mds-list-item` element/s. |
