Link

The Link component is a styled <a> element. Use it as you would use any other link.

<Link href='https://www.priceline.com/home/'>
  Priceline Home
</Link>

Props

PropTypeDescription
colorstringThe link color
variationfill, outline, linkUsed to alter the appearance of the link. fill and outline make the link look like a button. link is the default value.

Color

You can choose any palette or theme color for Link.

<Link color="secondary">Secondary Link</Link>

Uses the color from theme.palette.secondary.base.

<Link color="error">Error Link</Link>

Uses the color from theme.palette.error.base.

<Link color="purple">Purple Link</Link>

Uses the color from theme.colors.purple.

Variations

<Link variation='link'>Link Variant</Link>

outline

<Link variation='outline'>Outline Variant</Link>

fill

<Link variation='fill'>Fill Variant</Link>