Skip to content

Call to action

Pass the buttons in the default slot. On a brand surface, solid buttons invert so they stay visible.

Ready to build your first page?

Install the library and compose a page from its sections.

  • title: required; text and eyebrow optional
  • layout: centered (default), split (text start, buttons end), row (media beside the text, from image and imageAlt)
  • surface: light, alternate, brand (default), dark
  • width: full (default, an edge-to-edge band), standard (an inset rounded panel inside the container)
  • backgroundImage: a decorative image behind the content with a dark scrim; text turns white (data-overlay)
<CallToAction
title="Ready to build your first page?"
text="Install the library and compose a page from its sections."
>
<Button href="/getting-started/">Get started</Button>
<Button href="/" variant="outline">See the demo site</Button>
</CallToAction>
layout="split" surface="dark"

Start from the same foundations

Every piece is one Astro file.

layout="row" width="standard" surface="alternate"
Placeholder for the demo site

See it in use

The demo site is built from the library's own sections.

width="standard" surface="brand"

New

Statement is in the library

A large heading beside supporting copy, with figures underneath.

backgroundImage

Built for the long run

Sites that stay fast, accessible and easy to change.

backgroundImage width="standard" layout="split"

Pages from reusable parts

Heroes, headers and statements from the same elements.