You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@finastra/account-card

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finastra/account-card

AccountCard Web Component

1.8.1
latest
npmnpm
Version published
Maintainers
3
Created
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

Finastra Design System

FAQs

Package last updated on 27 Jul 2023

Did you know?

Socket

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