Skip to main content
OpenLink opens a URL through the host application’s link handler. Use it for navigation buttons, “View docs” links, or any action that should take the user to an external resource. Pair OpenLink with the link button variant for a natural look:

Dynamic URLs with State

Build URLs from client state using interpolation:

API Reference

OpenLink Parameters

url
str
required
URL to open. Can be passed as a positional argument. Supports {{ key }} interpolation.

Protocol Reference

OpenLink
{
  "action": "openLink",
  "url": "string (required)"
}
For the complete protocol schema, see OpenLink.