Billing Card
A billing summary card with the saved card, plan and next charge.
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:360px">
<div class="card-body">
<h6 class="fw-bold mb-3">Billing</h6>
<div class="d-flex align-items-center gap-3 p-2 bg-light rounded mb-3"><span class="fs-4">💳</span><div class="flex-fill small"><div class="fw-semibold">Visa •••• 4829</div><div class="text-secondary" style="font-size:.72rem">Expires 08/27</div></div><button class="btn btn-sm btn-link text-decoration-none">Edit</button></div>
<div class="d-flex justify-content-between small mb-1"><span class="text-secondary">Plan</span><span class="fw-semibold">Pro · $12/mo</span></div>
<div class="d-flex justify-content-between small"><span class="text-secondary">Next charge</span><span class="fw-semibold">Jan 1, 2027</span></div>
</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.