🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@spark-web/text-link

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-web/text-link

--- title: Text Link storybookPath: navigation-textlink--default isExperimentalPackage: true ---

latest
Source
npmnpm
Version
5.4.0
Version published
Weekly downloads
1.1K
-40.66%
Maintainers
2
Weekly downloads
 
Created
Source

NOTE: These components must be nested within a Text or Heading component.

Text links take users to another place in the application, and usually appear within or directly following a sentence. Styled to resemble a hyperlink.

<Text>
  This is some text containing a <TextLink href="#">text link</TextLink>
</Text>

Examples

Size

The font-size is inherited from the parent Text component.

<Text size="small">
  A <TextLink href="#">text link</TextLink> inheriting the parent's “small”
  font-size
</Text>

This component renders a native anchor element by default, which can be customised via the linkComponent prop on the SparkProvider component.

Props

The TextLink component also extends native HTML a anchor props and are not listed here.

TextLinkButton

Even though it looks like a text link, this is actually a semantic button.

<Text>
  <TextLinkButton>Visually a link, with button semantics</TextLinkButton>
</Text>

Props

The TextLinkButton component also extends native HTML span props and are not listed here.

FAQs

Package last updated on 15 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts