Bootstrap Component Library

screenshot of Bootstrap Component Library
bootstrap
scss

Openeuropa Bootstrap Component Library

Overview:

The OEL Bootstrap Based Component Library is a versatile toolkit designed for developers looking to enhance their projects with ready-to-use components based on Bootstrap 5. This library not only simplifies the process of incorporating Bootstrap elements into applications but also provides a comprehensive style guide through Storybook, enabling users to visualize components interactively. Whether you're just starting out with Node.js or are an experienced developer, this library aims to streamline your component management and usage.

With a focus on modularity, the components are available as standalone npm packages under the @openeuropa organization, allowing for flexible integration into various applications. Coupled with a robust build system, the library ensures that you have all the necessary resources at your disposal to get up and running quickly.

Features:

  • Comprehensive Component Library: A collection of components based on Bootstrap 5, complete with rendering capabilities via twig templates.
  • Interactive Storybook: A dedicated Storybook environment enables users to see all components in action, with controls for live interaction.
  • Easy Package Management: Components are provided as individual npm packages, making installation and updates hassle-free with either npm or yarn.
  • Custom Build Scripts: The @openeuropa/bcl-builder package offers command-line scripts for compiling SASS, minifying files, and managing assets efficiently.
  • Theme Package Solutions: Each theme package includes the necessary css, js, and twig templates, prepared for integration with any platform supporting twig.
  • Multiple JS Formats: JavaScript files are offered in various formats including UMD, ESM, and bundled options, ensuring compatibility with a wide range of applications.
  • Built-In Minification and Mapping: All delivered files come minified and include .map files, optimizing them for production use without additional configuration.
bootstrap
Bootstrap

Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.