# Spacer transition 128

A 128px high band holding a smooth vertical colour fade from the previous block's background to the next block's. Use it to blend two differently coloured sections.

## Screenshots

| Variant | Preview |
|---------|---------|
| Default | ![Default](../screenshots/components/spacer-transition-128-default.png) |

## What it looks like

An empty full-width band 128px high, hidden from screen readers. Its colour fades top to bottom with a soft, eased blend: the top is the previous block's background colour and the bottom is the next block's. There is no line and no text.

## Typography

None. The block contains no text.

## Colours

- Top colour: the previous block's `backgroundColour`. If there is none (or it is a gradient), the page's own background colour is used (white as a fallback).
- Bottom colour: the spacer's own `backgroundColour` if set; otherwise the next block's `backgroundColour`; if that is also empty or a gradient, the page background.
- Valid values for `backgroundColour`: Navy, Dark Slate, Slate, Sea Glass, Cornflower, Ether, Mist, White, Graphite, Ink, Sky. `textColour` has no visible effect.

## Used fields

| Field | Type | Effect when set | Effect when empty/removed |
|-------|------|-----------------|---------------------------|
| `cmsLabel` | Symbol | Internal name for finding the entry in Contentful | No visible effect |
| `componentType` | Symbol | Identifies the block as "Spacer transition 128" | N/A |
| `id` | Symbol | Entry id used for preview | No visible effect |

The block has no content fields. `backgroundColour` and `textColour` are still read from the entry by the section wrapper (see Colours).

## Behaviour

- The Spacer transition types differ only in height: 32, 64, 96 and 128px. A taller band gives a longer, softer fade. (Spacer transition is the only family with a 96px option.)
- The fade reads the actual neighbouring blocks, so it updates when blocks are reordered.
- Setting `backgroundColour` on the spacer overrides the bottom colour only; the top always follows the previous block.

## Impact of content changes

- Change the colour of the block above -> the top of the fade changes.
- Change the next block's colour, or set the spacer's `backgroundColour` -> the bottom of the fade changes.
- If both ends resolve to the same colour, the band looks like a plain gap.
- To change the fade length, switch to a different Spacer transition type.
