Get started with pikaday CDN

(BSD OR MIT) licensed

Pikaday is a lightweight and customizable library for creating interactive datepickers.

Tags:
  • datepicker
  • calendar
  • date

Stable version

Copied!

How to start using pikaday CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with pikaday CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/pikaday.css">
  <script src="https://cdn.cdnhub.io/pikaday/1.8.2/pikaday.min.js"></script>
</head>
<body>
  <input type="text" id="datepicker" placeholder="Select a date">

  <script>
    const datepicker = new Pikaday({
      field: document.getElementById('datepicker'),
      format: 'YYYY-MM-DD'
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions