Link

v2.0.2
duplicate

A link component who can get as property to pass custom linker. This component is a child from UniversalLink component.

Install and import

Variants

Can be primary by default or secondary

It can also be disabled

It works on multiple lines too

What is underlined by default?

Link will add an underline to text nodes & Text components

Security

For a target _blank we add rel='noopener noreferrer'

Example with React Router

Properties

NameType(s)DefaultRequired
children
node
variant
primary
secondary

Dependencies

Peer dependencies