Link

Links are used to apply styles to hyperlink text.

Page navigation navigation

React
readyNot reviewed for a11y
Rails
readyNot reviewed for a11y

React examples

Default

Inline with text

Do not click on this link because it goes nowhere.

Muted color variant

Props

NameRequiredDescription
href
string
URL to be used for the Link. (The `href` is passed to the underlying `<a>` element. If `as` is specified, the link behavior may need different props).
muted
boolean
Uses a less prominent shade for Link color, and the default link shade on hover.
inline
boolean
Set to true for links adjacent to text, underlining them for clear visibility and improved accessibility.
underline Deprecated
boolean
Use `inline` instead.
hoverColor
string
Color used when hovering over the link.
ref
React.RefObject<HTMLAnchorElement>
as
React.ElementType
sx
SystemStyleObject