Link

Display a link to an external resource, a bookmarklet or a download.

Example

{
  type: "link",
  label: "Link",
  value: {
    href: "https://www.takeymakey.com/",
    text: "takeymakey.com",
  },
}

Options

Output

Use these options when using the field with make.

label?
string |‌ false
A label describing the purpose of the field. Setting the label to false removes the element, which can be useful when nested as the only child within a `group`.
detail?
string
Additional information about the field, disclosed in a tooltip.
value?
{href: string, text?: string}
The href attribute and inner text of the link. When text is not defined, the href is show as the link text.
download?
boolean |‌ string
When true, download the link rather than navigating. Use a string to provide a default name for the downloaded file.