# Basic text

A simple text section with optional heading, rich-text body, and links. No background or visual. Use for short copy blocks, disclaimers, or introductory text.

## What it looks like

Single column within the section grid. Copy is constrained (col-span-full laptop:col-start-2 laptop:col-span-10). Heading at top (h1/h2 typography), then body rich text (p2, rtf-standard), then a row of link buttons. No section background; spacing between elements (space-y-6 laptop:space-y-12). Text colour can be overridden via textColour on the heading.

## Typography

- **Main heading:** Typography class `h1` when first block on page, otherwise `h2`. Semantic level: first block → `<h1>`, otherwise `<h2>`.
- **Body:** `p2` with classes `rtf-standard` and `rtf-core`.

## Colours

**How colours are applied:** The section uses `noBackground`; there is no section-wide background. Only `textColour` is used; it is applied to the heading text via the palette. If unset, heading uses the default (inherited) colour.

**Valid `textColour` values (from palette):** Bright Blue, Dark, Orange, Primary Blue, Purple, Secondary Blue, White.

## Used fields

| Field | Type | Effect when set | Effect when empty/removed |
|-------|------|-----------------|---------------------------|
| `heading` | Symbol | Main title (h1/h2) | No heading; body or links may be first |
| `body` | RichText | Body copy below heading (p2) | No body block |
| `links` | Array | Row of link buttons below body | No links block |
| `anchor` | Symbol | HTML `id` on section for in-page linking | No anchor |
| `cmsLabel` | Symbol | Internal label; used for analytics | No visible effect |
| `textColour` | Symbol | Text colour for heading | Inherited text colour |

## Behaviour

- **Position (index):** When this component is the first block on the page (index 0), the heading renders as `<h1>` with class `h1`; otherwise as `<h2>` with class `h2`.
- **Section layout:** `sectionClassName` defines grid rows; content uses a single column with left offset on laptop.

## Impact of content changes

| Change | Result |
|--------|--------|
| Add/remove heading | Heading appears or disappears; body/links shift accordingly |
| Add/remove body | Body block appears or disappears |
| Add/remove links | Link row appears or disappears below body |
| Set textColour | Heading uses that palette colour |

## Screenshots to capture

Recommended variants: default (all fields), no-body, no-links, dark-text (textColour: Dark), minimal (heading only).
