</> ConvertAtlas Developer Tools
Bootstrap 5 · Beginner

Contact Form Card

A contact form with name, email, subject and message in a tidy card.

Requires Bootstrap 5. Add the CDN tags below to your page (styles in <head>, scripts before </body>). The downloaded file already includes them.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<div class="card border-0 shadow-sm" style="max-width:420px;width:420px">
  <div class="card-body p-4">
    <h5 class="fw-bold mb-3">Get in touch</h5>
    <div class="row g-2 mb-3"><div class="col-6"><input class="form-control" placeholder="Name"></div><div class="col-6"><input type="email" class="form-control" placeholder="Email"></div></div>
    <div class="mb-3"><input class="form-control" placeholder="Subject"></div>
    <div class="mb-3"><textarea class="form-control" rows="3" placeholder="Your message…"></textarea></div>
    <button class="btn btn-primary px-4">Send message</button>
  </div>
</div>
Free to use.This component uses Bootstrap 5 (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.