# swc-message-sources

Collapsible list of sources used to generate an AI response. Slot `<a>` elements into the default slot.

## Attributes

| Name               | Type      | Default     | Description                                                              |
| ------------------ | --------- | ----------- | ------------------------------------------------------------------------ |
| `open`             | `boolean` | `false`     | Whether the sources list is open.                                        |
| `label`            | `string`  | `'Sources'` | Label shown in the disclosure button and applied to list ARIA labelling. |
| `accessible-label` | `string`  | `''`        | Optional accessible label override for assistive technologies.           |

## Slots

| Name        | Description                                                          |
| ----------- | -------------------------------------------------------------------- |
| `(default)` | Anchor (`<a>`) elements projected into a numbered list when expanded |

## Events

| Name                         | Description                                                       |
| ---------------------------- | ----------------------------------------------------------------- |
| `swc-message-sources-toggle` | Dispatched when the panel is toggled. Detail: `{ open: boolean }` |
