Skip to content

Link

Creates styled anchor elements for navigation or actions.

First release: 1.0.0 Latest update: July 1, 2025 Current version: 1.0.0

React Angular Vue Svelte HTML

Import

import { PlusLink } from '@plusui/react';
import { PlusLinkComponent } from '@plusui/angular';
import { PlusLink } from '@plusui/vue';
import PlusLink from '@plusui/svelte';
<script src="https://cdn.jsdelivr.net/npm/@plusui/core"></script>

Package

@plusui/react
@plusui/angular
@plusui/vue
@plusui/svelte
@plusui/core

Docs

Changelog

Link Changelog

Recent changes and updates for the link component

v1.0.0

June 20, 2025
Feat

Added Link component for navigation

  • Internal and external link support
  • Multiple visual styles
  • Icon support
  • Accessibility attributes

The Link component renders a styled anchor (<a>) tag, providing options for navigation, interaction states, and visual customization like size and underline behavior.

Link - anatomy

A standard link with an href attribute.

Visit Plus UI
Show code

Control the link’s text size using the size prop.

Link TextLink TextLink Text
Show code

Control when the underline appears using the underline prop.

Link TextLink TextLink Text
Show code

Disabled link component ensures that users receive visual and functional cues when a link cannot be interacted with, maintaining a user-friendly and inclusive experience.

Link TextLink Text
Show code

Use the external prop to open links in a new tab securely.

External Link (Opens in new tab)
Show code

Effective layout and spacing of link components play a vital role in crafting user-friendly, visually appealing, and accessible interfaces. Thoughtful consideration of how links are positioned and the space around them enhances both aesthetics and usability, resulting in an overall improved user experience. Properly spaced and arranged links make it easier for users to navigate and interact with your content, promoting an intuitive and engaging interface.

layout and spacing of button component

Implementing light and dark modes for link components enhances user experience, accessibility, and aesthetics. It accommodates various user preferences, improves readability, and keeps your design modern.

dark and light mode of button component

Accessibility is a core consideration for our link components, just like it is for buttons. Accessible links benefit users with disabilities and enhance the overall user experience, making our digital product more inclusive, user-friendly, and legally compliant. In this section, we’ll provide guidelines for ensuring accessibility in our link components.

CriteriaDescriptionStatus
ARIA Hidden ElementsEnsures aria-hidden elements are not focusable nor contain focusable elementsPassed
ID AttributesEnsures every id attribute value is uniquePassed
Discernible TextEnsures links have discernible textPassed
Color ContrastEnsures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholdsAA ~ AAA

To learn more about Plus UI’s accessibility criteria, please visit Accessibility.

Site favicon https://www.figma.com/community/file/1310670219738074447/plus-ui-design-system
Visit
PropertyDescriptionTypeDefault
sizeControls the size of the link’sm’ | ‘md’ | ‘lg’ | ‘inherit''inherit’
disabledMakes link non-interactivebooleanfalse
readonlyMakes link non-interactive but styledbooleanfalse
hrefURL the link points tostring
targetWhere to display linked URLstring
relRelationship to linked documentstring
downloadDownload URL instead of navigatingstring
loadingShows loading statebooleanfalse
externalOpens in new tab securelybooleanfalse
underlineControls underline style’always’ | ‘hover’ | ‘never''hover’
EventDescriptionEvent Detail
plus-clickEmitted when link is clicked-
plus-focusEmitted when link gets focus-
plus-blurEmitted when link loses focus-
NameDescription
defaultMain content of the link
prefixContent before the main content
suffixContent after the main content

Join the Community

Plus UI is built by the community. Join us on our platforms to contribute, get help, and stay up to date.