ButtonLink #
ButtonLink renders an anchor with button styling.
Props #
| Prop | Type | Required | Description |
|---|---|---|---|
href | string | Yes | Link destination. |
variant | 'default' | 'primary' | 'ghost' | No | Visual button style. |
children | ReactNode | Yes | Button label. |
Examples #
Live examples #
Code #
Primary CTA #
mdx
<ButtonLink href="/guides/quickstart" variant="primary">Start Setup</ButtonLink>
Default button-link #
mdx
<ButtonLink href="/guides/components/index">Browse Components</ButtonLink>
Ghost style #
mdx
<ButtonLink href="/guides/troubleshooting" variant="ghost">Need Help?</ButtonLink>