# Cookie list

A placeholder that displays the cookie audit table supplied by the cookie-consent service. There is no editable copy; use it on the cookie policy page.

## Screenshots

| Variant | Preview |
|---------|---------|
| Default | ![Default](../screenshots/components/cookie-list-default.png) |

## What it looks like

An empty container in the same centred column as Legal copy. The consent service fills it with the table of cookies at runtime, so in the editor and screenshots it can look blank. The appearance of the table is controlled by the consent service, not the CMS.

## Typography

- None set by this component; the consent service styles the table.

## Colours

- This type does not use `backgroundColour` or `textColour`.

## Used fields

| Field | Type | Effect when set | Effect when empty/removed |
|-------|------|-----------------|---------------------------|
| `cmsLabel` | Symbol | Internal label only | No visible effect |
| `componentType` | Symbol | "Cookie list" | N/A |
| `id` | Symbol | Entry id for preview | No visible effect |

## Behaviour

- Can be used as a standalone block (its own section) or embedded inside the body of a Legal copy entry, where it renders just the table container.
- The table only appears when the consent service is active on the live site.

## Impact of content changes

| Change | Result |
|--------|--------|
| Change `cmsLabel` | No visual change |
| Remove the entry | The cookie table no longer appears on the page |
