Skip to main content
The user will be prompted if they are sure they want to open the link.
import {Link} from "attio/client"
It can be thought of as an
<a href="https://yourwebsite.com" target="_blank" />`

Example

link-dialog.tsx
import React from "react"
import {TextBlock, Link} from "attio/client"

export function LinkDialog() {
  return (
    <TextBlock>
      Check out <Link href="https://attio.com">Attio</Link>.
    </TextBlock>
  )
}

Props

href
string
required
The url to link to.
children
React.ReactNode
required
The text to hyperlink.