// Generated by scripts/generate-showcase.mjs. Do not edit directly. page CTASectionDetail { layout = "showcase" state playground_eyebrow = ctx.url.searchParams.get("pg_eyebrow") ?? "" state playground_title = ctx.url.searchParams.get("pg_title") ?? "CTASection example" state playground_description = ctx.url.searchParams.get("pg_description") ?? "A polished default ctasection for a modern application." state playground_icon = ctx.url.searchParams.get("pg_icon") ?? "" state playground_align = ctx.url.searchParams.get("pg_align") ?? "start" state playground_size = ctx.url.searchParams.get("pg_size") ?? "default" state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary" state playground_variant = ctx.url.searchParams.get("pg_variant") ?? "solid" state playground_primaryLabel = ctx.url.searchParams.get("pg_primaryLabel") ?? "CTASection" state playground_primaryHref = ctx.url.searchParams.get("pg_primaryHref") ?? "#ctasection-demo" state playground_primaryIcon = ctx.url.searchParams.get("pg_primaryIcon") ?? "" state playground_secondaryLabel = ctx.url.searchParams.get("pg_secondaryLabel") ?? "CTASection" state playground_secondaryHref = ctx.url.searchParams.get("pg_secondaryHref") ?? "#ctasection-demo" state playground_secondaryIcon = ctx.url.searchParams.get("pg_secondaryIcon") ?? "" state playground_backgroundImage = ctx.url.searchParams.get("pg_backgroundImage") ?? "" state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "xl" state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1" seo { title = "CTASection" description = "Reusable closing call-to-action section with primary and secondary actions." } view {
Blocks component

CTASection

Reusable closing call-to-action section with primary and secondary actions.

17 props4 slots0 eventsTheme readyResponsive
Interactive playground

Configure CTASection

Change any prop and inspect the server-rendered component immediately.

Live preview
actions slot
visual slot
footer slot
Component code
<CTASection
  title="CTASection example"
  description="A polished default ctasection for a modern application."
  align="start"
  primaryLabel="CTASection"
  primaryHref="#ctasection-demo"
  secondaryLabel="CTASection"
  secondaryHref="#ctasection-demo">
  <!-- Add default, actions, visual, footer slot content here -->
</CTASection>
Component props17 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Production default

Balanced spacing, hierarchy, and content for the most common product workflow.

01
Live preview
actions slot
visual slot
footer slot
Component usage.wrn
<CTASection
  title="CTASection example"
  description="A polished default ctasection for a modern application."
  align="start"
  primaryLabel="CTASection"
  primaryHref="#ctasection-demo"
  secondaryLabel="CTASection"
  secondaryHref="#ctasection-demo">
  <!-- Add default, actions, visual, footer slot content here -->
</CTASection>
Dense UI

Compact application

A tighter variation for dashboards, side panels, tables, and operational interfaces.

02
Live preview
actions slot
visual slot
footer slot
Component usage.wrn
<CTASection
  title="Compact CTASection"
  description="A compact configuration for dashboards and dense product surfaces."
  icon="icon-[lucide--arrow-right]"
  size="sm"
  variant="secondary"
  primaryLabel="Compact example"
  primaryHref="#ctasection-demo"
  secondaryLabel="Compact example"
  secondaryHref="#ctasection-demo">
  <!-- Add default, actions, visual, footer slot content here -->
</CTASection>
Extended

Rich configuration

A more expressive variation using additional data, stronger emphasis, and optional states.

03
Live preview
actions slot
visual slot
footer slot
Component usage.wrn
<CTASection
  title="Advanced CTASection"
  description="A richer configuration demonstrating additional content and hierarchy."
  icon="icon-[lucide--trash-2]"
  align="end"
  size="lg"
  variant="success"
  primaryLabel="Advanced example"
  primaryHref="#ctasection-demo"
  secondaryLabel="Advanced example"
  secondaryHref="#ctasection-demo">
  <!-- Add default, actions, visual, footer slot content here -->
</CTASection>
Component events

Events

Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.

No public component events.
Component API

Props and configuration

All content and behavior shown above is supplied through these props and slots.

PropTypeDefaultRequired
eyebrowstring""No
titlestring"Ready to get started?"No
descriptionstring""No
iconstring""No
alignstring"center"No
sizestring"default"No
colorstring"primary"No
variantstring"solid"No
primaryLabelstring"Get started"No
primaryHrefstring"#"No
primaryIconstring""No
secondaryLabelstring""No
secondaryHrefstring""No
secondaryIconstring""No
backgroundImagestring""No
maxWidthstring"xl"No
classstring""No
} }