Donation widgets · Design 01
Toggle Amount Card
A centred card with a photo header and a one-time/monthly switch; the amount buttons change with it (£25 to £250 once, £10 to £100 monthly) using only CSS.
Support Where It’s Needed Most
Help us respond where the need is greatest
A flexible gift lets us act quickly, from free community workshops to practical help for families.
<section aria-labelledby="donate-01-title" class="bg-smoke py-16 sm:py-20 lg:py-24">
<div class="mx-auto w-full max-w-content px-5 sm:px-8">
<div class="mx-auto max-w-xl">
<div class="text-center">
<p class="t-label text-water">Support Where It’s Needed Most</p>
<h2 id="donate-01-title" class="t-h2 mt-3">Help us respond where the need is greatest</h2>
<p class="t-lead mt-4 text-slate">A flexible gift lets us act quickly, from free community workshops to practical help for families.</p>
</div>
<form action="donate.html" method="get" aria-labelledby="donate-01-title" class="group/f card mt-10 overflow-hidden">
<div class="relative aspect-[21/9] bg-mist"><img src="images/mhow/donate-children-1080.webp" srcset="images/mhow/donate-children-640.webp 640w, images/mhow/donate-children-1080.webp 1080w, images/mhow/donate-children-1280.webp 1280w" sizes="(min-width: 640px) 36rem, 100vw" alt="Hands holding a globe surrounded by paper cut-out people" loading="lazy" decoding="async" class="absolute inset-0 h-full w-full object-cover" style="object-position:50% 45%"></div>
<div class="p-6 sm:p-8">
<input type="hidden" name="fund" value="most-needed">
<input type="hidden" name="currency" value="GBP">
<fieldset class="min-w-0">
<legend class="t-label text-ink">How often would you like to give?</legend>
<div class="mt-3 grid grid-cols-2 gap-1.5 rounded-md bg-smoke p-1.5">
<label class="cursor-pointer"><input id="donate-01-once" class="peer sr-only" type="radio" name="frequency" value="one-time" checked><span class="flex h-11 items-center justify-center rounded-sm font-display text-[15px] font-semibold text-ink transition-colors hover:bg-white peer-checked:bg-ink peer-checked:text-white peer-checked:hover:bg-ink peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">One-time</span></label>
<label class="cursor-pointer"><input id="donate-01-monthly" class="peer sr-only" type="radio" name="frequency" value="monthly"><span class="flex h-11 items-center justify-center rounded-sm font-display text-[15px] font-semibold text-ink transition-colors hover:bg-white peer-checked:bg-ink peer-checked:text-white peer-checked:hover:bg-ink peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">Monthly</span></label>
</div>
</fieldset>
<fieldset class="mt-7 min-w-0">
<legend class="t-label text-ink">Choose an amount</legend>
<div class="mt-3 grid grid-cols-2 gap-3 sm:grid-cols-4">
<label class="hidden cursor-pointer group-has-[#donate-01-monthly:checked]/f:block"><input class="peer sr-only" type="radio" name="amount" value="10"><span class="flex h-14 items-center justify-center rounded-md border border-line-strong bg-white font-display text-lg font-semibold tabular-nums text-ink transition-colors hover:border-ink peer-checked:border-ink peer-checked:bg-ink peer-checked:text-white peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">£10</span></label>
<label class="cursor-pointer"><input class="peer sr-only" type="radio" name="amount" value="25"><span class="flex h-14 items-center justify-center rounded-md border border-line-strong bg-white font-display text-lg font-semibold tabular-nums text-ink transition-colors hover:border-ink peer-checked:border-ink peer-checked:bg-ink peer-checked:text-white peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">£25</span></label>
<label class="cursor-pointer"><input class="peer sr-only" type="radio" name="amount" value="50" checked><span class="flex h-14 items-center justify-center rounded-md border border-line-strong bg-white font-display text-lg font-semibold tabular-nums text-ink transition-colors hover:border-ink peer-checked:border-ink peer-checked:bg-ink peer-checked:text-white peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">£50</span></label>
<label class="cursor-pointer"><input class="peer sr-only" type="radio" name="amount" value="100"><span class="flex h-14 items-center justify-center rounded-md border border-line-strong bg-white font-display text-lg font-semibold tabular-nums text-ink transition-colors hover:border-ink peer-checked:border-ink peer-checked:bg-ink peer-checked:text-white peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">£100</span></label>
<label class="cursor-pointer group-has-[#donate-01-monthly:checked]/f:hidden"><input class="peer sr-only" type="radio" name="amount" value="250"><span class="flex h-14 items-center justify-center rounded-md border border-line-strong bg-white font-display text-lg font-semibold tabular-nums text-ink transition-colors hover:border-ink peer-checked:border-ink peer-checked:bg-ink peer-checked:text-white peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-water">£250</span></label>
</div>
<p class="t-caption mt-3 flex flex-wrap items-center justify-between gap-x-4 gap-y-1 text-slate">
<span class="group-has-[#donate-01-monthly:checked]/f:hidden">A single gift, used where it’s needed most.</span>
<span class="hidden group-has-[#donate-01-monthly:checked]/f:inline">Taken each month. Cancel any time.</span>
<a class="link" href="donate.html?fund=most-needed">Other amount</a>
</p>
</fieldset>
<button type="submit" class="inline-flex items-center justify-center gap-2 rounded-sm font-display font-semibold leading-none whitespace-nowrap transition-[background-color,border-color,transform] duration-150 active:translate-y-px bg-marigold text-white hover:bg-marigold-deep mt-7 h-14 w-full px-7 text-[17px]">Donate now</button>
<ul class="mt-6 flex flex-wrap justify-center gap-x-6 gap-y-2 border-t border-line pt-5">
<li class="t-caption flex items-center gap-1.5 text-slate"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-water"><path d="M72,104a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H80A8,8,0,0,1,72,104Zm8,40h96a8,8,0,0,0,0-16H80a8,8,0,0,0,0,16ZM232,56V208a8,8,0,0,1-11.58,7.15L192,200.94l-28.42,14.21a8,8,0,0,1-7.16,0L128,200.94,99.58,215.15a8,8,0,0,1-7.16,0L64,200.94,35.58,215.15A8,8,0,0,1,24,208V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V195.06l20.42-10.22a8,8,0,0,1,7.16,0L96,199.06l28.42-14.22a8,8,0,0,1,7.16,0L160,199.06l28.42-14.22a8,8,0,0,1,7.16,0L216,195.06Z"></path></svg>Gift Aid adds 25p to every £1</li>
<li class="t-caption flex items-center gap-1.5 text-slate"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="text-water"><path d="M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40ZM128,214.8C109.74,204.16,32,155.69,32,102A46.06,46.06,0,0,1,78,56c19.45,0,35.78,10.36,42.6,27a8,8,0,0,0,14.8,0c6.82-16.67,23.15-27,42.6-27a46.06,46.06,0,0,1,46,46C224,155.61,146.24,204.15,128,214.8Z"></path></svg>Monthly gifts can be cancelled any time</li>
</ul>
</div>
</form>
</div>
</div>
</section>




