Material UI

Material UI is the components library for Squarehub, currently working with V5.

Their doc is extremely complete, and it should be your best friend when developping some new front-end components!

Here is the doc of all their components, utilities & API:

How to use it efficiently?

The link above brings you to a presentation of the Button component offered by MUI:

This is very useful if you want to quickly see some different usages & possibilities of the component you're looking at, but if you scroll down the page you'll find a link to the API doc of the component:

Which will bring you here:

Where you can see every property available on the component! For example, we can see that the Button offers a "disabled" property, whose default value is false. Now you know that's something you could use in your app, and how to use it.

Customization

We have a small design system splited in 2 files:

  • theme.js

  • button.js

Last updated