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.

Also known as: charity website design, donation landing page, non-profit organization homepage, fundraising website layout

Nonprofit Charity Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

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. The footer credit links to WebDevSnippets; you can keep it or remove it.

Use cases

  • Charities and foundations: filterable cause cards with progress bars show where donations are needed
  • Online donation forms: frequency and amount options with a custom field update the give button live
  • Impact storytelling: a slider shows what each donation amount funds in your programs
  • Donor transparency: a funds dialog with a stacked bar and donor story carousel build trust

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.

Nonprofit Charity Homepage Template at a glance

Framework
Bootstrap 6
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 6, Bootstrap Icons, fonts.googleapis.com
Layout
Responsive, works on mobile
Category
Home Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Nonprofit Charity Homepage Template code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Bootstrap 6 and Bootstrap Icons and fonts.googleapis.com from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

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 – free Bootstrap 6 home page template
Nonprofit Charity Homepage Template · free Bootstrap 6 home page template

More Home Pages

Restaurant Homepage Template – free Bootstrap 6 home page template

Restaurant Homepage Template

Dark Bootstrap 6 restaurant homepage with a photo hero, live opening status, tabbed menu highlights, chef story, reviews, a datepicker reservation form and footer.

Music Band Homepage Template – free Bootstrap 6 home page template

Music Band Homepage Template

Dark Bootstrap 6 music band homepage with a photo hero, relative tour dates with a region filter, album tracklists, video dialog, press quotes and a mailing list form.

Event Conference Homepage Template – free Bootstrap 6 home page template

Event Conference Homepage Template

Dark Bootstrap 6 tech conference homepage template with a live countdown hero, speaker dialogs, two-day schedule tabs with track filters, ticket tiers with a team Range slider and FAQ.

Fitness Gym Homepage Template – free Bootstrap 6 home page template

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.

Barbershop Homepage Template – free Bootstrap 6 home page template

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.

Interior Design Homepage Template – free Bootstrap 6 home page template

Interior Design Homepage Template

Warm Bootstrap 6 interior design homepage with arched photo hero, services, tabbed portfolio, before/after range slider, process accordion, reviews and a consultation form with datepicker.