C3 AI Documentation Home

Libraries Pre-Installed with UI Framework

The UI Framework includes a default set of libraries that support front-end and back-end application development. These libraries provide core functionality through React, Redux, TypeScript, and essential tools for UI logic, testing, and state management.

You do not need to install these libraries manually. The platform loads them in every environment automatically.

Core libraries

The platform includes the following core libraries and makes them available to all SDL and React components:

Core libraryDescription
TypeScriptCompiles and validates JavaScript with static types
ReactBuilds modular user interfaces with a component model
ReduxControls application state through a centralized store
RxJSDefines reactive pipelines with observable streams
WebpackPackages code and assets into optimized builds
React Testing LibraryVerifies React component behavior with focused tests

These libraries provide the foundation for building C3 AI applications. The platform loads them without any additional configuration.

Check library versions

To view the exact list of pre-installed libraries, create a new application with UI. Once the application is running, navigate the the web console and run:

JavaScript
// Get the list of libraries UI Stack depends on
ImplLanguage.Runtime.forName("js-webpack_c3").libraries

// Get all the libraries (direct and transitive dependencies) UI Stack needs
// This is the full list of libraries that need to be present in your registry if
// You are developing from an air-gapped environment
Js.Runtime.forName('js-webpack_c3-client-node').libraries

Install additional libraries

When your application needs libraries that the platform does not include by default, you can modify the runtime to include them.

Follow the steps in this topic: Use libraries from the npm ecosystem

Was this page helpful?