dcc.Link

To learn more about links, see the chapter on Dash URLs.


Access this documentation in your Python terminal with:
```python

help(dash.dcc.Link)
```

Our recommended IDE for writing Dash apps is Dash Enterprise’s
Data Science Workspaces,
which has typeahead support for Dash Component Properties.
Find out if your company is using
Dash Enterprise
.

children (list of or a singular dash component, string or number; optional):
The children of this component.

href (string; required):
The URL of a linked resource.

target (string; optional):
Specifies where to open the link reference.

refresh (boolean; default False):
Controls whether or not the page will refresh when the link is clicked.

title (string; optional):
Adds the title attribute to your link, which can contain supplementary
information.

className (string; optional):
Often used with CSS to style elements with common properties.

style (dict; optional):
Defines CSS styles which will override styles previously set.

id (string; optional):
The ID of this component, used to identify dash components in
callbacks. The ID needs to be unique across all of the components in
an app.

loading_state (dict; optional):
Object that holds the loading state object coming from dash-renderer.

loading_state is a dict with keys:

  • component_name (string; optional):
    Holds the name of the component that is loading.

  • is_loading (boolean; optional):
    Determines if the component is loading or not.

  • prop_name (string; optional):
    Holds which property is loading.