A Carbon-powered React component library built by IBM Security
Carbon for IBM Security is an open-source React component library built by IBM Security. It is based on the Carbon Design System and IBM Design Language. The library consists of working code and resources that are maintained by a vibrant community of contributors. Carbon for IBM Security is licensed under the Apache License, Version 2.0.
To install Carbon for IBM Security in your project, you can use one of the following commands with a package manager:
npm i @carbon/ibm-security@latest
npm i @carbon/ibm-security@canary
npm i @carbon/ibm-security@experimental
npm i @carbon/ibm-security@next
Note: The distribution tags can be used to install the most relevant version of the library.
React components are included by default in Carbon for IBM Security. You can use them in your project by importing the desired components. Babel builds both variants of the components, so no further transpilation is required.
To add component styles to your build, import the component directly. This will include any dependencies that the component has. The import system removes duplicate dependencies, so shared dependencies among components will not create additional CSS.
To resolve import declarations, set up sass so that node_modules is included in the includePaths option.
Carbon for IBM Security utilizes feature flags to conditionally enable or disable features. To configure feature flags, update the $security–feature-flags map before importing any Sass files.
Carbon for IBM Security is a powerful open-source React component library that is built on the Carbon Design System and IBM Design Language. It offers a wide range of features including component styles, React components, color manipulation, grid system, iconography assets, layout units and spacing, and type tokens for IBM Plex. The installation process is straightforward, and feature flags can be used to customize the library.