CTA Button List
A vertical stack of call-to-action buttons with icons — ideal for link-in-bio pages and resource lists.
A high-contrast call-to-action card — bold headline, supporting line, and a button to drive the next step.
Add it to any Hugo page's sections list — no build step.
Quick start
Drop this into your page's front matter, under the sections list. Edit the values, and HugoBlox renders the block — no build step.
- block: cta-card
design:
background:
gradient:
start: primary-500
end: secondary-600
direction: "135"
text_color_light: true
card:
css_class: glassmorphism-primary
text_color: auto
overlay_opacity: 0.15
content:
title: Ready to launch?
text: Ship a Hugo Blox site with production-ready Tailwind 4 in minutes.
button:
url: /contact/
text: Talk to us
icon: hero/arrow-rightOverview
Create irresistible calls-to-action that convert
Make a bold statement and drive immediate action with the CTA Card block - a high-impact, conversion-optimized component designed to capture attention and compel your visitors to take the next step.
Maximum Visual Impact: Bold design that stands out on any page and captures immediate attention
Conversion Focused: Every element is optimized for driving action, from typography to button placement
Brand Flexible: Fully customizable styling to match your brand colors and aesthetic
Proven Results: Based on high-converting design patterns used by top marketing teams
Transform casual visitors into engaged users with a CTA Card that's impossible to ignore.
- block: cta-card
content:
title: 'Ready to Get Started?'
text: 'Join thousands of users creating amazing websites'
button:
text: 'Get Started Free'
url: '/signup/'
icon: 'hero/rocket-launch'
design:
card:
css_class: 'cta-glassmorphism'
text_color: 'auto' # auto|light|dark
overlay_opacity: 0.15 # 0.0-1.0 for contrast control
background:
gradient:
start: 'primary-500'
end: 'primary-700'
direction: 135
image:
filename: 'textures/noise-pattern.svg'
size: '32px'
position: 'repeat'
design:
card:
css_class: 'glassmorphism-dark glass-ring glass-shadow text-white'
design:
card:
css_class: 'glassmorphism-light glass-ring glass-shadow text-gray-900'
design:
card:
css_class: 'glassmorphism-secondary noise-texture text-white'
background:
color: 'primary-600'
image:
filename: 'your-background.jpg'
size: 'cover'
position: 'center'
opacity: 0.8
gradient:
start: 'primary-500'
end: 'secondary-600'
direction: 135
Add icons to your CTA buttons:
button:
text: 'Download Now'
url: '/download/'
icon: 'hero/download' # Download icon
button:
text: 'Contact Us'
url: 'mailto:[email protected]'
icon: 'hero/paper-airplane' # Email icon
button:
text: 'Learn More'
url: '#features'
icon: 'hero/arrow-right' # Arrow icon
card:
text_color: 'auto' # Auto-detects based on background brightness
text_color: 'light' # Force white text (for dark backgrounds)
text_color: 'dark' # Force dark text (for light backgrounds)
card:
overlay_opacity: 0.1 # Subtle glassmorphism (better for text contrast)
overlay_opacity: 0.15 # Default glassmorphism
overlay_opacity: 0.25 # Strong glassmorphism (may reduce contrast)
overlay_opacity: 0.05 # Minimal glassmorphism (maximum contrast)
Dark Background (Light Text):
design:
card:
css_class: 'cta-glassmorphism'
text_color: 'light'
overlay_opacity: 0.1
background:
gradient:
start: 'gray-800'
end: 'gray-900'
Light Background (Dark Text):
design:
card:
css_class: 'cta-glassmorphism'
text_color: 'dark'
overlay_opacity: 0.2
background:
gradient:
start: 'gray-100'
end: 'gray-300'
Vibrant Background (Auto Detection):
design:
card:
css_class: 'cta-glassmorphism'
text_color: 'auto' # Will detect primary-500 as medium and use adaptive colors
overlay_opacity: 0.15
background:
gradient:
start: 'primary-500'
end: 'primary-700'
cta-glassmorphism: Smart adaptive glassmorphism with contrast controlsglassmorphism-primary: Primary color glassmorphism (legacy)glassmorphism-secondary: Secondary color glassmorphism (legacy)glassmorphism-dark: Dark glassmorphism (legacy)glassmorphism-light: Light glassmorphism (legacy)glass-ring: Enhanced ring bordersglass-shadow: Multi-layer glass shadowsnoise-texture: Subtle noise texture overlayFlexibility
Switch the block's design with these presets — no custom CSS.
card.text_colorText color mode for optimal contrast (auto detects based on background)Reference
Every option the CTA Card block accepts, generated from its schema.
Properties set under the block's content key.
| Property | Type | Default | Description |
|---|---|---|---|
titlerequired | string | — | Card title (supports Markdown) |
textrequired | string | — | Card description text (supports Markdown) |
buttonrequired | object | — | Call-to-action button |
button.urlrequired | string | — | Button destination. Use `#<section-id>` for a same-page anchor (e.g. `#contact` if a contact section declares `id: contact`), `/path/` for an internal page, or a full `https://…` URL for external links. |
button.textrequired | string | — | Button text |
button.icon | string | — | Optional button icon (icon pack format: pack/icon-name) |
button.new_tab | boolean | false | Open the button link in a new tab |
Properties set under the block's design key — shared background, spacing, and color settings apply on top.
| Property | Type | Default | Description |
|---|---|---|---|
card | object | — | — |
card.css_class | string | — | CSS classes to apply to the card (e.g., glassmorphism-primary, glass-ring) |
card.css_style | string | — | Inline CSS for the card container |
card.text_color | auto | light | dark | auto | Text color mode for optimal contrast (auto detects based on background) |
card.overlay_opacity | number | 0.15 | Glassmorphism overlay opacity for fine-tuning contrast |
Compose
Blocks that pair naturally with CTA Card on the same page.
Frequently asked
Ready to build with the CTA Card block?
More blocks like this
A vertical stack of call-to-action buttons with icons — ideal for link-in-bio pages and resource lists.
Alternating image-and-text rows with feature bullets and a CTA — tell your story as visitors scroll.
Pricing tiers with a monthly/yearly toggle, feature checklists, a highlighted plan, and per-tier CTAs.
Show what your product does in a scannable grid of icons, names, and benefit-led descriptions.