Theme Playground

Storefront

CTAGroup

Paired action row that combines a primary button with an optional secondary text link.

Best for

section CTAseditorial actionscampaign callouts

Import

import { CTAGroup } from "@enadhq/enad-react-sdk/client/storefront"

When to use it

Use CTAGroup below editorial or promotional copy when the layout needs one clear primary action and a lighter follow-up link.

Composition notes

The component only renders the actions that have both label and href values. buttonVariant lets you force the primary button treatment, while dark changes the default button behavior and link color for darker surfaces.

The row uses a wrapping flex layout, so the button and text link can break onto a second line without extra work when space gets tight. Keep labels short enough that the pair still reads as one action group instead of two unrelated controls.

Behavior and theming guidance

Keep the pair focused. This component works best with one strong button and one lighter text action, not a crowded row of competing choices.

Use dark when the group sits on a dark panel or image overlay so the default contrast stays correct. If a section needs more than two actions, switch to a custom layout rather than stretching CTAGroup beyond its intended role.

Examples

Live examples you can edit directly in the sandbox.

1 example

Button plus text link

Use CTAGroup when a content block needs one main action and one lighter secondary route.

Slots

buttonroottextLink

Component Sets

Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.

Props

PropTypeDefaultDescription
buttonLabelstring
No description yet.
buttonHrefstring
No description yet.
textLinkLabelstring
No description yet.
textLinkHrefstring
No description yet.
darkbooleanfalse
No description yet.
buttonVariantstring
No description yet.
classNamesPartial<Record<CTAGroupSlot, string>>
No description yet.
Slot keys
buttonroottextLink
classNamestring
No description yet.