All components

NAVIGATION / COMPONENTS

Anchor link

Jump to a meaningful section.

Live component5 documented props

About anchor link

Anchors should be employed when you want an element with a link to visually resemble a traditional browser link, typically text with a simple underline.

01

Anatomy

Shared parts, named consistently.

  1. 1
    Border

    Indicates item is selected.

  2. 2
    LabelRequired

    The label of the link

  3. 3
    Icon

    Represents the purpose of the anchor link

  4. 4
    Divider

    Visual separator between notifications when stacked

Try the default

A working example with the shared V1 visual language.

When to use

Use on long pages with stable section IDs. Name the target and leave space for sticky headers at the destination.

Enter follows the fragment. The target should be focusable when continuing keyboard reading is important.

Related components

Source & adaptation

V1 semantic colors, DM Sans typography, compact controls, and responsive layouts. The API table describes this implementation; source design notes may use earlier API terminology.

components/library/navigation.tsx