Skip to main content

Call To Action

A button following Caraways style guide

🗄File Path

src/components/CallToAction

Default

Hover

Available Props

PropsTypeDescriptionDefaultRequired
ctaobjectcta data return from contentfulnulltrue
onClickfunctiononClick if needednullfalse

Contentful

Below are Contentful details to render the desired component.

Content Model Reference Content Model


Contentful CTA Walkthough.

Enter the CTA label, a page or an external url, and your CTA type.

CTA with url

TextPage, Product, or ArticleUrlButton STyle
Button labelnot required Link to pagenot require External LinkDecorates button reference 👆🏼

Renders