---
title: QuickLinks
---

import LibraryInfo from '@theme/LibraryInfo'
import { QuickLinks } from '@telus-uds/components-web'
import { QuickLinks as BaseDocs } from 'docs/@telus-uds/components-base'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import NoStylisticVariants from '../../partials/_variants-none.mdx'

# QuickLinks

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

```jsx live
<QuickLinks>
  <QuickLinks.Item href="http://telus.com" icon={Icons.Add}>
    Link to homepage
  </QuickLinks.Item>
  <QuickLinks.Item onPress={console.log} icon={Icons.ArrowLeft}>
    Log a press event
  </QuickLinks.Item>
  <QuickLinks.Item href="https://telus.com/universal-design-system/" icon={Icons.ArrowRight}>
    Go to docs site
  </QuickLinks.Item>
  <QuickLinks.Item onPress={console.log} icon={Icons.Download}>
    Do a storybook action
  </QuickLinks.Item>
  <QuickLinks.Item onPress={console.log} icon={Icons.Check}>
    Do a storybook action
  </QuickLinks.Item>
</QuickLinks>
```

## Introduction

- Visually emphasizes a distinct group of links and navigate to other pages
- May be used in different areas of the content
- Responsive component that changes based on viewport
- Render as a list of links
- `XS` and `SM` viewports
  - Group expands 100% width
  - Item expands 100% width
  - Visually contained
- `MD`, `LG`, and `XL` viewports
  - Group expands 100% of content container width
  - Item has min-width of 144px, expands based on content similar to Button component
  - Item appears on the next row when it exceeds group width

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

## Guidance

- If theme token `list` is true, it will render an ordered list based on List;
- If theme token `button` is true, and `list` as false, it renders a wrapping horizontal bar of buttons;
- If the theme returns `card` token as true, it wraps the above with a `Card`.

- Keep the text short and precise. It should fit on a single line (our recommendation is 2-24 characters for French and English)
- Use alternative components that best apply to your need and purpose:
  - Use [NavigationBar](navigation-bar) to provide an additional way navigate to other pages within a specific category or product line; typically appears at the top of the page before all the content
  - Use `ButtonGroup` to select/filter options
  - Use `Tabs` to show/hide a selection of content

### Accessibility

- Announce group of links
- Follow the natural tab order

## Props

### QuickLinks

<PropsTable base={BaseDocs} />

### QuickLinks.Item

<PropsTable base={BaseDocs.Item} />

## Variants

<NoStylisticVariants />

## Tokens

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

## Feedback

<Feedback component="QuickLinks" />
