Skip to main content

TermsAndConditions

Library
Allium Design Systemweb-only
Repository
github.com/telus/allium-design-system
Package
npmjs.com/package/@telus-uds/ds-allium
Package version
1.14.0
Loading...

Introduction

import { TermsAndConditions } from '@telus-uds/ds-allium'

Use TermsAndConditions to display important legal content.

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.

Platform considerations

This component is currently only supported on web.

Props

NameTypeDefaultDescription
copy'en' | 'fr' | { headingView: string, headingHide: string, nonIndexedTitle: string }'en'Use the 'copy' prop to either select provided English or French copy by passing 'en' or 'fr' respectively. To provide your own, pass a JSON object with the keys 'headingView', 'headingHide', and 'nonIndexedTitle'.
indexedContentArray<node | string>[]An array of nodes, strings, or a combination to be displayed in an ordered list. Each item in the array must have a corresponding superscript in the page.
nonIndexedContentArray<node | string>[]An array of nodes, strings, or a combination to be displayed in an unordered list. nonIndexedContent do not have a corresponding superscript and instead apply to the page as a whole.

Figma

Variants

This component does not have any stylistic variants.

Feedback