Skip to content

Link

Inline link text that opens a URL or fires press.

Group: Actions · Kind: native · in the lite catalog

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-link on Web
exponential-ui-link on iOS
exponential-ui-link on Android
exponential-ui-link on Desktop
Prop Type Required Bindable Description
label string yes yes The link text.
href url – – The URL to open; omit to handle press yourself.
external boolean – – Marks it as leaving the app. Default false.
  • on.press: runs an action

None.

none

No basic catalog component maps here.

A native component: every renderer paints it directly.

Role: link

link

Keys Action
Enter open / press

Recipe parts: Link/root

Keyed by: external :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Button · Toggle