🎉 👀 New look, same Primer! Preview the new docs experience here and let us know what you think.
Link
Links are used to apply styles to hyperlink text.
On this page
- @primer/react@37.15.0
- Alpha
- Not reviewed for accessibility
On this page
Import
import {Link} from '@primer/react'
Examples
Props
Link
Name | Default | Description |
---|---|---|
href | string URL to be used for the Link. (The | |
muted | false | boolean Uses a less prominent shade for Link color, and the default link shade on hover. |
inline | false | boolean Set to true for links adjacent to text, underlining them for clear visibility and improved accessibility. |
underlineDeprecated | false | boolean Use |
hoverColor | string Color used when hovering over the link. | |
ref | React.RefObject<HTMLAnchorElement> | |
as | "a" | React.ElementType |
sx | SystemStyleObject |