An annual billing comparison that puts the yearly saving beside the daily rate
Help subscribers weigh monthly flexibility against annual savings without mental math. Two matched WCard panels pair border-2 emerald highlights with per-day rates and a clear $96 yearly delta.
WDiv(
className: '''
w-full px-4 py-12
bg-slate-900 dark:bg-slate-900
''',
child: WDiv(className: 'flex flex-col gap-4', children: [
WText('Pay monthly or switch to annual?', className: 'text-2xl font-bold text-white dark:text-white'),
WDiv(className: 'flex flex-row gap-3', children: [
WCard(
className: '''
flex-1 h-72 p-4 rounded-lg border
border-slate-700 dark:border-slate-700
bg-slate-800 dark:bg-slate-800
''',
child: WDiv(className: 'flex flex-col gap-3', children: [
WDiv(className: 'flex flex-row items-center h-6', children: [
WText('Monthly', className: 'text-sm font-semibold text-slate-300 dark:text-slate-300'),
]),
WText('\$288', className: 'text-3xl font-bold text-slate-300 dark:text-slate-300'),
WText('Billed \$24 every month', className: 'text-xs text-slate-400 dark:text-slate-400'),
WDiv(className: 'h-0.5 bg-slate-700 dark:bg-slate-700'),
WText('\$0.79 per day', className: 'text-sm text-slate-300 dark:text-slate-300'),
WText('Cancel any month', className: 'text-sm text-slate-300 dark:text-slate-300'),
]),
),
WCard(
className: '''
flex-1 h-72 p-4 rounded-lg border-2
border-emerald-400 dark:border-emerald-400
bg-slate-800 dark:bg-slate-800
''',
child: WDiv(className: 'flex flex-col gap-3', children: [
WDiv(className: 'flex flex-row items-center justify-between h-6', children: [
WText('Annual', className: 'text-sm font-semibold text-white dark:text-white'),
WBadge('Best', className: 'px-2 py-0.5 bg-emerald-400 dark:bg-emerald-400 text-slate-950 dark:text-slate-950'),
]),
WText('\$192', className: 'text-3xl font-bold text-emerald-400 dark:text-emerald-400'),
WText('Billed \$16 per month', className: 'text-xs text-slate-300 dark:text-slate-300'),
WDiv(className: 'h-0.5 bg-slate-700 dark:bg-slate-700'),
WText('\$0.53 per day', className: 'text-sm text-white dark:text-white'),
WText('4 months free', className: 'text-sm text-white dark:text-white'),
]),
),
]),
WText('Annual billing saves \$96 a year and locks your rate.', className: 'text-sm text-slate-300 dark:text-slate-300'),
WButton(
onTap: () {},
className: '''
w-full py-3 rounded-lg
bg-emerald-400 dark:bg-emerald-400
''',
child: WText('Switch to annual for \$192/yr', className: 'text-center font-semibold text-slate-950 dark:text-slate-950'),
),
]),
)
More like this
-
A solar energy bento that puts live roof output beside battery and grid credit
Show solar generation, battery reserve, grid export credit and EV charging status in one dark-neutral bento. One
amber-400tile highlights live roof output whileWButtontabs switch between live flow, tariffs and history. -
A coworking day pass that puts your desk, Wi-Fi and door PIN on one stub
Clear the morning check-in queue with a paper-style pass that shows your reserved pod, hours and access PIN at a glance. Built with an
overflow-hiddenticket container, edge-notched perforation row and a single status stamp. -
Transfer safety controls that make the pause rules clear
Give customers control over risky transfers before money leaves their account. A calm settings sheet uses
WSwitchcontrols for call warnings, new-recipient delays and limit changes, with scheduled bills explicitly excluded.