Search documentation

Find a component or a docs page

Link

Displays a link that looks like a button or an underlined text link.

Usage

Example

A Link looks like a primary button by default, but stays a native link: screen readers announce a link and Enter follows it.

Disabled

disabled: true removes the href, so the link can't be focused or followed. Add focusable_when_disabled: true to keep it in the tab order (e.g. for a tooltip).

Secondary

This is the secondary variant of a Link

Destructive

This is the destructive variant of a Link

Outline

This is the outline variant of a Link

Sizes

Icon

This is the icon variant of a Link

With icon

This is the primary variant of a Link with an icon

Ghost

This is the ghost variant of a Link

Installation

Components

ComponentBuilt usingSource
LinkPhlex
LinkDocsPhlex