Skip to content
Viewership Inquire
Astro UI

CTA Ink.

A dark band with an oversized headline and the actions tucked bottom right.

ConversionSection1 dependency Original, MIT

.md
Style

Using Claude Code? Give it the agent prompt and skip these steps.

  1. Import the foundation once

    foundation.css holds the tokens every component reads.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Copy CtaInk.astro

    Paste into src/components/viewership/cta-ink/

  3. Copy its dependencies

    Each in its own folder, next to this one.

  4. Use it

    Page.astro
    ---
    import CtaInk from "../components/viewership/cta-ink/CtaInk.astro";
    ---
    
    <CtaInk />

Props 6

PropTypeDefaultDescription
title string · Headline, set very large.
accent string · Closing words, drawn in the accent colour.
body string · Short line above the actions.
primary { label: string; href: string } · Main action (accent button).
secondary { label: string; href: string } · Second action.
as "h2" | "h3" "h2" Heading element.

Source 1 file

Original, MIT.