sigilUI

CTA Section

Close a page section with a message and action links.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { CTASection } from "@sigil-ui/components";

Usage

<CTASection title="Build with a shared design system" description="Start with a preset, then make it your own." actions={[{ label: "Get started", href: "/docs/installation" }, { label: "Browse components", href: "/components", variant: "secondary" }]} />

Props

PropTypeDefaultDescription
title (required)ReactNode—Heading displayed in the component.
descriptionReactNode—Supporting text below the heading.
actionsCTAAction[]—Actions configuration.
variant"centered" | "split"—Selects a supported visual treatment.
mediaReactNode—Media configuration.

Token integration

CSS VariablePurpose
--s-cta-padding-yCta padding y
--s-cta-max-widthCta max width
--s-content-maxContent max
--s-cta-padding-xCta padding x
--s-page-marginPage margin
--s-font-displayFont display
--s-cta-title-sizeCta title size
--s-heading-weightHeading weight
--s-heading-trackingHeading tracking
--s-textText
--s-cta-description-gapCta description gap
--s-cta-description-max-widthCta description max width