Call to action
v3.0.0Call 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
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';





