Buttons
2 min
Button blocks create prominent calls-to-action that link to other pages or external websites.
Syntax
You can add this component using either Markdown or MDX.
<CtaButton
label="Click Me"
externalHref="https://example.com"
openInNewTab="true"
/>Buttons support the following properties:
- label defines the text displayed on the button.
- externalHref specifies the destination URL.
- openInNewTab controls whether the link opens in a new browser tab.
MDX example
The following example creates a button that links users to the Archbee documentation.
<CtaButton
label="Go to Archbee Docs"
externalHref="https://www.archbee.com/docs"
openInNewTab="true"
/>Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.