Get started with iconify CDN

(Apache-2.0 OR GPL-2.0) licensed

Iconify is a library for converting text into icons in various styles and sizes.

Tags:
  • svg
  • icons

Stable version

Copied!

How to start using iconify CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with iconify CDN - cdnhub.io</title>
  <script src="https://cdn.jsdelivr.net/npm/@iconify/[email protected]/iconify.min.js"></script>
  <style>
    .icon {
      font-size: 3em;
      color: currentColor;
    }
  </style>
</head>
<body>
  <button id="copy-btn">
    <i class="iconify copy-icon" data-icon="ic:baseline-content-copy"></i>
  </button>

  <script>
    document.querySelector('#copy-btn').addEventListener('click', () => {
      navigator.clipboard.writeText('Hello World!');
    });
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions