Carbon is a library of reusable React components.


As Carbon is just React components, we support any test suite you prefer to use. However we also provide out-of-the-box test tooling through Carbon Factory.

Running the Demo Site Locally

  1. Clone the carbon repository (git clone [email protected]:Sage/carbon.git)
  2. cd carbon
  3. npm install
  4. npm start
  5. Navigate to http://localhost:8095/ in your favourite browser

Note: MockAPI for tables and dropdowns is disabled locally as it conflicts with HotReloading. To enable see src/main.js file

Adding Release Notes

  • Use renogen, or add a yml file manually to ./changelog/next e.g. ./changelog/next/my-update.yml.
  • Update or add an appropriate heading in the style shown below for each change:
Bug Fixes: "Modal: The Modal is now centered in the browser."