Skip to content
Powered byPagefind
ButtonButton

Button

Inline button with icon and style variants.


Button renders an inline link styled as a button, with optional icon and variant.

Usage

:button[Download]{url="/" icon="download"}

:button[GitHub]{url="https://github.com" icon="github"}

Attributes

Props

url
Required
Yes
Type
string

Link destination

icon
Required
Optional
Type
string

Icon name (e.g. download, github, external, arrow, star)

class
Required
Optional
Type
string

Additional CSS