# Component Anatomy

A table of the parts a compound component is built from.

An anatomy table lists the parts of a compound component. Each name links to the heading of the same name further down the page, such as `### Accordion.Root`.

::component-anatomy
---
parts:
  - name: Accordion.Root
    required: true
    description: Holds the state of every view.
    children:
      - name: Accordion.View
        required: true
        description: One section that opens and closes.
        children:
          - name: Accordion.Trigger
            description: Opens and closes its view.
          - name: Accordion.Content
            description: Shows while its view is open.
---
::

## Usage

```mdc
::component-anatomy
---
parts:
  - name: Accordion.Root
    required: true
    description: Holds the state of every view.
    children:
      - name: Accordion.View
        description: One section that opens and closes.
---
::
```
