# `Athanor.Components.Heading`
[🔗](https://github.com/Arsenalist/athanor/blob/v0.1.0-beta.7/lib/athanor/components/heading.ex#L1)

Heading primitive. Renders a semantic `<h1>`–`<h6>` wrapped in the
shared formatting div so the host's Tailwind config doesn't override
spacing/colors.

## Props

- `text` (string, required) — heading text
- `level` (1..6, default 2) — heading level
- `formatting` (map, optional) — see `Athanor.Components.Formatting`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
