Skip to content

Nonprofit Charity Homepage Template

Warm Bootstrap 6 charity homepage with arch photo hero, impact stats, filterable causes with progress bars, an impact slider, a donation form, story carousel, FAQ and footer.

Live preview

Open in new tab

Code

A warm, light nonprofit homepage built with Bootstrap 6 for a fictional charity called Brightroot Foundation, with causes, impact numbers, a donation form, donor stories and an FAQ.

How it works

The page lives in .br-page, which carries data-bs-theme="light" and maps the Bootstrap 6 primary role (--bs-primary-bg, --bs-control-checked-bg, --bs-focus-ring) to forest green. Fonts: Fraunces and Figtree.

  • Top bar and navbar: a trust message in .br-topbar, then navbar lg:navbar-expand with a <dialog class="drawer drawer-start">. "Our work" opens a .menu; the script syncs aria-expanded and closes the drawer after a link.
  • Hero: a centered serif headline above three arch-shaped photos (.br-arch) with floating stat badges (.br-float).
  • Impact band: four key numbers in .br-stats.
  • Causes: chip buttons with data-br-filter hide or show the columns marked data-br-group. Each card has a progress bar and a data-br-give button that preselects the cause in the donation form.
  • Donate: a Bootstrap 6 Range slider (.form-range with data-bs-bubble) drives the impact text from BR_IMPACT in script.js. The form uses btn-check radio labels for frequency and amount, a form-adorn custom amount field, a .check for the card fee and data-bs-validate for CSS-only validation. The submit label updates live ("Give $51.75 monthly"). A simulated request then shows the [data-br-thanks] alert. "See exactly where the money goes" opens the #br-funds dialog with a progress-stacked breakdown.
  • Stories, FAQ and CTA: a scroll-snap carousel of donor quotes, an exclusive <details name="br-faq"> accordion and a volunteer email form with simulated sign-up.

Customization

  • Change --br-forest, --br-gold and --br-clay in .br-page (style.css) to rebrand; keep the --bs-primary-* overrides beside them in step.
  • Edit the BR_IMPACT tiers in script.js to describe what each amount funds in your programs.
  • Set BR_FEE_RATE in script.js to your payment provider's fee percentage.
  • Add a cause by copying a column with data-br-group, adding a matching <option> to #br-cause and a data-br-give value.
  • Change the raised percentage of a cause by editing its aria-valuenow and width class (.br-w72 and friends).
  • Replace the setTimeout in the submit handler with your payment provider or a fetch() call to your donation endpoint.
  • The photos come from Unsplash; replace them with photos of your own programs and people.

Accessibility

A skip link jumps to #br-main. Filter chips use aria-pressed, amounts and frequency sit in a labelled group and fieldset, the impact text and filter count are polite live regions, and the thank-you alert receives focus after submit. Focus outlines are visible, and hover lifts and smooth scrolling stop under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). Coming from Bootstrap 5: Offcanvas is now a Drawer <dialog>, Modal is a Dialog <dialog class="dialog">, Dropdown is Menu, the accordion uses native <details>, form-check became .check inside .form-field, form-select is gone (a <select class="form-control"> is used) and the range slider is the new Range component with a value bubble.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/css/bootstrap.min.css">
  • <script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Figtree:wght@400;500;600;700&display=swap">

Built for Bootstrap 6.0.0-alpha.1. Bootstrap 6 ships as an ES module, so its script and this component's JavaScript load with type="module". Alpha releases can still change before the stable version.

Nonprofit Charity Homepage Template – Bootstrap 6 home pages component screenshot
Nonprofit Charity Homepage Template · Bootstrap 6 Home Pages

More Home Pages

Fitness Gym Homepage Template – Bootstrap 6 home pages preview

Fitness Gym Homepage Template

Dark Bootstrap 6 gym homepage with drawer navbar, photo hero, programs, a weekly class timetable, membership plans with a range-based recommender, coaches and a free-pass form.

Bakery Homepage Template – Bootstrap 6 home pages preview

Bakery Homepage Template

Warm Bootstrap 6 bakery homepage template with an arched photo hero, tabbed product menu with tray, story stepper, cake order form with datepicker, reviews and a Bread Club dialog.

Barbershop Homepage Template – Bootstrap 6 home pages preview

Barbershop Homepage Template

Dark Bootstrap 6 barbershop homepage with a drawer navbar, price-list tabs, barber cards, a booking form with Combobox and Datepicker, reviews, live opening hours and a footer.

Beauty Salon Homepage Template – Bootstrap 6 home pages preview

Beauty Salon Homepage Template

Dark plum Bootstrap 6 beauty salon homepage with arched photo hero, tabbed price list with a service basket, artists, review carousel, online booking calendar and gift cards.

Pet Care and Vet Homepage Template – Bootstrap 6 home pages preview

Pet Care and Vet Homepage Template

Warm Bootstrap 6 veterinary clinic homepage with live open status, filterable services and prices, first-visit stepper, vet team, pet reviews and an appointment form.

Plumber and Home Services Homepage Template – Bootstrap 6 home pages preview

Plumber and Home Services Homepage Template

Bold navy and orange Bootstrap 6 plumber homepage with a 24/7 emergency bar, call-back form, service area map with ZIP checker, flat-rate price table, review carousel and FAQ.