</> ConvertAtlas Developer Tools
Bootstrap 5 · Beginner

CountUp Metric Cards

Metric cards that count up to their values, via CountUp.js.

Requires Bootstrap 5, CountUp.js. 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>
<script src="https://cdn.jsdelivr.net/npm/countup.js@2.8.0/dist/countUp.umd.js"></script>
<div class="row g-2" style="max-width:380px"><div class="col-6"><div class="card border-0 shadow-sm text-center"><div class="card-body"><div class="h3 fw-bold text-primary" id="cuA">0</div><div class="small text-secondary">Downloads</div></div></div></div><div class="col-6"><div class="card border-0 shadow-sm text-center"><div class="card-body"><div class="h3 fw-bold text-primary" id="cuB">0</div><div class="small text-secondary">Stars</div></div></div></div></div>
new countUp.CountUp("cuA",18420,{separator:","}).start();new countUp.CountUp("cuB",2940).start();
Free to use.This component uses Bootstrap 5, CountUp.js (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.