GitHub

section

Vertical padding wrapper with optional background. Compose with container() for full-width background with constrained content.

Why Pulse

Built for speed.

Every page scores 100 on Lighthouse by design, not by optimisation.

Content goes here

Dark background · no header

section({
  eyebrow:  'Why Pulse',
  title:    'Built for speed.',
  subtitle: 'Every page scores 100 on Lighthouse by design.',
  align:    'center',
  variant:  'alt',
  content:  container({ size: 'lg', content: featureGrid }),
})
PropTypeDefault
contentstring (HTML)Raw HTML slot
variantstring'default''default' · 'alt' · 'dark'
paddingstring'md''sm' · 'md' · 'lg'
idstringAnchor id for nav links
eyebrowstringSmall label above the title
titlestringSection heading
levelnumber2Heading tag for the title (1–6). Visual style is unchanged.
subtitlestringSupporting text beneath the heading
alignstring'left''left' · 'center'