Get started with blueprintjs-core CDN

BSD-3-Clause licensed

BlueprintJS-core: React UI library for web apps, consistent design, reusable components.

Tags:
  • palantir
  • blueprint
  • components
  • styles
  • theme
  • ui

Stable version

Copied!

How to start using blueprintjs-core CDN


// Include the BlueprintJS-Core library
const Button = require('blueprint/lib/button');

// Create a new button element
const myButton = new Button({
  label: 'Click me!',
  className: 'bp3-button bp3-button-large bp3-intent-primary',
  onClick: function() {
    alert('Button clicked!');
  }
}, document.createElement('div'));

// Append the button to the body
document.body.appendChild(myButton.getElement());
Copied!
Copied!

All versions