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
Name | Type | Default | Description |
---|---|---|---|
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'. |
indexedContent | Array<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. |
nonIndexedContent | Array<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
- Spotted a problem with this component? Raise an issue on GitHub
- See any existing issues for this component
- Contact the team on slack in #ds-allium-support