Link Buttons

Styled action buttons for navigation and calls to action


Link Buttons

Link buttons create styled call-to-action buttons with optional icons.

Variants

Primary

Get Started

Secondary

Learn More

Minimal

View Documentation

Syntax:

:::link-button{href="/path" variant="primary"}
Button Text
:::
Markdown

With Icons

Next Lesson View on GitHub

Icon placement defaults to the end. Use iconPlacement="start" to place it before the text:

Previous Lesson

Available Icons

arrow, arrow-right, arrow-left, external, download, github, rocket, star, check, chevron-right, chevron-left, plus

Best Practices

  • Use primary for the main call to action, secondary for alternatives
  • One primary button per section maximum
  • Use icons to reinforce the button's purpose (arrow for navigation, external for links)
  • Keep button text short and action-oriented