import "capsomer/tokens.css";
import "capsomer/cta-band.css";
import { CtaBand } from "capsomer/react/cta-band";
Usage
<section class="cap-cta-band" aria-labelledby="c"><p class="cap-eyebrow" data-tone="accent">Start here</p><h2 id="c" class="cap-cta-band-title">Ready to write it down?</h2>
<p class="cap-cta-band-text">Set up a notebook in two minutes.</p><div class="cap-cta-band-actions">[button links]</div>
<p class="cap-cta-band-note">Apps for phones are coming.</p></section>
Examples
Quiet
<div data-mount="quiet" id="sample-quiet"></div>
API reference
CtaBand
Prop
Type
Required
Does
title
ReactNode
Yes
eyebrow
ReactNode
A short line above the heading ("Start reading").
children
ReactNode
actions
ReactNode
Yes
Buttons or button links; the first is the primary.
quiet
boolean
A quieter band: no fill, a rule above.
note
ReactNode
A small line under the actions ("Apps for iOS and Android are coming").
headingLevel
"h2" | "h3"
className
string
CSS variables
Variable
Default
--cta-band-align
center
--cta-band-bg
var(--accent-soft)
--cta-band-border
var(--line-w) solid var(--accent-line)
--cta-band-pad
var(--space-7) var(--space-6)
--cta-band-title-face
revert-layer
--cta-band-title-leading
revert-layer
--cta-band-title-size
revert-layer
--cta-band-title-weight
revert-layer
Parts and data attributes
Class
Is
.cap-cta-band
the root
.cap-cta-band-actions
a part
.cap-cta-band-note
a part
.cap-cta-band-text
a part
.cap-cta-band-title
a part
Attribute
Values
data-quiet
present or absent
Accessibility
Key
Does
Tab
Through the actions
Screen readers: no manual NVDA or VoiceOver run, by decision (2026-11-07); the automated browser checks and a front-end review stand in. Automated: see the site's Tests page.