Skip to main contenteBay Playbook
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles

Design system

  • Overview
    • Overview
    • Color
    • Dimension
    • Spacing
    • Typography
    • Breakpoints
    • Shadow
    • Shape
    • Opacity
    • Motion
    • Overview
    • Status
    • Accordion
    • Action bar
      • Overview
      • Inline notice
      • Page notice
      • Section notice
    • Avatar
    • Badge
    • Banner
    • Breadcrumb
      • Overview
      • Branded button
      • CTA button
      • Icon button
      • Link button
    • Card
    • Carousel
    • CCD
      • Filter chip
      • Input chip
      • Graphs
      • Metrics
    • Date picker
    • Dialog
    • Divider
    • Education notice
    • EEK rating and range
    • Expansion
      • Checkbox
      • Combobox
      • Dropdown
      • Numeric stepper
      • Password
      • Phone number
      • Radio button
      • Select list
      • Switch
      • Text area
      • Text field
    • Item tile
    • List row
      • Overview
      • Expressive loader
      • Skeleton loader
    • Media container
      • Top navigation bar
    • Pagination
    • Popover
    • Progress stepper
    • Search field
    • Section header
    • Segmented button
      • Bottom sheet
      • Panel
    • Signal
    • Snackbar
    • Tab
    • Table
      • Tooltip
      • Tourtip
    • Toggle button group
    • Video player
    • Overview
    • Bulk editing
    • File uploading
      • Text link

Text link

v2.1

Text links are lightweight navigational elements. Links can appear within a paragraph, after a paragraph, standalone, or in a list of other links. They are underlined by default.

  • Skin
  • Marko
  • React
Text linkv2.1

On this page

  • Considerations
  • Usage guidelines
  • Anatomy
  • Behavior
  • Platforms
  • Best practices

Usage guidelines

Anatomy

Behavior

Platforms

Best practices

Things.People.Love.
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles
  • Careers
  • Press
  • Privacy policy
© 2025 eBay. All rights reserved.

eBay Evo, the eBay trademark, and the eBay logo are the intellectual property of eBay Inc.

    Inline

    Inline links appear within paragraphs and sentences. They always have an underline to differentiate between non-link content.

    Color

    Links should generally match the color of the content around it. Standalone links can use a secondary color within a list to avoid overwhelming the UI or a primary color for more emphasis.

    Exception: Legal links must use the specific legal link color.

    Size

    Text links inherit their size and styling from the content around them.

    State

    Text links use state layers for interaction states. The available states are enabled, hover, focused, visited, and disabled. Learn more about the state layer color values in Color tokens.

    Background

    Links placed on backgrounds using our expanded color palette should use the coordinating foreground color to match. This ensures we meet WCAG’s 4.5:1 ratio standard for AA contrast. See Accessibility foundations for more info.

    Native

    Keep in mind that on native devices, it's common for an entire line of text to be tappable when it contains a link. This is particularly important if multiple links are close together, as it could lead to accidental taps.

    A sentence with two links highlighted with underlines.
    Two text blocks in black and gray. Each has a text link that matches the color of the surrounding text.
    Three different text blocks in different sizes. The text links in each are the same size and color as the surrounding text.
    The different states lined up for text links. From left to right are enabled, hover, focused, visited, and disabled.
    A marketing banner with a text link under the call to action. The text link matches the blue color theme.
    A mobile screen with a block of text with three lines. The last line has a text link and a pink shape overlapping the full width of the text line to indicate the line itself is tappable.

    Considerations

    Clear

    The link text makes it clear where it will take the user.

    Identifiable

    Links are familiar and easily identifiable amongst other content.

    Concise

    Link text is short. Aim for fewer than 5 words.

    Anatomy of a text link. Number 1 points to the text. Number 2 points to the underline.
    1. Text
    2. Underline

    When to use

    • Navigating within the app
    • Navigating externally
    • Navigating to an element on a page (anchor link)
    • Email addresses and phone numbers

    When not to use

    • Actions that manipulate data or how its displayed
    • Actions that change state
    • Navigating to legal links

    Text links vs Link buttons

    If an action results in a URL change or new browser tab use a Text link. Everything else is a Button.

    Semantics

    HTML text links and buttons have important differences in behaviors, interactions and expectations. For example, a Text link will perform its interaction when clicked and when the enter key is pressed. A Button will perform its interaction when clicked and when the enter and spacebar keys are pressed. When holding the control or command key a Text link will open a new browser tab, a Button will not.

    Buttons take action, links navigate

    • Use a link when you’re navigating to another place, such as: an item page, a seller profile, a page "skip link" etc.
    • Use a button when you are performing an action, such as: "bid," "add," "search," etc.

    Content

    Use words that describe where the link leads and what content is expected.

    Two text strings with text links. The first is the full link “Learn about coupons”. The second is the string “Visit our Grow your business with eBay page.” with a hyperlink on “Grow your business with eBay”.

    Don’t use ambiguous words like “click here” or “learn more”. They lack necessary context for screen reader users.

    Two text strings. The first simply has the text link “Click here” and the second has the text link “Learn more”.

    Underline

    Always underline links within or right after paragraphs. Only remove the underline where the context is clear, like a list of links in a footer.

    A text block with the text links that have underlines.

    Don’t remove the underline for links near other content. This can easily get lost and are inaccessible to low-sight users.

    A text block with the text links that don’t have underlines making them invisible.

    Size

    Do use the same type size as the surrounding text.

    A text block with a text link that is the same size as the body text.

    Don’t mix type sizes.

    A text block with a text link that is a size larger than the body text.

    Titles

    Use links in body copy or footnotes.

    A title and sub copy. The sub copy has a text link.

    Don’t use links for titles or headlines.

    A title and sub copy. The title has a text link.

    Browser window

    Do open links in the same browser window.

    A text link opening in the same browser tab/window.

    Don’t force links to open in a new window. This is a poor experience because it takes control away from the user and forces web-browsing behavior upon them.

    A text link opening in a new browser tab/window.

    Legal links

    Do use text links for non-legal links, such as Seller policy. Use blue links when required for legal compliance.

    An order summary page with a text link and legal link, each in correct styles.

    Don’t use blue for non-legal links, such as Seller policy.

    An order summary page with a text link and legal link. The text link is using the wrong style.