Skip to main content

Heading

Interactive

See Heading in Storybook for every variant, with live controls.

Page, section and card headings. Renders a real h1h4.

import { Heading } from "@kairosis/eidos";

<Heading level={1}>Runs</Heading>
<Heading level={3}>api-gateway</Heading>

Props

PropTypeDefaultDescription
level1 | 2 | 3 | 4228 / 22 / 18 / 14px — and the tag that's rendered
mutedbooleanfalseMuted colour
childrenReactNodeRequired

Also accepts every heading attribute.

Guidelines

  • level sets both the size and the tag, so document outline and visual hierarchy can't drift apart. If you need a different size, restyle — don't skip levels.
  • Sentence case, always.
  • Levels 1–2 carry tighter letter-spacing, which large type needs to avoid looking loose.
  • All headings are 600 weight; hierarchy comes from size, not weight.