Boilerplate for Electron with React and Material UI

I have created a boilerplate project for Electron used together in conjunction with React and Material UI, because too many projects in Javascript space have too many dependancies and it can be really hard for new developers to join this awesome community with so many options to explore!

You can check github repo for the Electron boilerplate at the end of the post.

The project itself uses Electron as basically only a wrapper for the actual functionality.

If we take a look at src/App.js file it gives a good point for where to continue.

const App = () => (

    <Grid container spacing={24}>
        <Grid item xs={6}>
        <LeftPanelComponent  />
        <Grid item >
        <LeftPanelComponent  />

Inside the App we define Grid container with different items. The Grid container comes from (at the moment beta version) Material UI and acts in a very similar to Boostraps grid system.

Under: src/components/LeftPanelComponent.js there is an example of a component that gets connected into the grid in App.js .

The example component uses SimpleList component also originating from Material UI.

I know it may seem to be a bit short versed article, but I tried to make code as clear as possible.

Would love some feedback on potential improvements!


Github URL:

Material UI: (Current beta docs docs)

Material UI Icons:
React tap event plugin:

By |August 18th, 2017|Categories: ALL|

About the Author:

Senior lead developer currently working in Java, architecture design, mix of tech from Front-end in JS and templating to chef,rundeck etc. For fun and challenge I am writing different blog posts from stories to poems, programming tutorials and many more. Currently working on my Masters degree on a part-time basis.