A payee warning that makes pausing a payment the easy choice
Give people a useful exit when a recipient name does not match. A lime warning poster puts the mismatch in large type and offers one clear save-for-later action, built with a keyboard-accessible WButton.
WDiv(
className: '''
flex flex-col gap-6 w-full p-6
bg-lime-300 dark:bg-lime-400
''',
children: [
WDiv(
className: 'flex flex-row items-center gap-2',
children: [
WIcon(Icons.shield, className: '''
size-6
text-black dark:text-black
'''),
WText('Recipient check', className: '''
text-lg font-bold
text-black dark:text-black
'''),
],
),
WDiv(
className: 'flex flex-col',
children: [
WText('That', className: '''
text-6xl font-black tracking-tight
text-black dark:text-black
'''),
WText('name', className: '''
text-6xl font-black tracking-tight
text-black dark:text-black
'''),
WText('doesn\'t', className: '''
text-6xl font-black tracking-tight
text-black dark:text-black
'''),
WText('match.', className: '''
text-6xl font-black tracking-tight
text-black dark:text-black
'''),
],
),
WText('£840 to Ellis Reed.\nConfirm their details before paying.', className: '''
text-lg font-semibold
text-black dark:text-black
'''),
WDiv(className: 'h-8'),
WButton(
onTap: () {},
className: '''
w-full py-4 rounded-full
flex items-center justify-center
bg-black dark:bg-black
hover:bg-gray-800 dark:hover:bg-gray-800
focus:ring-2
focus:ring-black dark:focus:ring-black
disabled:opacity-50
''',
child: WText('Save payment for later', className: '''
text-center text-lg font-bold
text-lime-300 dark:text-lime-400
'''),
),
],
)
More like this
-
A payment comparison that puts the full cost before the first installment
Help shoppers compare a smaller first payment with the actual total. Two equal
WCardpanels show an upfront price, four installments and the exact financing cost before checkout. -
A baggage tracker that shows the last scan and the right carousel
Reassure arriving travelers with a scan-by-scan baggage route, a highlighted unloading stage and an assigned collection belt. A
w-0.5rail connects completed scans while the hollow final stop makes the next step clear. -
A hotel room pass that puts the door and checkout time in reach
Give checked-in guests a room pass they can read at a glance: floor, tap-to-open access and the exact key expiry. A paper stub with
overflow-hiddenkeeps the perforation and oversized room number unmistakable.