Link

Hyperlinks between pages.

General

Highlight

Distinguish links with different colors.

With Icon

Show an icon in the link.

Variant

Different styles of links.

Block

Display as a separate block.

Use Link with NextJS without any configuration.

Preview
See code

APIs

Link.Props

AttributeDescriptionTypeAccepted valuesDefault
hreflink urlstring--
colordisplay color for linkboolean-false
iconshow iconboolean-false
underlinedisplay underlineboolean-false
blockdisplay as a separate blockboolean-false
refforwardRefRef<HTMLAnchorElement | null>--
...native propsAnchorHTMLAttributes'rel', 'target', ...-
Edit this page on GitHub

Previous

Keyboard

Next

Loading

MADE & DESIGNED WITHBY BRUNO ANDRADE
docs background gradient blue
docs background gradient violet