---
title: TermsAndConditions
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import { TermsAndConditions } from '@telus-uds/components-web'
import { TermsAndConditions as WebDocs } from 'docs/@telus-uds/components-web'
import AvailableOnWebOnly from '../../partials/_platform-considerations-web-only.mdx'
import NoStylisticVariants from '../../partials/_variants-none.mdx'

# TermsAndConditions

<LibraryInfo
  packageType="Web Component"
  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%3D7549%253A149462"
/>

```jsx live
<TermsAndConditions
  indexedContent={[
    'A $35 connection fee applies per line. Fee includes a SIM card and access to a TELUS team member to process your activation or renewal along with other exclusive TELUS services. You can offset your connection fee by up to $5 by signing up for pre-authorized payments. Not stackable with any other pre-authorized payments offers. For more details, please go to telus.com/mobilityfees. A one-time Connection Fee will be charged per subscriber on all activations and renewals. The fee is $35 for smartphones, smartwatches, tablets, Smart Hubs, Drive +, Wireless Home Phone, and Internet keys. The fee will be automatically billed and will appear on the first or next invoice. A $35 credit will appear for all Fleet, Business Connect and HSIA wireless back up activations and renewals on the first bill.',
    'Only available on a TELUS Easy Share Platinum plan starting at $110/mo. Offer applies to new TELUS Business customer activations. Not available for Consumer accounts. Ask a TELUS representative for other eligibility requirements. Offer available for a limited time and is subject to change without notice.',
    'Subject to approved credit. Not available to customers on the credit limit program. Returned device must be in good working condition or you will be responsible for the difference between the Bring-it-Back program amount and the lower trade-in value for a device that is not in good working condition Trade-in standards published at the time a device is returned will appy. Applicable sales taxes are calculated at time of purchase on the full purchase price. You will not be charged tax on the Bring-It-Back Program Amount if you chose to keep your device and pay back the Bring-It-Back Program Amount at, or before, the end of the 24 month term. Bring-It-Back program is only available while you subscribe to mobility service. If mobility service is cancelled before the end of the term, the Bring-It-Back Program Amount will be charged to your TELUS bill.'
  ]}
  nonIndexedContent={[
    'Pricing does not include applicable taxes or pay-per-use charges.',
    'Certain conditions may apply. TELUS reserves ther ight to modify prices and eligible rate plans with this offer at any time without advance notice.'
  ]}
/>
```

## Introduction

Use TermsAndConditions to display important legal content.

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

## Guidance

- Display before the page footer, except for call-to-action callback cards
- Responsive display based on breakpoints
- Use `copy` to set language, `'en'` for English or `'fr'` for French

### Accessibility

TermsAndConditions accepts standard accessibility attributes and applies them to the outer container. Moreover, the component itself
is composed of accessible components, which provides accessible experience overall.

### Custom `dictionary` values

`TermsAndConditions` has a default dictionary with the following schema and values:

```json
{
  "en": {
    "headingHide": "Hide terms and conditions",
    "headingView": "View terms and conditions",
    "nonIndexedTitle": "The following applies to all terms and conditions above"
  },
  "fr": {
    "headingHide": "Masquer les modalités et conditions",
    "headingView": "Voir les modalités et conditions",
    "nonIndexedTitle": "Ce qui suit s’applique aux modalités et conditions ci-dessus"
  }
}
```

However, `dictionary` prop can be passed to override the default values.
Note that when you override the default `dictionary` by passing the prop value, it has to be a complete object fulfilling the schema defined above, both for `en` and `fr`.

```jsx live
<TermsAndConditions
  copy="en"
  dictionary={{
    en: {
      headingHide: 'Custom text to show terms and conditions',
      headingView: 'Custom text to hide terms and conditions',
      nonIndexedTitle: 'All terms and conditions title'
    },
    fr: {
      headingHide: 'Texte personnalisé pour afficher les termes et conditions',
      headingView: 'Texte personnalisé pour masquer les termes et conditions',
      nonIndexedTitle: 'Titre de tous les termes et conditions'
    }
  }}
/>
```

### Platform considerations

<AvailableOnWebOnly />

## Props

<PropsTable web={WebDocs} />

## Tokens

<TokensTable web={WebDocs} component="TermsAndConditions" />

## Variants

<NoStylisticVariants />

## Feedback

<Feedback component="TermsAndConditions" />
