Link nativelite
Inline link text that opens a URL or fires press.
Preview
Loading the renderer…
createSurface + updateComponents, A2UI v0.9.
json
[
{
"version": "v0.9",
"createSurface": {
"surfaceId": "preview",
"catalogId": "https://ui.exponential.at/catalogs/core/v1"
}
},
{
"version": "v0.9",
"updateComponents": {
"surfaceId": "preview",
"components": [
{
"id": "root",
"component": "Stack",
"direction": "vertical",
"align": "start",
"children": [
"example"
]
},
{
"id": "example",
"component": "Link",
"label": "Open docs",
"href": "https://ui.exponential.at"
}
]
}
}
]This surface through a MemoryTransport. Install and transports: React guide.
This surface through a MemoryTransport. Install and transports: SwiftUI guide.
This surface through a MemoryTransport. Install and transports: Compose guide.
This surface through a MemoryTransport. Install and transports: gpui guide.
Platforms




View exponential-ui-link, painted by each native renderer.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
labelrequiredbind | string | – | The link text. |
href | url | – | The URL to open; omit to handle press yourself. |
external | boolean | false | Marks it as leaving the app. |
Events and slots
| Name | Kind |
|---|---|
on.press | event: runs an action |
Accessibility
- Role
link- Semantics
- link
| Keys | Action |
|---|---|
| Enter | open / press |
Theming
- Recipe parts
Link/root- Keyed by
external:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover