Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ReScript bindings for MUI

License

NotificationsYou must be signed in to change notification settings

cca-io/rescript-mui

Repository files navigation

Installation

  1. Install all necessary packages according to the official MUI-Material installation guide:https://mui.com/material-ui/getting-started/installation/.
  2. Install@rescript-mui/material
npm install @rescript-mui/material
  1. Add it todependencies in yourrescript.json:
{"dependencies": ["@rescript-mui/material"]}

This library providesReScript bindings forMUI.

These bindings will only work with ReScript 11+ (uncurried mode) and JSX version 4, as it enables us to utilizeuntagged variants, optional record fields, and record props spread. The latter is especially important, as we are finally able to inherit props from one component to another more easily.

Examples

Have a look at theexamples folder.

What's inside?

MUI packageReScript bindings packageNamespaceProgress
@mui/material@rescript-mui/materialMui100 %
@mui/lab@rescript-mui/labMuiLab100 %
@mui/x-date-pickers@rescript-mui/x-date-pickersMuiXDatePickers30 %
@mui/system@rescript-mui/systemMuiSystem0 %
@mui/baseNot implemented!MuiBase (?)-
@mui/joyNot implemented!Joy (?)-
@mui/x-data-gridNot implemented!MuiXDataGrid (?)-

NOTE:@mui/styles will never be implemented, as it is the legacy styling solution which is not compatible withReact.StrictMode or React 18.

Documentation

Seedocumentation.

Changelog

SeeCHANGELOG.

Contributing

SeeCONTRIBUTING.


[8]ページ先頭

©2009-2025 Movatter.jp