GitHub

hero

Full-width hero section. The actions slot accepts any combination of button() and appBadge() calls. Set align: 'left' for a split-layout hero. Use size: 'sm' for inner-page headers that don't need the full vertical padding.

Now available

The app your phone deserves

Beautifully simple. Ridiculously fast. Available on iOS and Android.

hero({
  eyebrow:  'Now available',
  title:    'The app your phone deserves',
  subtitle: 'Beautifully simple. Ridiculously fast.',
  actions:  appBadge({ store: 'apple',  href: appStoreUrl }) +
            appBadge({ store: 'google', href: playStoreUrl }),
})

Blog

Thoughts on building for the web.

hero({
  title:    'Blog',
  subtitle: 'Thoughts on building for the web.',
  size:     'sm',
})
PropTypeDefault
eyebrowstringSmall label above the title
titlestring
subtitlestring
actionsstring (HTML)Raw HTML slot
alignstring'center''center' or 'left'
sizestring'md''md' (5rem padding) or 'sm' (2.5rem top, no bottom) — use sm for inner-page headers