# swc-response-status-step

One agentic execution step inside `<swc-response-status>`.

## Attributes

| Name     | Type                       | Default    | Description                                                                                                         |
| -------- | -------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------- |
| `status` | `ResponseStatusStepStatus` | `'active'` | Timeline state for connector icons.                                                                                 |
| `open`   | `boolean`                  | `false`    | Whether this step's description is expanded in the timeline. Steps are collapsed by default regardless of `status`. |

## Slots

| Name          | Description                                                                                                                        |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `label`       | Step title. Also shown in the parent's header while `status="active"`.                                                             |
| `description` | Step detail shown in the expanded timeline. Falls back to bare/unslotted children when no `slot="description"` element is present. |

## Events

| Name                                           | Description                                                                                                                                                                        |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `type`                                         |                                                                                                                                                                                    |
| `swc-response-status-step-open-change`         | Internal signal consumed by the parent to re-dispatch its public `swc-response-status-step-toggle` event with an index; not intended for external use. Detail: `{ open: boolean }` |
| `swc-response-status-step-active-label-change` | Dispatched when this step's label text changes while `status="active"`, so the parent can keep its header label in sync with streamed text. Detail: `{ label: string }`            |

## CSS Custom Properties

| Name                                               | Description                                                                          |
| -------------------------------------------------- | ------------------------------------------------------------------------------------ |
| `--swc-response-status-step-detail-max-block-size` | Maximum block size of the expanded description before it scrolls. Defaults to 120px. |
