TextLink

TextLink allow users to navigate to a different location. They can be presented inline inside a paragraph or as standalone text.

Quick Start

Installation
npm install @adaptavant/eds-core
Import
import { TextLink } from '@adaptavant/eds-core';

Variant

To adjust the appearance of TextLink, use the variant prop. "accentPrimary" is the default.

The variant prop applies color, text-transform, and focus styles. All other typographic styles are inherited from the surrounding Text component.

{/* accentPrimary */}
<Text className="text-body-16">
  <TextLink variant="accentPrimary" href="#">Label</TextLink>
</Text>

{/* neutralPrimary */}
<Text className="text-body-16">
  <TextLink variant="neutralPrimary" href="#">Label</TextLink>
</Text>

{/* neutralSecondary */}
<Text className="text-body-16">
  <TextLink variant="neutralSecondary" href="#">Label</TextLink>
</Text>

{/* regular */}
<Text className="text-body-16">
  <TextLink variant="regular" href="#">Label</TextLink>
</Text>

Style API

Our design system components include style props that allow you to easily customize different parts of each component to match your design needs.

Please refer to the Style API documentation for more insights.