Get started with carbon-components CDN

Apache-2.0 licensed

Carbon-Components is a lightweight, modular library of open-source React components built by IBM.

Tags:
  • carbon
  • component
  • components
  • css
  • html
  • ibm
  • javascript
  • js
  • library
  • pattern
  • patterns
  • sass
  • scss
  • style guide
  • eyeglass-module
  • carbon-design-system
  • react

Stable version

Copied!

How to start using carbon-components CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with carbon-components CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/carbon-components@11.53.0/lib/css/carbon-components.min.css">
  <script src="https://cdn.jsdelivr.net/npm/carbon-components@11.53.0/lib/js/carbon-components.min.js"></script>
  <script src="https://cdn.cdnhub.io/carbon-components/11.53.0/postinstall.min.js"></script>
</head>
<body>
  <button tabindex="0" class="btn btn-primary" @click="handleClick">
    Click me!
  </button>

  <script>
    const handleClick = () => {
      alert('Button clicked!');
    };
  </script>
</body>
</html>
Copied!
Copied!

All versions

10.10.3 10.10.3-rc.1 10.11.0 10.11.0-alpha.0 10.11.0-alpha.6542 10.11.0-rc.0 10.11.0-rc.1 10.11.1 10.11.1-rc.0 10.11.2 10.12.0 10.12.0-alpha.0 10.12.0-rc.0 10.12.0-rc.1 10.12.0-rc.2 10.13.0 10.13.0-alpha.0 10.13.0-rc.0 10.13.0-rc.1 10.14.0 10.14.0-rc.0 10.14.0-rc.1 10.15.0 10.15.0-alpha.0 10.15.0-rc.0 10.16.0 10.16.0-alpha.0 10.16.0-rc.0 10.16.0-rc.1 10.17.0 10.17.0-alpha.0 10.17.0-rc.0 10.18.0 10.18.0-rc.0 10.19.0 10.19.0-rc.0 10.20.0 10.20.0-rc.0 10.21.0 10.21.0-rc.0 10.21.0-rc.1 10.22.0 10.22.0-rc.0 10.23.0 10.23.0-rc.0 10.23.1 10.23.2 10.24.0 10.24.0-rc.0 10.25.0 10.25.0-rc.0 10.25.0-rc.1 10.25.0-rc.2 10.26.0 10.26.0-alpha.0 10.26.0-rc.0 10.26.0-rc.1 10.27.0 10.27.0-rc.0 10.27.0-rc.1 10.27.0-rc.2 10.27.0-rc.3 10.27.0-rc.4 10.28.0 10.28.0-rc.0 10.29.0 10.29.0-rc.0 10.29.0-rc.1 10.30.0 10.30.0-rc.0 10.31.0 10.31.0-rc.0 10.32.0 10.32.0-rc.0 10.32.1 10.33.0 10.33.0-rc.0 10.34.0 10.34.0-rc.0 10.35.0 10.35.0-rc.0 10.36.0 10.36.0-rc.0 10.37.0 10.37.0-rc.0 10.38.0 10.38.0-rc.0 10.39.0 10.39.0-rc.0 10.40.0 10.40.0-rc.0 10.40.1 10.40.2 10.41.0 10.41.0-rc.0 10.42.0 10.42.0-rc.0 10.43.0 10.43.0-rc.0 10.44.0 10.44.0-rc.0 10.45.0 10.45.0-rc.0 10.46.0 10.46.0-rc.0 10.47.0 10.47.0-rc.0 10.47.1 10.48.0 10.48.0-rc.0 10.49.0 10.49.0-rc.0 10.50.0 10.50.0-rc.0 10.51.0 10.51.0-rc.0 10.52.0 10.52.0-rc.0 10.53.0 10.53.0-rc.0 10.54.0 10.54.0-rc.0 10.55.0 10.55.0-rc.0 10.55.1 10.55.2 10.56.0 10.56.0-rc.0 10.57.0 10.57.1 10.57.2 10.58.0 10.58.1 10.58.10 10.58.11 10.58.12 10.58.13 10.58.14 10.58.15 10.58.2 10.58.3 10.58.4 10.58.5 10.58.6 10.58.7 10.58.8 10.58.9 11.0.0 11.0.0-rc.0 11.0.1 11.0.2 11.1.0 11.1.0-rc.0 11.10.0-rc.0 11.11.0 11.11.0-rc.0 11.12.0 11.12.0-rc.0 11.12.0-rc.1 11.13.0 11.13.0-rc.0 11.14.0 11.14.0-rc.0 11.15.0 11.15.0-rc.0 11.16.0 11.16.0-rc.0 11.17.0 11.17.0-rc.0 11.17.0-rc.1 11.17.0-rc.2 11.18.0 11.18.0-rc.0 11.19.0 11.19.0-rc.0 11.2.0 11.2.0-rc.0 11.20.0 11.21.0 11.21.0-rc.0 11.22.0 11.22.0-rc.0 11.23.0 11.23.0-rc.0 11.23.1 11.24.0 11.24.0-rc.0 11.25.0 11.26.0 11.26.0-rc.0 11.26.1 11.27.0 11.27.0-rc.0 11.28.0 11.28.0-rc.0 11.29.0 11.29.0-rc.0 11.3.0 11.3.0-rc.0 11.30.0 11.30.0-rc.0 11.31.0 11.31.0-rc.0 11.31.1 11.31.2 11.32.0 11.32.0-rc.0 11.33.0 11.33.0-rc.0 11.33.1 11.34.0 11.34.0-rc.0 11.34.1 11.35.0 11.35.0-rc.0 11.36.0 11.36.0-rc.0 11.36.1-rc.0 11.37.0 11.38.0 11.38.0-rc.0 11.39.0 11.39.0-rc.0 11.4.0 11.4.0-rc.0 11.40.0 11.41.0 11.41.0-rc.0 11.41.1 11.41.2 11.42.0 11.42.0-rc.0 11.42.1 11.43.0-rc.0 11.44.0 11.44.0-rc.0 11.45.0 11.45.0-rc.0 11.46.0 11.46.0-rc.0 11.47.0 11.47.0-rc.0 11.48.0 11.48.0-rc.0 11.48.1 11.49.0 11.49.0-rc.0 11.5.0 11.5.0-rc.0 11.50.0 11.50.0-rc.0 11.51.0 11.51.0-rc.0 11.51.1 11.52.0 11.52.0-rc.0 11.53.0 11.53.0-rc.0 11.53.1 11.54.0 11.54.0-rc.0 11.55.0 11.55.0-rc.0 11.55.1-rc.0 11.56.0 11.57.0 11.57.0-rc.0 11.58.0 11.58.0-rc.0 11.59.0 11.59.0-rc.0 11.6.0 11.6.0-rc.0 11.60.0 11.60.0-rc.0 11.60.1 11.61.0 11.61.0-rc.0 11.62.0 11.62.0-rc.0 11.63.0 11.63.0-rc.0 11.63.1 11.64.0 11.64.0-rc.0 *** 11.65.0 11.65.0-rc.0 11.7.0 11.8.0 11.8.0-rc.0 11.9.0 11.9.0-rc.0