Call to action

v3.0.0

Call to action links are visually distinct instructions to users designed to provoke an immediate response using verbs such as 'call now' or 'find out more'.

Released

History
View changes
Install
npm i @gold.au/cta-link
Tags
Requires
Contributors
  • Patrick De Young avatar picture
  • Julian Fleetwood avatar picture
  • Simon Pascal Klein avatar picture
  • Trevor Brennan avatar picture
  • Dominik Wilkowski avatar picture
  • Gary Broadbent avatar picture
  • Alex Page avatar picture

React Usage

import AUctaLink from '@gold.au/cta-link';

<AUctaLink link="/signup" text="Sign up" />

Props

Prop name Type Description
text string Provide the aria label
link string The link to the location of the cta-link
linkComponent string The component used for the link, optional
dark boolean A dark variation of the component

All other props are spread into the component

Exports

Name Type Description
AUctaLink default The cta-link component

node_modules import

import AUctaLink from '@gold.au/cta-link';

pancake import

import AUctaLink from './cta-link';