react-additional-material-components
v1.0.6
Published
Some useful React web components (several higher order components) that leverage Material-UI components
Downloads
1
Readme
React Additional Material-UI Components
This repository contains React components heavily dependent on Material-UI web components. It contains some simple, low-level components as well as some higher order components that leverage several Material-UI low-level components. These web components are built to be used in a ReactJS web application.
This repository is something I (David Nunez) built while employed with Mentor. It contains basic web components that splice together several Material-UI components, yet it is not specific to any type of application (it contains no intellectual property or business logic tied to the application for which it was originally used). Our plan at the time was to create a low-level set of web components that we would use in many of our web applications moving forward, but when our Principle Engineer decided to move away from React.js and towards Vue.js framework instead, we were left with a set of building block components that were of no use beyond that original web application. Mentor then approved our request "open source" this code repository, in case the React.js community might find it useful as higher order web components to add into any existing Material-UI themed web application.
Enjoy!
Dependencies
Components
Forms
- Blur Field - A Text Field that submits its form value
onBlur
- Editable Label - A label that toggles into an editable Text Field
- Form Field - Simple template wrapper around a Material-UI Text Field
- Image Uploader - An Image uploading component that base64 encodes a given image
- Error Message - A customized error message pane that slides smoothly below any kind of page header component
Buttons
- Speed Dial - A customized Speed Dial, inspired heavily by react-mui-speeddial
Containers
- Container Toolbar - A templated Material-UI Toolbar
- Resizable Container - A responsive Material-UI Card that can be maximized (to nearly full-width) or restored-down to centered & partial-width of the page.
Misc low-level Components.
- Conditional Render - Based on the react-conditional-render component and modified to perform nested evaluation of truthiness on Objects, Arrays, and objects returned by Functions.
- Load Script - A web component wrapper for a script tag that will load a given external script
- Overlay - Very simple semi-opaque overlay (best if it sits next to a Material-UI Drawer)
- Progress - Simple, simple Linear progress wrapper
- Spinner - Simple boolean-driven spinner