---
title: ChevronLink
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import { ChevronLink } from '@telus-uds/components-web'
import { ChevronLink as BaseDocs } from 'docs/@telus-uds/components-base'
import AvailableOnBoth from '../../partials/_platform-considerations-both.mdx'

# ChevronLink

<LibraryInfo figmaLink="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2F4zJn2Qn6uXOqPP1GVDipy6%2F%25F0%259F%258D%2580-Allium-Components%3Fnode-id%3D405%253A56" />

```jsx live
<ChevronLink href="https://www.telus.com">Go to telus.com</ChevronLink>
```

## Introduction

A ChevronLink is a navigational link to be used for a single, standalone call to action.

[Follow the appropriate instructions](importing-components) to add this component in to your app.

## Guidance

Uses of ChevronLink should be limited to:

1.  An action that is performed by navigating to another page or screen

```jsx live
<StackView space={3}>
  <Typography>Thank you for updating your profile.</Typography>
  <ChevronLink href="https://telus.com">Browse deals just for you</ChevronLink>
</StackView>
```

2.  A step in a multi-step process performed by navigating to another page or screen

```jsx live
<ChevronLink href="https://telus.com">Choose your pricing plan</ChevronLink>
```

3.  With the direction reversed, a "back" step in a multi-step multi-page process

```jsx live
<ChevronLink direction="left" href="https://telus.com">
  Back to your pricing plan
</ChevronLink>
```

### Alternatives

**Do not** use ChevronLink for:

- Actions that occur immediately on press: consider [Button](button)
- Choices presented as calls to action: consider [ButtonLink](button-link)
- Actions that occur within the current page or screen: consider [TextButton](text-button)
- General links that don't represent the logical next action: consider [Link](link)

### Accessibility

Insert [A11yText](a11y-text) any time an interactive element's label lacks context
that a sighted user would see in the content around it. Many users of assistive technology explore a page
by cycling through the interactive elements first.

```jsx live
<StackView space={3}>
  <Typography>
    Congratulations! Your account now qualifies for our exclusive Premium Plan.
  </Typography>
  <ChevronLink href="https://telus.com">
    Sign up <A11yText text="to Premium Plan" />
    now
  </ChevronLink>
</StackView>
```

ChevronLink is by default treated as a navigational `link` by accessibility tools. This may be
overridden using `accessiblityRole` prop; however, in cases where this is appropriate, consider
whether ChevronLink is the most appropriate component to use. For example, for step transitions
within an app screen, the `button` role will be more appropriate, but therefore,
[TextButton](text-button) may be a more appropriate choice of component.

ChevronLink accepts
React Native's accessibility props ([web docs](https://necolas.github.io/react-native-web/docs/accessibility/),
[native docs](https://reactnative.dev/docs/accessibility)).

### Platform considerations

<AvailableOnBoth />

On web, ChevronLink will render as an `<a>` anchor link if a `href` is provided, allowing for
common link actions such as open in new tab.

In native apps, ensure ChevronLink's `onPress` action utilizes the app navigation history and
does not clash with or contradict the behaviour of the device back button or back swipe action, or of
any on-screen back button (for example, often shown in the top left corner of a stack screen's header).

## Props

<PropsTable base={BaseDocs} />

## Tokens

<TokensTable base={BaseDocs} component="ChevronLink" />

## Variants

ChevronLink's variants are the same as for [Link](link).

## Feedback

<Feedback component="ChevronLink" />
