Skip to content

CTA

A CTA component.

type: string

The main title.

type: string

The description text.

type: object

The primary call-to-action button.

Properties:

  • title (string, required): The button text
  • href (string, required): The URL the button links to

type: object

The secondary call-to-action button.

Properties:

  • title (string, required): The button text
  • href (string, required): The URL the button links to
import { Cta } from "@dlcastillop/starlight-marketing-components";
<Cta
title="Build exceptional docs, faster"
description="Less boilerplate, more functionality. Battle-tested, accessible, and optimized components out of the box."
primaryCta={{
title: "Get Started",
href: "/docs/getting-started",
}}
secondaryCta={{
title: "More developer tools",
href: "https://dlcastillop.lemonsqueezy.com",
}}
/>