Skip to content

Import#

import VippsWalletButton from '@dnb/eufemia/extensions/vipps-wallet-button'
import '@dnb/eufemia/extensions/vipps-wallet-button/style'

Description#

A branded Vipps wallet call-to-action button extension.

It uses a primary Button under the hood.

Relevant links#

Demos#

Default#

<VippsWalletButton
  onClick={() => {
    console.log('VippsWalletButton clicked')
  }}
/>

With SubmitIndicator#

Example with property pending set to true.

<VippsWalletButton
  pending
  onClick={() => {
    console.log('VippsWalletButton clicked')
  }}
/>
Suggest an edit