@ogs-gmbh/guthrie-mui-bindings
v2.0.4
Published
UI integration layer that connects the dynamic JSON-driven rendering capabilities of Guthrie with the component ecosystem of Material UI (MUI) in TypeScript applications.
Readme
We're OGS, check out our work on github.com/ogs-gmbh
Guthrie MUI Bindings
UI integration layer that connects the dynamic JSON-driven rendering capabilities of Guthrie with the component ecosystem of Material UI (MUI).

Predefined MUI Component Bindings
Offers a curated set of bindings that map Guthrie JSON schemas directly to Material UI components, enabling ready-to-use UI elements without manual wiring.Icon Integration
Provides built-in support for MUI icons within JSON definitions, allowing icons to be rendered declaratively alongside components.Type-Safe Bindings
Ensures that all JSON-to-component mappings conform to expected TypeScript types, reducing runtime errors and enforcing consistency.Extensibility
Allows developers to add or override bindings for custom components, supporting domain-specific UI requirements while maintaining a uniform architecture.
Getting Started
[!IMPORTANT] We're offering an extensive API-Reference covered with in-depth usage examples of this project.
To get a starting point, simply refer to our documentation at ogs-gmbh.github.io/guthrie-mui-bindings.
Prerequisites
- Node.js version 18 or higher
- A package manager: e.g. npm, pnpm, ...
Installation
Using npm:
$ npm install @ogs-gmbh/guthrie-mui-bindingsUsing yarn:
$ pnpm add @ogs-gmbh/guthrie-mui-bindingsUsing pnpm:
$ pnpm add @ogs-gmbh/guthrie-mui-bindingsUsing bun:
$ bun add @ogs-gmbh/guthrie-mui-bindingsUsage
Here's a simple example using getMuiComponentBindings. You can get a deeper understanding by looking at the reference.
import { Guthrie, withElements, withOperators, withFns } from "@ogs-gmbh/guthrie";
import { getMuiComponentBindings } from "@ogs-gmbh/guthrie-mui-bindings";
function MyPage() {
return (
<Guthrie
elements={withElements({
elements: getMuiComponentBindings({
mapNames: (value) => `mui-${value}`
})
})}
operators={withOperators({
options: {
universal: true
}
})}
fns={withFns({
options: {
native: true
}
})}
page={page}
/>
);
}License
The MIT License (MIT) - Please have a look at the LICENSE file for more details.
Contributing
Contributions are always welcome and greatly appreciated. Whether you want to report a bug, suggest a new feature, or improve the documentation, your input helps make the project better for everyone.
Feel free to submit a pull request, issue or feature request.
Issues and Feature Requests
Reporting an issue or creating a feature request is made by creating a new issue on this repository.
You can create a new issue or feature request here.
Pull Requests
GitHub offers a solid guideline for contributing to open source projects through pull requests, covering key practices. These best practices provide a reliable starting point for making effective contributions.
You can find the guidelines here.
Code Of Conduct
We are committed to keeping a welcoming, inclusive, and respectful community for everyone. To help us achieve this, we kindly ask that you adhere to our Code of Conduct.
Disclaimer
All trademarks and registered trademarks mentioned are property of their respective owners and are used for identification purposes only. Use of these names does not imply endorsement or affiliation.
This project is a trademark of OGS Gesellschaft für Datenverarbeitung und Systemberatung mbH. The License does not grant rights to use the trademark without permission.
Gesellschaft für Datenverarbeitung und Systemberatung mbH
