Components

BasePaymentMethod

A small badge for a payment method or card brand.

components/ui/BasePaymentMethod.vue
View in the demo

Example

VISAMCPP

Card brands show as short text (visa VISA, mastercard MC, amex AMEX), paypal as PP, and transfer and cash as icons; any other name shows its first letters. label is the tooltip and the accessible name, so make it say the whole thing ("Visa ending in 4242"). Orders use it through OrderPaymentMethod.

API

Props

Name
Type
Default
Description
brand
required
string—The method or card brand: visa, mastercard, amex, paypal, transfer, cash or any other name (shown as its first letters).
label
required
string—The tooltip and accessible name, such as "Visa ending in 4242".
© 2026 melsami UI.
Developer documentation for melsami UI.