---
title: Link
slug: wip/link
createdAt: 2023-07-20T14:41:14.934Z
---

# Link

:::hint{type="info"}
Links are text-based references to other web pages or trigger actions.

🎨 Figma: Links are available as a Component that can be accessed in the Assets Panel.

💻 Code: Links are available as a Web Component.
:::

Links come with very minimal styling – you can think of them as wrappers that only add hyperlink functionality and visual feedback. The rest, like color, font, and weight, will be inherited from its context. Hence why a Link rarely comes alone but is nested within a Text or Title component.

:::Iframe{iframeHeight="0" code="<iframe&#xA;  title=&#x22;Embedded storybook from cosmos-storybook.herokuapp.com&#x22;&#xA;  allow=&#x22;clipboard-write *&#x22;&#xA;  loading=&#x22;eager&#x22;&#xA;  src=&#x22;https://cosmos-storybook.rbds-production.redbullaws.com/storybook/iframe.html?id=actions-link--docs&viewMode=docs&blocks=story,table&filter=props,events,methods,slots&#x22;&#xA;  height=&#x22;100px&#x22;&#xA;></iframe>"}

:::

## Links vs. Buttons

The difference between Links and Buttons is their styling only – both of them support the rendering of an `a` or `button` tag depending if a `href` is passed to them or not.

