npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-bank-ui

v1.0.1

Published

Vue.js component library for displaying Vietnamese bank logos

Readme

Vue Bank UI

Vue.js component library cho hiển thị logo các ngân hàng Việt Nam.

🚀 Installation

npm install vue-bank-ui
# hoặc
pnpm add vue-bank-ui
# hoặc
yarn add vue-bank-ui

📖 Usage

Import CSS (Required)

import 'vue-bank-ui/dist/vue-bank-ui.css'

Basic Usage

<template>
  <div>
    <!-- Sử dụng cơ bản -->
    <BankLogo bank-code="VCB" />
    <BankLogo bank-code="TCB" />
    <BankLogo bank-code="BIDV" />
  </div>
</template>

<script setup>
import { BankLogo } from 'vue-bank-ui'
</script>

Advanced Usage

<template>
  <div>
    <!-- Các kích thước khác nhau -->
    <BankLogo bank-code="VCB" size="xs" />
    <BankLogo bank-code="VCB" size="sm" />
    <BankLogo bank-code="VCB" size="md" />
    <!-- default -->
    <BankLogo bank-code="VCB" size="lg" />
    <BankLogo bank-code="VCB" size="xl" />

    <!-- Kích thước tùy chỉnh -->
    <BankLogo bank-code="TCB" :width="60" :height="60" />
    <BankLogo bank-code="TCB" width="80px" height="80px" />

    <!-- Bo góc -->
    <BankLogo bank-code="BIDV" size="lg" rounded />

    <!-- Xử lý sự kiện -->
    <BankLogo bank-code="ACB" @load="onLogoLoad" @error="onLogoError" />
  </div>
</template>

<script setup>
import { BankLogo } from 'vue-bank-ui'

const onLogoLoad = (event) => {
  console.log('Logo loaded successfully')
}

const onLogoError = (event) => {
  console.log('Failed to load logo')
}
</script>

🏦 Supported Banks

Thư viện hỗ trợ 60+ ngân hàng Việt Nam:

| Bank Code | Bank Name | Bank Code | Bank Name | | --------- | ----------------- | --------- | ----------- | | VCB | Vietcombank | TCB | Techcombank | | BIDV | BIDV | CTG | VietinBank | | ACB | Á Châu Bank | VPB | VPBank | | MSB | MSB | SCB | SCB | | TPB | TPBank | HDB | HDBank | | VIB | VIB | OCB | OCB | | SHB | SHB | SEAB | SeABank | | LPB | LienViet PostBank | EXB | Eximbank |

[... và nhiều ngân hàng khác]

📋 API Reference

Props

| Prop | Type | Default | Description | | -------------- | -------------------------------------- | ------------ | ----------------------------------------- | | bankCode | string | required | Mã ngân hàng (VD: 'VCB', 'TCB', 'BIDV') | | size | 'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' | 'md' | Kích thước logo | | width | string \| number | - | Chiều rộng tùy chỉnh | | height | string \| number | - | Chiều cao tùy chỉnh | | rounded | boolean | false | Bo góc logo | | alt | string | - | Alt text tùy chỉnh cho accessibility | | showFallback | boolean | true | Hiển thị fallback khi không tải được logo |

Events

| Event | Payload | Description | | ------- | ------- | --------------------------------- | | load | Event | Được emit khi logo tải thành công | | error | Event | Được emit khi logo tải thất bại |

Sizes

  • xs: 24x24px
  • sm: 32x32px
  • md: 48x48px (default)
  • lg: 64x64px
  • xl: 96x96px

🛠️ Development

# Clone repository
git clone <repository-url>
cd vue-bank-ui

# Install dependencies
pnpm install

# Start development server
pnpm run dev

# Build library
pnpm run build-lib

# Run tests
pnpm run test:unit

📄 License

MIT

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.