---
title: Links
path: components/links
status: New
source: 'https://github.com/primer/css/tree/main/src/links'
bundle: links
---
Some text with a Link--primary
``` ## Secondary link Use `.Link--secondary` for a more subtle link color that turns blue on hover. ```html live Some text with a Link--secondary ``` ## Muted link Use `.Link--muted` also removes the underline on hover. Tip: You can also use the `.no-underline` utility to do the same for `.Link--primary`. ```html liveSome text with a Link--muted
Some text with a Link--primary no-underline
``` ## On hover link Use `.Link--onHover` to make any text color used with links to turn blue on hover. This is useful when you want only part of a link to turn blue on hover. ```html live A link with a partial Link--onHover ``` ## Nested link The `.Link` class can be nested inside an `` element if only part of it should be styled like a link. ```html live A nested Link ``` ## Link and color utilities Link classes in combination with [color utilities](../utilities/colors) lets you colorize information separately inside of a link but have all of the link turn into one color on hover. ```html live Hot potato ```