Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

Link

Link centralizes navigation semantics for internal, anchor, and external links.

CoreBasics@gaudi/design-system/core/LinkView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import Link from '@gaudi/design-system/core/Link';

Usage

import { Link } from '@gaudi/design-system';
<Link href='/blog' variant='inline' tone='blue'>Read the blog</Link>

Examples

Playground

Storybook
Storybook

Variants and tones

Storybook

API

6 props

Accessibility

Link renders Next links for internal URLs, anchors for fragments, and safe external anchors with noopener noreferrer.