Button

The button shortcode creates a customizable clickable button using theme colors.
It adapts automatically to both light mode and dark mode, using dynamically injected CSS variables from your theme parameters.

It supports custom links, target attributes, and inner content (text, icons, emojis, etc.).


Usage

GO
1
2
3
{{< button href="/contact" target="_blank" >}}
Contact Me
{{< /button >}}

Parameters

ParameterRequiredDefaultDescription
hrefNo#URL the button links to
targetNo_selfWhere the link opens (`_blank`, `_self`, etc.)
Inner contentYes-Button label (supports text, emojis, inline HTML)
Table: Button Shortcode Parameters

Examples

1. Basic Button

View Services

2. Open in New Tab

Visit Website 🌐

3. Emoji Button

🔐 Login

4. Inside Paragraph

You can also embed the button inside text:

Sign Up
to join our community today!