Skip to content

Repository files navigation

chem-generic-ui

npm version Downloads DOI

chem-generic-ui is a React component library for building schema-driven scientific and laboratory applications. It provides dynamic form and table builders for complex data-driven interfaces.

It is used in the Chemotion LabIMotion ecosystem for constructing structured datasets, element forms, and table-based layouts.

Project Showcase

LabIMotion Logo

A scientific data management application built using chem-generic-ui.

Flexible Layout Designs

Installation

The chem-generic-ui library is available as an NPM package. Install it either with NPM:

npm install --save chem-generic-ui

or Yarn:

yarn add chem-generic-ui

Host application setup

AG Grid module registration

ag-grid-community and ag-grid-react (>=33.0.0 <34.0.0) are peer dependencies — the host application provides them. Since version 2.3.0, chem-generic-ui no longer registers AG Grid modules itself. Register them once in your application entry point, before rendering any chem-generic-ui component that contains a grid:

import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';

ModuleRegistry.registerModules([AllCommunityModule]);

Without this, AG Grid throws error #200 ("unable to use … as the module is not registered") when a grid component mounts.

Support and Community

If you have questions, comments, or suggestions, the best place to share them is in the Discussions section. We welcome your feedback and participation!

About

A React component for dynamically building user interfaces.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages