Ask Natuna

Ask about the design system

Hi, I am Natuna.

Ask me about the design system: components, tokens, statuses, and how to use them.

Natuna can be wrong. The docs are the source of truth.

Skip to content
  • IntroductionPage
  • Ask NatunaAsk about the design systemPage
  • FoundationColor, type, number, effectPage
  • Components overviewPage
  • ThemesLight and dark modePage
  • NamingProperty and page namesPage
  • Privacy statementPage
  • Text-safe stepsFirst AA and AAA step per color rampSection
  • AccessibilityWCAG 2.2 AAA rulesSection
  • Dark modeThemesSection
  • Using it todayFigma file and React codeSection
  • Component statusDesign status and In ReactSection

Arrow keys to move, Enter to open, Esc to close.

Link

Navigates the user to another page, section, or resource.

Status
Not tracked
Code
In React
Role
Navigation

Usage

This demo is live, and the code below it is the same code, imports included. The component lives in src/ui of this repository and is not published to npm yet.

Pastes as editable layers. Shadows are not exported.

import { TextLink } from "@/ui";

export default function LinkDemo() {
  return (
    <>
      <p>
        Read the <TextLink href="#limits">transfer limits</TextLink> before you send.
      </p>
      <TextLink href="#history" standalone>See all transactions</TextLink>
      <TextLink href="https://natunadigilab.vercel.app" standalone external>Natuna Digilab</TextLink>
    </>
  );
}

Variants and states

Every specimen is the real component from src/ui, held in one state.

size sminline, standalone, external
size mdinline, standalone, external

Pastes as editable layers. Shadows are not exported.

Props

href
string · default none
Required. Where the link goes.
children
ReactNode · default none
Required. The link text. It must make sense out of context.
size
"sm" | "md" · default "md"
14px or 16px. Match the text around an inline link.
standalone
boolean · default false
A link on its own line: 44px tall, underlined on hover. Inline links are always underlined.
external
boolean · default false
Opens in a new tab with rel="noopener noreferrer", adds an arrow icon, and tells screen readers it opens in a new tab.
as
ElementType · default "a"
Render through your router's link, such as next/link.
...rest
AnchorHTMLAttributes · default none
Every other anchor attribute.

Figma to code

Figma properties by their exact names from Naming, and the React prop that carries each one. The table covers the shared properties that bear on this component; the Figma file decides which of them its component exposes. None means there is no prop for it yet.

📐 Size
size
sm and md.
🧰 Type
standalone
Inline or standalone.
🎯 State
None
No prop. Hover and focus come from the browser.
▶️ Show Icon Right, 🖼 Change Icon Right
external
The arrow for a link that leaves the site.

Accessibility

What the code in src/ui does today, and what it leaves to you.

Keyboard

  • Tab reaches the link and Enter follows it. Both come from the native anchor.

Screen readers

  • Announced as a link named by its text.
  • An external link adds "(opens in a new tab)" in visually hidden text. The arrow is aria-hidden.

What you still need to do

  • Write link text that says where it goes. "Click here" and "Read more" mean nothing in a list of links.
  • Use Button for actions that stay on the page. Use buttonStyles() when a link must look like a button.
  • Keep inline links underlined; color alone does not mark them for people who cannot see the color.
  • This component draws no focus indicator of its own. On this site a global :focus-visible rule draws a 2px outline in the border/focus role (--color-role-border-focus). Copy the role tokens and that rule, or an equivalent, into your app.

When to use

Links navigate. When the interaction triggers an action instead, use a button.

Do and don't

Do

  • Underline or clearly distinguish inline links from body text.
  • Use descriptive link text.

Don't

  • Use "click here" as link text.
  • Style a link to look like a button if it performs an action.

Other untracked components.

Status reflects the component tracker snapshot of 29 October 2026.