Link

Allows a user to navigate to another page or resource within a web page or application.

Features

  • Native HTML <a /> element support.
  • Custom element type support via the WAI ARIA Link design pattern.
  • Support for disabled links.

Install

Import

API

Props Type Default
asChild
boolean
false
disabled
boolean
false
noRel
boolean
-
rel
(string & {}) | 'noopener' | 'noreferrer' | 'nofollow' | 'sponsored' | 'ugc' | null
-
target
(string & {}) | '_blank' | '_parent' | '_self' | '_top' | null
-
to
string
undefined
Data attribute Value
[data-disabled]
Present when disabled