Bootstrap Contact Page Example

Ruth Jul 09, 2026

Crafting an effective contact page is a crucial aspect of web design, as it facilitates communication between your business and potential clients. Bootstrap, a popular open-source CSS framework, offers a wide range of pre-built components that can simplify this process. Let's explore a comprehensive example of a contact page using Bootstrap.

Contact Us Page Design
Contact Us Page Design

Before diving into the code, ensure you have included the Bootstrap CSS and JavaScript files in your HTML document. You can download them from the official Bootstrap website or use a CDN. For this example, we'll use the CDN:

a yellow and black website page with the word contact us on it's left side
a yellow and black website page with the word contact us on it's left side

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>

Layout and Design

Bootstrap provides a responsive grid system that makes it easy to create a well-structured contact page. We'll use containers, rows, and columns to build our layout.

MNyamwezi (@UReagan) on X
MNyamwezi (@UReagan) on X

First, let's create a basic structure for our contact page:

<div class="container">
  <h1 class="text-center mb-4">Contact Us</h1>
  <div class="row">
    <div class="col-md-6">
      <form>
        <div class="mb-3">
          <label for="name" class="form-label">Name</label>
          <input type="text" class="form-control" id="name" placeholder="Enter your name">
        </div>
        <div class="mb-3">
          <label for="email" class="form-label">Email</label>
          <input type="email" class="form-control" id="email" placeholder="Enter your email">
        </div>
        <div class="mb-3">
          <label for="message" class="form-label">Message</label>
          <textarea class="form-control" id="message" rows="5" placeholder="Type your message here"></textarea>
        </div>
        <button type="submit" class="btn btn-primary">Send</button>
      </form>
    </div>
    <div class="col-md-6">
      <address>
        <strong>Our Address</strong>
        
123 Street, City, Country
Phone: (123) 456-7890
Email: info@example.com </address> </div> </div> </div>

Responsiveness

the contact form page is shown with an orange and blue border, which reads contact us we would love to hear from you
the contact form page is shown with an orange and blue border, which reads contact us we would love to hear from you

Bootstrap's grid system is mobile-first and responsive, ensuring that your contact page looks good on various devices. However, you can further customize the responsiveness by using Bootstrap's responsive utility classes. For example, to make the form and address columns stack on smaller screens, you can add the `d-block d-sm-none` class to the second column:

<div class="col-md-6 d-block d-sm-none">

Styling and Customization

To give your contact page a unique look, you can customize its styling using Bootstrap's utility classes and custom CSS. For instance, you can change the background color, font size, or add shadows to elements.

an image of a computer screen with the words let's work together on it
an image of a computer screen with the words let's work together on it

Additionally, you can use Bootstrap's themes or create your own to apply consistent styling across your website.

Additional Features

To enhance user experience, you can add more features to your contact page, such as a map, social media links, or a feedback form.

Dark Mode Form, Contact Design Layout, Contact Website Design, Ui Landing Page, Contact Us Website Design, Contact Page Website, Contact Web Design Page, Contact Us Web Design, Dark Ui
Dark Mode Form, Contact Design Layout, Contact Website Design, Ui Landing Page, Contact Us Website Design, Contact Page Website, Contact Web Design Page, Contact Us Web Design, Dark Ui

Google Maps Integration

Embedding a Google Map can help users find your business location easily. You can use the following iframe code to add a map to your contact page:

Contact Form V03 - Free Modern Contact Form Template 2026 - Colorlib
Contact Form V03 - Free Modern Contact Form Template 2026 - Colorlib
37 Free Bootstrap Form Templates You Can Try Right Now
37 Free Bootstrap Form Templates You Can Try Right Now
Bootstrap Forms
Bootstrap Forms
the contact page for an office building
the contact page for an office building
an image of a website page with the words get in touch on it
an image of a website page with the words get in touch on it
Website Contact Form
Website Contact Form
Modern Digital Agency Contact Us Page Design - Divi 5 Optimized
Modern Digital Agency Contact Us Page Design - Divi 5 Optimized
the landing page for contact us, which is designed to look like an email form
the landing page for contact us, which is designed to look like an email form
a purple and white contact form with icons
a purple and white contact form with icons
the homepage for a website that has been designed to look like it's being used
the homepage for a website that has been designed to look like it's being used
Contact Form V06 - Free Contact Form w/ Google Maps 2026 - Colorlib
Contact Form V06 - Free Contact Form w/ Google Maps 2026 - Colorlib
the contact form page is shown in orange and white
the contact form page is shown in orange and white
Free Template Jedy - Bootstrap Landing Page | AZMIND
Free Template Jedy - Bootstrap Landing Page | AZMIND
Contact Us Page for Seamless Communication
Contact Us Page for Seamless Communication
the contact page is displayed in black and white, with an image of a map on it
the contact page is displayed in black and white, with an image of a map on it
Download An Amazing (Free) Divi Business Layout Pack
Download An Amazing (Free) Divi Business Layout Pack
Minimaliste 3
Minimaliste 3
15 contact us page examples: best practices and creative ideas
15 contact us page examples: best practices and creative ideas
Bootstrap | AZMIND - Part 2
Bootstrap | AZMIND - Part 2
HTML CSS CONTACT FORM
HTML CSS CONTACT FORM

<div class="mb-4">
  <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2923.543528900595!2d-73.9901767845075!3d40.73061047933108!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c25855c6480299%3A0x55194ec5a7408293!2s123%20Street%2C%20New%20York%2C%20NY%2010001!5e0!3m2!1sen!2sus!4v1661842693153!5m2!1sen!2sus" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>

Social Media Links

Adding social media links can help users connect with your business on various platforms. You can use Bootstrap's buttons and icon classes to create these links:

<div class="mb-4">
  <a href="#" class="btn btn-primary btn-lg me-2">
    <i class="fab fa-facebook-f"></i> Facebook
  </a>
  <a href="#" class="btn btn-info btn-lg me-2">
    <i class="fab fa-twitter"></i> Twitter
  </a>
  <a href="#" class="btn btn-danger btn-lg">
    <i class="fab fa-instagram"></i> Instagram
  </a>
</div>

With these examples, you now have a solid foundation for creating an engaging and functional contact page using Bootstrap. Keep iterating and refining your design to ensure it meets your business needs and resonates with your audience.