CTA Banner

cta_banner renders a full-width CTA section with a centered bordered card. It is designed for final conversion blocks and major page transitions.

When to Use

Use it near the end of a landing page when the visitor has enough context to act. Keep the copy short and choose one primary action.

Usage

{{ cta_banner(
title="Ready to build?",
description="Start with the docs and compose your first page.",
action_1_text="Read the docs",
action_1_url="/docs/"
) }}

Live Example

Ready to build?

Start with the docs and compose your first page.

Parameters

ParameterDescription
containerInner content width for the CTA card.
eyebrowSmall uppercase label above the title.
titleMain CTA heading.
descriptionSupporting copy below the heading.
action_1_textPrimary action label.
action_1_urlPrimary action URL.
action_1_variantPrimary action style: solid, outline, or ghost.
action_1_colorPrimary action color token.
action_2_textOptional secondary action label.
action_2_urlOptional secondary action URL.
action_2_variantSecondary action style.
action_2_colorSecondary action color token.
captionSmall note below the actions.
bgFull-width section background token.
classAdditional CSS classes on the outer section.