Link Control
URL input with optional link text and new tab setting.
Object Structure
Section titled “Object Structure”| Property | Type | Description |
|---|---|---|
url | string | The URL |
title | string | Link text/label |
opensInNewTab | boolean | Open in new tab |
Example
Section titled “Example”{ "attributes": { "buttonLink": { "type": "object", "default": { "url": "", "title": "Learn More", "opensInNewTab": false }, "wbs": { "label": "Button Link", "control": "link" } } }}Template Usage
Section titled “Template Usage”<a href="{{ attributes.buttonLink.url }}" target="{{ attributes.buttonLink.opensInNewTab ? '_blank' : '_self' }}" class="btn"> {{ attributes.buttonLink.title }}</a>Use Case
Section titled “Use Case”Use Link for buttons, CTAs, external links, or any link with associated text and target settings.