Skip to content
nexubDesign System
v2.4.0

Components · Inline Primitives

Link

StableSince v0.0.1

Styled anchor link with variant and external support.

import { Link } from '@nexub/react';

Examples

Default

Variants

External

Props

Props
PropTypeDefaultDescription
variant'default' | 'muted' | 'underline'—Visual style of the link.
externalboolean—Opens the link in a new tab with appropriate rel attributes.
hrefstring—The URL the link points to.
asChildboolean—Merges props onto the immediate child element (Radix Slot).