---
title: ActionCard
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, FigmaEmbed, PropsTable, TokensTable } from '../../src/components'
import { ActionCard } from '@telus-uds/components-base'
import { ActionCard as ActionCardDocs } from 'docs/@telus-uds/components-base'
import AvailableOnBoth from '../../partials/_platform-considerations-both.mdx'

# ActionCard

<LibraryInfo platform="multi-platform" packageName="components-base" figmaLink="" />

```jsx live
<div style={{ maxWidth: '20rem', margin: '0 auto' }}>
  <ActionCard icon={Icons.Add} title="Account details" href="https://www.telus.com">
    See your account balance, usage and more.
  </ActionCard>
</div>
```

## Introduction

Visually emphasize an action and navigate to other pages.

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

## Guidance

Select a single action by clicking on the whole Card.

```jsx live
<div style={{ maxWidth: '25rem', margin: '0 auto' }}>
  <ActionCard icon={Icons.Add} title="Pre-authorized payments" href="payments">
    <>
      <Paragraph>Pre-authorized payments overall description.</Paragraph>
      <StackView divider direction="row" space={2}>
        <Typography>Text: On</Typography>
        <Typography>Email: Off</Typography>
      </StackView>
      <Spacer />
      <Typography>
        <Icon icon={Icons.MasterCard} variant={{ size: 'micro' }} /> **** Expiry: 07/25
      </Typography>
      <Spacer />
      <Typography>
        <Icon icon={Icons.Amex} variant={{ size: 'micro' }} /> National bank **** 9887
      </Typography>
    </>
  </ActionCard>
</div>
```

### Platform considerations

<AvailableOnBoth />

## Props

<PropsTable base={ActionCardDocs} />

## Tokens

<TokensTable base={ActionCardDocs} component="ActionCard" />

## Variants

### Warning

Use the warning variant to provide feedback of a warning; users would still be able to proceed forward.
The message will include an icon to indicate meaning and importance.

```jsx live
<div style={{ maxWidth: '20rem', margin: '0 auto' }}>
  <ActionCard
    icon={Icons.Add}
    title="Change plan"
    href="change-plan"
    variant={{ validation: 'warning' }}
  >
    You may incur additional charges.
  </ActionCard>
</div>
```

### Error

Use the warning variant to provide feedback of a danger; users would still be able to proceed forward.
The message will include an icon to indicate a dangerus operation.

```jsx live
<div style={{ maxWidth: '20rem', margin: '0 auto' }}>
  <ActionCard
    icon={Icons.Add}
    title="Delete account"
    href="delete-account"
    variant={{ validation: 'error' }}
  >
    Proceed with caution. This action cannot be undone.
  </ActionCard>
</div>
```

## Feedback

<Feedback component="ActionCard" />
