Socket
Socket
Sign inDemoInstall

@finastra/account-card

Package Overview
Dependencies
9
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @finastra/account-card

AccountCard Web Component


Version published
Weekly downloads
3
increased by200%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Account Card

Account Card is a use case of card using the Accounts and Balances APIs.

This component is based on base-card. See fds-card documentation for more details.

See it on NPM! How big is this package in your project? Storybook

Usage

Import

npm i @finastra/account-card
import '@finastra/account-card';
...
<fds-account-card name="France" balance="50000" currency="EUR" number="DE89 3704 0044 0532 0130 00"></fds-account-card>

API

Properties
PropertyAttributeTypeDefaultDescription
balancebalancenumber0Account balance.
currencycurrencystring"USD"Account currency ISO format.
disableddisabledbooleanfalseDisabled style of the card.
iconiconstring"credit_card"Change card icon.
iconAriaLabeliconAriaLabelboolean"Credit Card"Change the card icon aria label.
namenamestring"Account"Account Name.
numbernumberstring"XXXX XXXX XXXX XXXX XXXX XX"Account number.
outlinedoutlinedbooleanfalseChange the card style to outlined, default style is elevated.
selectableselectablebooleanfalseChange the card style to an action card.
Methods
MethodType
renderBalance(): string
renderCardContent(): TemplateResult<1>

Keywords

FAQs

Last updated on 27 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc