Skip to main content

Link

A link widget provides an interactive reference to a resource, which can be external or within the current page or application. It is a versatile component that can be used in various contexts, such as navigation menus, breadcrumbs, and inline text links.

Import

import { Link } from '@vortexlabs/vortex';
import type { LinkProps } from '@vortexlabs/vortex';

Display

<Link href="https://vortex.design">Vortex</Link>

Allied components

Other links

Component properties
PropTypeDefaultAttributes
children
React.ReactNode
No default value
href
string
No default value
external
boolean
No default value
variant
union
plain
color
union
neutral
size
union
md
weight
union
medium
leftIcon
SVGIcon
No default value
rightIcon
SVGIcon
No default value
disabled
boolean
No default value
onClick
function
No default value
type
union
button
stopPropagation
boolean
No default value
render
function
No default value
className
union
No default value
attributes
object
No default value