Learn BLUEPRINT-JS with Real Code Examples
Updated Nov 23, 2025
Installation Setup
Install via npm: `npm install @blueprintjs/core @blueprintjs/icons`
Include CSS: `import '@blueprintjs/core/lib/css/blueprint.css'`
Use tree-shaking imports for smaller bundle
Optionally include icons: `@blueprintjs/icons`
Integrate with React build tools like Webpack or Vite
Environment Setup
Install Node.js and npm
Install BlueprintJS core and icons
Include CSS/SCSS globally
Configure React project
Start coding with BlueprintJS components
Config Files
package.json - npm dependencies
src/components/ - reusable BlueprintJS components
src/pages/ - page-level components
src/styles/ - custom CSS/SCSS
public/ - static assets
Cli Commands
npm install @blueprintjs/core @blueprintjs/icons
Optional: `npm start` for CRA dev server
Bundle with Webpack or Vite
Tree-shaking imports to optimize bundle
Minify CSS for production
Internationalization
No built-in i18n, use React i18n libraries
Text content is customizable
Date/time pickers can be localized externally
Supports LTR and RTL via CSS overrides
Messages and labels fully configurable
Accessibility
Keyboard navigable
ARIA-compliant components
Screen-reader friendly
Form validation accessible
Custom accessible components encouraged
Ui Styling
CSS variables or SCSS for theming
Grid and layout optimized for desktop
Component-specific props for style
Supports dark/light mode via theme variables
Clean, professional visual style
State Management
Component-level state with React
Forms use controlled components
Integration with Redux, MobX, or Zustand optional
Dialogs and popovers maintain internal state
Props and callbacks manage data flow
Data Management
Handled via React props/state
Tables support remote data fetching
Forms integrate with backend APIs
No built-in global state management
External state libraries recommended for complex apps