Skip to content

Link Control

URL input with optional link text and new tab setting.

PropertyTypeDescription
urlstringThe URL
titlestringLink text/label
opensInNewTabbooleanOpen in new tab
{
"attributes": {
"buttonLink": {
"type": "object",
"default": { "url": "", "title": "Learn More", "opensInNewTab": false },
"wbs": {
"label": "Button Link",
"control": "link"
}
}
}
}
<a href="{{ attributes.buttonLink.url }}"
target="{{ attributes.buttonLink.opensInNewTab ? '_blank' : '_self' }}"
class="btn">
{{ attributes.buttonLink.title }}
</a>

Use Link for buttons, CTAs, external links, or any link with associated text and target settings.