Link
Click to jump to a new spot, like using a teleporter in your favorite sci-fi, making navigation instantaneous..
Basic
A link allows users to navigate to another page or resource within a website or app.
Installation
If you hit any issues, make sure you check out the installation guide here.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Import the components and use them as shown below, adapting the structure to fit each component.
Intent
You can change the intent of the link by using the intent
prop. Available options include primary
, secondary
, lad/primary
, and danger
.
Unstyled
By default, the link comes unstyled, making it easy to apply custom classes and styles.
Use as Button
If you want to style a link to look like a button, you can do so by applying the buttonStyles
prop.
Disabled
You can disable the link by setting the isDisabled
prop.