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

The Link component
view.dml
<Text>Read our <Link href="https://example.com/terms">terms of service</Link>.</Text>

Props

PropTypeWhat it is
hrefstring
tonetoneThe primary color unless a tone sets another.
disabledbooleanDims it, and the person can't use it.

Events

EventSendsNotes
onTapNothingOnly without an https href.

Keep reading

On this page