Skip to main content

atoms

CTA

A bare anchor with a text label and a URL, used as the call to action at the foot of a card.

Specimens

Card call to action
{{ Cta.render({
  text: "Read the case study",
  url: "/work/",
  classes: "font-display text-primary-400 underline underline-offset-4 hover:text-primary-300"
}) }}

Params

ParamTypeDescription
textstringLink text.
urlstringLink target (href).
classesstringApplied to the <a> as-is. No classes filter, so variant maps and arrays are not supported.