Link

Links enable navigation within the product or to external destinations.

Usage
Code

Links are used to navigate to a destination which can be on the same page or a different one. They should be used for navigation only not for actions.

Variants

Default

Default link button is blue in color. It is used when just enough attention of users is required.

Default Default

With Icon

Link can have an optional icon on the left or right.

With icon With icon

Sizes

Link comes in 2 sizes - regular and small.

States

Link comes in 5 states - default, hover, active, focus and disabled.

States of a link

Structure

A link consist of just a text. It does not contain any padding.

Structure of link

PropertyValue(s)
Height
  • 16 px (Small)
  • 20 px (Regular)
Icon size
  • 12 px (Small)
  • 16 px (Regular)

Configurations

PropertyValue(s)Default value
Size
  • Regular
  • Small
Regular
Subtle
  • True
  • False
False
Icon
(optional)

icon name

-
Icon alignment
  • Left
  • Right
Left

Usage

It is the default link component and comes in the primary color. It is used to draw attention and hence it is not recommended to have many links on a single page.

Primary Link Primary Link


This is the subtle variant of link and hence uses a lighter color. It is primarily used in the breadcrumb component. Use it sparingly such as times when the default link can be too overwhelming to use (too much primary color on the screen).

Subtle Link Subtle Link


Link is used for navigation whereas link button is used for performing actions.

Link vs Link button Link vs Link button


Was this page helpful?