feature-flags to toggle new features on and off. We currently have two
feature-flags available for testing:
- Experimental Components use
- UI Shell uses
To turn on either of the feature flags, include the feature-flag variable into your SCSS file before importing
carbon-components, then set
$feature-flags: ( components-x: true, ui-shell: true, ); @import 'carbon-components/src/globals/scss/styles';
Note: You must be using Sass to take advantage of code using feature flags. The Sass feature flags determine which CSS is compiled.