---
title: "Variable DataAppLinkConst"
url: "https://www.metabase.com/docs/latest/embedding/sdk/api/DataAppLink"
version: "65"
---

> For the complete documentation index, see [llms.txt](https://www.metabase.com/docs/llms.txt).

# Variable DataAppLinkConst

```ts
const DataAppLink: ({
  to,
  children,
  onClick,
  target,
  rel,
  ...rest
}: DataAppLinkProps) => JSX_3.Element;
```

Internal-only navigation link inside a data app.

Renders a plain anchor rather than a router `<Link>`: a data app is mounted
outside the app's route tree, so it has no router context to read.

The `href` is the app's page in Metabase, so opening the link in a new tab or
copying its address lands on the app rather than on its iframe, which refuses
to load as a top-level page. A plain click navigates inside the app.

## Parameters

| Parameter                                         | Type                                            |
| :------------------------------------------------ | :---------------------------------------------- |
| `{ to, children, onClick, target, rel, ...rest }` | [`DataAppLinkProps`](https://www.metabase.com/docs/latest/embedding/sdk/api/DataAppLinkProps.md) |

## Returns

[`JSX_3.Element`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/0b728411cd1dfb4bd26992bb35a73cf8edaa22e7/types/react/jsx-runtime.d.ts#L6)
