Skip to main content



rescript-material-ui provides all components in individual files. The file pattern is:


If you wish to use the Typography component for example, it would look like this:

{"Some example text"->React.string}

The component names map one to one to the ones found in the Component API section of the MUI documentation.

Global module

With version 3.0.0, this library switched to the ReScript namespace Mui which replaces the previous MaterialUi module.

For convenience, the Mui module includes a few special modules, which will be discussed later. To avoid name clashes, we suggest you stick to typing out Mui.[COMPONENT_NAME] instead of using open.

let make = () =>
<Mui.Typography variant=#h4 gutterBottom=true>
{"Some example text"->React.string}

Special modules

The Mui namespace contains the following special modules: