</> ConvertAtlas Developer Tools
Bootstrap 5 · Intermediate

Flatpickr Date Input

A clean date-picker input powered by Flatpickr.

Requires Bootstrap 5, Flatpickr. 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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr@4.6.13/dist/flatpickr.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/flatpickr@4.6.13"></script>
<div class="card border-0 shadow-sm" style="max-width:320px"><div class="card-body"><label class="form-label small fw-semibold">Pick a date</label><input class="form-control" id="fpDate" placeholder="Select…"></div></div>
flatpickr('#fpDate',{dateFormat:'Y-m-d',defaultDate:'today'});
Free to use.This component uses Bootstrap 5, Flatpickr (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.