ModulesBling

SR Element Button

This module renders a single button built from one CTA configuration, choosing between a HubSpot CTA object, a payment button, a plain link, or a modal trigger, with style, size, color state, and optional icon settings.

Pick it over the card, graphic, or client modules when the section needs just a standalone clickable action with no image or body copy attached. It expects a link, CTA, or payment object depending on the selected cta_type and renders nothing else on its own.

Use cases

  • Standalone call to action button
  • Watch demo button
  • Buy now payment button
  • Open modal trigger button
  • Link out to external page
  • Closing cta after a content block

Where it fits

  • Included with: Core
  • Page sections: Cta, Utility, Form

Editable fields

Content tab

Button Repeats: min 0, default 1.

FieldTypeNotes
CTA TypeChoiceOptions: HubSpot CTA, HubSpot Payment, Button, Modal.
CTA StyleChoice26 options, including Primary, Secondary, Tertiary.
CTACTA
Button TextText
Modal TargetText
LinkLink
Payment linkPayment
Checkout behaviorChoiceOptions: Open in a new tab, Sliding overlay.
CTA SizeChoiceOptions: Small, Default, Large.
Add iconBoolean

Button › Default

FieldTypeNotes
BackgroundColor
TextColor
BorderColor

Button › Hover

FieldTypeNotes
BackgroundColor
TextColor
Border ColorColor

Button › Icon

FieldTypeNotes
IconIcon
PositionChoiceOptions: Left, Right.
PurposeChoiceThe purpose of the icon, used for accessibility. If set to decorative, an additional attribute of aria-hidden="true" will be added to the icon. Options: Decorative, Semantic.

Style tab

Change log

VersionChange
1.0.0Stardust updates release