Products · Components
Link
Text the person taps to open a web page or run an action.
Give it an https href and Dash opens the page in the phone's browser. Leave href out and it sends onTap instead.
Children: Text, which can include Text, Link and Icon within a line · Inline: can sit within a line of text, inside a Text
Example
<Text>Read our <Link href="https://example.com/terms">terms of service</Link>.</Text>Props
| Prop | Type | What it is |
|---|---|---|
href | string | |
tone | tone | The primary color unless a tone sets another. |
disabled | boolean | Dims it, and the person can't use it. |
Events
| Event | Sends | Notes |
|---|---|---|
onTap | Nothing | Only without an https href. |