Call to Action
Use MDX CallToAction component to create call-to-action buttons in your posts.
Usage
Like what you see? <CallToAction href="https://quotion.co">Download</CallToAction> now!
<CallToAction href="mailto:support@quotion.co" variant="secondary">Contact us</CallToAction> if you have any questions or feedback.
Build your blog with Apple Notes, <CallToAction href="https://quotion.co" variant="outline" size="lg">Try Quotion for free</CallToAction> !
Preview
Component API
CallToAction
Property | Type | Default | Description |
---|---|---|---|
href | string | Required | The URL to navigate to when the button is clicked, must starts with https or mailto |
variant | 'secondary' | 'outline' | None | The variant of the button |
size | 'sm' | 'md' | 'lg' | 'md' | The size of the button |
FAQs
How is this guide?