Shared Components

screenshot of Shared Components
react
styled-components

A shared React component library for Bandwidth UI projects

Overview

The Bandwidth Shared Component Library (SCL) is an essential toolkit for developers creating React applications. As a robust set of components, it has been specifically designed to streamline the UI development process for Bandwidth-related projects. Although SCL is now deprecated in favor of Foundry, its ease of use and quick integration still provide valuable insights for current developers in the ecosystem.

This library enhances the development experience by allowing seamless integration of both fonts and component styles, making it a go-to resource for teams that prioritize efficiency and branding consistency. Even though users are encouraged to migrate to Foundry, understanding SCL remains beneficial for grasping foundational design principles and component use in React.

Features

  • Simple Installation: Easily add the library as an NPM module with a single command, allowing for quick integration into existing projects.

  • Styled Components Compatibility: The library utilizes styled-components as a peer dependency, enabling flexible styling solutions within your React applications.

  • Root Provider Setup: By adding the BandwidthProvider to your component tree, you can seamlessly include various components with minimal configuration.

  • Custom Font Loading: With new updates, the library requires developers to manually include font files, streamlining font management across projects.

  • Local Development Support: The library provides local development tools, allowing you to run a development server and access the documentation, ensuring efficient building and testing.

  • Storybook Integration: Developers can utilize Storybook to visualize components, offering a dynamic environment for testing and showcasing the UI.

  • Easy Documentation Publishing: The npm run deploy command simplifies the process of publishing updates to documentation, ensuring that all teams have access to the latest resources.

  • Open Source Licensing: The library is open-source under the MIT license, promoting community collaboration and contribution to its ongoing improvement.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

styled-components
Styled Components

Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.

github-pages
GitHub Pages

Gridsome is a Vue.js-based static site generator that makes it easy to build fast and flexible websites and applications by leveraging modern web technologies like GraphQL, Webpack, and hot reloading

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

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.