Netlify’s credit card modal is a lovely example of a delightful interaction pattern for entering credit card details. As you enter your card details on the left side, the credit card updates with those details on the right side.
Slide 3
Netlify is the tool we used to build bbuis.org. It manages continuous deployment to our server.
Slide 4
Clicking ‘Change payment method’ (1) launches a modal dialog, which greys out the screen and focuses on credit card details.
Slide 5
A grey overlay fades in. 2. The modal dialog animates in from top to bottom.
Slide 6
Enter your credit card details on the left; and 2. They appear on the ‘credit card’ on the right.
Slide 7
This pattern continues – enter on left (1), animate on right (2) – as you enter the rest of the details.
Slide 8
When entering the CVV number (1), the ‘credit card’ spins to reveal the back of the card (2). This is a delightful interaction.
Slide 9
Entering a card beginning with 4 (indicating a Visa card) changes the card branding to Visa.
Slide 10
Entering a card beginning with 5 (indicating a MasterCard) changes the card branding to MasterCard.
Slide 11
If you found this deck useful, follow me on Twitter: @fehler. I’m in the process of breaking down 15+ years of workshop content into small, easily consumable components. I’ll be tweeting as I’ve finished and shared these components. Cheers!