SuperdindaDocs
Consent & billing

PaymentMethodCard

The current payment method in Plano e cobrança (Figma "Payment Method Card" 2060:10084): card or Pix Automático, what it is, when it charges, and "Trocar".

Attention (expired card, Pix waiting at the bank) is the yellow chip with icon + word, never red. The action wraps under the text when the card is narrow. Name the group with aria-label="Forma de pagamento".

<PaymentMethodCard aria-label="Forma de pagamento" method="card" title="Cartão Visa final 4242" meta="Vence em 08/2027." action={<Button variant="outline" size="44" aria-label="Trocar forma de pagamento">Trocar</Button>} />

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Payment Method Card

string

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Method · Card

DefaultAttention

Cartão Visa final 4242

Vence em 08/2027. No nome de Mariana Alves.

Cartão Visa final 4242

Venceu

Venceu em 10/2026. Troque o cartão ou mude pra Pix Automático.

Method · Pix Automático

DefaultAttention

Pix Automático · Banco Inter

Autorizado em 12/11. Todo dia 25, o valor da fatura do mês.

Pix Automático · Banco Inter

Aguardando o banco

Confirme no app do seu banco. Até lá, a cobrança continua no cartão final 4242.

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

PropTipoPadrãoDescrição
PaymentMethod"card"
PaymentMethodState"default"
string—What it is ("Cartão Visa final 4242", "Pix Automático · Banco Inter").
string—When it charges or what to do.
string—Attention chip words ("Venceu", "Aguardando o banco"); State=Attention.
ReactNode—The "Trocar" Outline 44 Button, aria-label "Trocar forma de pagamento".
string—

On this page