A pantry-aware shopping receipt that removes what you already own
Show exactly what tonight's dinner still needs: four ingredients, a pantry deduction and the remaining shopping total. A paper receipt with an h-1 total rule makes the list easy to check before leaving home.
WDiv(
className: '''
flex flex-col items-center gap-4 w-full py-10
bg-neutral-800 dark:bg-neutral-900
''',
children: [
WDiv(
className: '''
flex flex-col gap-3
w-80 p-6 rounded-none
bg-neutral-100 dark:bg-neutral-100
''',
children: [
WText('TONIGHT’S SHOPPING', className: '''
text-sm font-bold tracking-widest
text-neutral-900 dark:text-neutral-900
'''),
WText('Tue 1 Dec 2026 • Dinner for two', className: 'text-xs text-neutral-600 dark:text-neutral-600'),
WText('Tomato & chickpea pasta', className: 'text-sm text-neutral-900 dark:text-neutral-900'),
WDiv(className: 'h-0.5 bg-neutral-300 dark:bg-neutral-300'),
WDiv(className: 'flex flex-row', children: [
WText('Chickpeas · 1 tin', className: '''
flex-1 text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
WText('\$2.40', className: '''
text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'flex flex-row', children: [
WText('Pasta · 250 g', className: '''
flex-1 text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
WText('\$1.80', className: '''
text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'flex flex-row', children: [
WText('Tomatoes · 400 g', className: '''
flex-1 text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
WText('\$2.60', className: '''
text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'flex flex-row', children: [
WText('Spinach · 100 g', className: '''
flex-1 text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
WText('\$2.20', className: '''
text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'h-0.5 bg-neutral-300 dark:bg-neutral-300'),
WDiv(className: 'flex flex-row', children: [
WText('Recipe basket', className: 'flex-1 text-sm text-neutral-600 dark:text-neutral-600'),
WText('\$9.00', className: 'text-sm text-neutral-600 dark:text-neutral-600'),
]),
WDiv(className: 'flex flex-row', children: [
WText('Already in pantry', className: '''
flex-1 text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
WText('-\$4.20', className: '''
text-sm font-medium
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'h-1 bg-neutral-900 dark:bg-neutral-900'),
WDiv(className: 'flex flex-row items-center', children: [
WText('TOTAL TO BUY', className: '''
flex-1 text-xs font-bold tracking-wide
text-neutral-900 dark:text-neutral-900
'''),
WText('\$4.80', className: '''
text-3xl font-bold
text-neutral-900 dark:text-neutral-900
'''),
]),
WDiv(className: 'h-0.5 bg-neutral-300 dark:bg-neutral-300'),
WText('Pasta and chickpeas are at home. Buy only tomatoes and spinach.', className: 'text-xs text-neutral-600 dark:text-neutral-600'),
WText('Estimated prices • Oil & salt on hand', className: 'text-xs text-neutral-600 dark:text-neutral-600'),
],
),
WButton(
onTap: () {},
className: '''
w-80 py-3 border
border-neutral-400 dark:border-neutral-400
hover:bg-neutral-700 dark:hover:bg-neutral-800
focus:ring-2 focus:ring-neutral-400 dark:focus:ring-neutral-400
disabled:opacity-50
''',
child: WText('Open the 2-item shopping list', className: '''
text-center text-sm font-medium
text-neutral-100 dark:text-neutral-100
'''),
),
],
)
More like this
-
An evening sleep plan that puts the next habit on the timeline
Turn a bedtime goal into an evening sequence, from the last coffee to a fixed wake time. A tinted rail and
rounded-lgnext-step panel keep the routine clear without another sleep score. -
A used-phone report that puts battery health beside the checks that matter
Give secondhand buyers a clear condition snapshot before they commit. Unequal diagnostic tiles put battery capacity, hardware results and activation status together, with a single
bg-lime-400tile highlighting the battery. -
A surplus bakery offer that puts the pickup window beside the price
Make an end-of-day bakery bag easy to act on: one price, a clear collection window and a reservation button. The full-colour poster uses
text-6xllines to keep the offer readable at a glance.