Skip to content

Photographer Portfolio Homepage Template

Dark Bootstrap 6 photographer portfolio homepage with a photo mosaic hero, tabbed gallery and viewer dialog, package price estimator, reviews and booking form.

Also known as: photography portfolio website, photographer landing page, photo studio homepage, freelance photographer website design

Photographer Portfolio Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A bold, dark portfolio homepage template for a photographer, built with Bootstrap 6. It includes a photo mosaic hero, tabbed portfolio with viewer dialog, live package estimator, reviews and a booking form.

How it works

The page lives in .mv-page, which sets data-bs-theme="dark" and re-maps --bs-primary-bg and --bs-control-checked-bg to amber.

  • Navbar: navbar lg:navbar-expand with numbered links and a <dialog class="drawer drawer-end"> panel on small screens. The script syncs aria-expanded on .mv-toggler.
  • Hero: the [data-mv-month] line is filled with the next two month names, so "taking commissions" never shows a stale date. .mv-mosaic is a grid of three .mv-frame photos with EXIF captions.
  • Work: nav nav-underline tabs (data-bs-toggle="tab") switch three .tab-pane grids. Each .mv-work tile is a button; clicking it opens #mv-viewer (dialog dialog-xl) with data-mv-title and data-mv-meta.
  • Packages: .mv-builder combines .radio package cards (data-mv-price, data-mv-name) with .switch extras. The script sums them into [data-mv-total]. "Request this package" (data-mv-use) selects the same package in the booking Combobox.
  • Booking: <form data-bs-validate novalidate> with a Combobox (data-bs-name="session"), a Datepicker on #mv-date limited to dates from two days ahead up to one year, and a required textarea. Submit flags invalid fields with .is-invalid, then simulates sending and opens #mv-toast.

Customization

  • Change --mv-amber, --mv-bg and --mv-surface in .mv-page (style.css), and the --bs-primary-* overrides beside them, to rebrand.
  • Swap fonts through --mv-display, --mv-sans and --mv-mono plus the Google Fonts URL.
  • Edit prices with data-mv-price on each package radio and extra switch; the total updates automatically.
  • Add a tab by copying a nav-item button and a matching .tab-pane; the .mv-work-grid layout handles three or four tiles.
  • Replace the setTimeout in the booking submit handler with fetch() to your own endpoint.
  • The sample photos come from Unsplash; replace them with your own portfolio images. The footer credit links to WebDevSnippets; you can keep it or remove it.

Use cases

  • Wedding and portrait photographers: a mosaic hero and tabbed portfolio show different types of work
  • Photo viewing: clicking a tile opens a large viewer dialog with title and camera details
  • Package pricing: the builder sums a chosen package and extras into a live estimate
  • Session booking: the form with session combobox and datepicker collects requests from interested clients

Accessibility

A skip link targets #mv-main. Tabs use role="tab", aria-selected and aria-controls; portfolio tiles are buttons with descriptive alt text; the viewer is a native modal dialog with a labelled title. The estimator total is an output with aria-live, form errors appear next to their fields and the first invalid field gets focus. Image zoom and transitions are disabled under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1, so alpha APIs can still change. Bootstrap 5 developers will notice btn-solid theme-primary instead of btn-primary, a Drawer navbar instead of navbar-collapse, Dialog instead of Modal, .radio and .switch instead of form-check, and data-bs-validate instead of needs-validation. Combobox, Datepicker and Chips are new Bootstrap 6 components.

Photographer Portfolio 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, dark design
Category
Home Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Photographer Portfolio 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=Syne:wght@600;700;800&family=Karla:wght@400;500;600;700&family=Space+Mono&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.

Photographer Portfolio Homepage Template – Bootstrap 6 home pages component screenshot
Photographer Portfolio Homepage Template · Bootstrap 6 Home Pages

More Home Pages

Restaurant Homepage Template – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – 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.

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.

Interior Design Homepage Template – Bootstrap 6 home pages preview

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.