Material-UI

Material-UI

Application and Data / Languages & Frameworks / Front-End Frameworks
Needs advice
on
Material-UIMaterial-UI
and
react-mdreact-md

Hi Everybody. I would have your advice about the use of Material-UI (https://m3.material.io/get-started) framework, taking into account that we have two products made with React (https://react.dev/) framework and considering that the team is very skillful in REACT and TS.

What do you think about adding Material framework (because a designer asks for it) in a very strong REACT and TS ecosystem?

Thanks in advance for your help! 🤓

READ MORE
5 upvotes·27.2K views
Replies (2)
QEEBI Marketing Inc.·
Recommends
on
Material-UI

In your question, you mention Material-UI (https://m3.material.io/get-started), but what you really want is MUI (https://mui.com/). This is a great UI framework that I have used in several projects. It comes with a complete set of components and is easily themable and customizable. Some people are against it because it may increase your bundle size, so to avoid that make sure to always use path imports (https://mui.com/material-ui/guides/minimizing-bundle-size/#option-one-use-path-imports).

READ MORE
4 upvotes·4.8K views

If your designer asked for it then use material ui. Because this means that designer will design according to design system of material and probably not make different components from material ui. This will speed up your development speed up to x2.

But you need take some gotchas into account. 1. Material ui uses css in js and it hardly support new react nextjs features. And currently material team works on it. 2. It will be hard to customize components if you need something different. 3. If you have totally different design system and want to addapt material ui in my opinion it is worst idea. Because it won't be perfect.

  1. Radix ui, react aria i think more preferable if you want to craft components from scratch how you want without losing ♿ accessiblty

  2. Tailwind, panda css or vanilla extract are better solutions today for styling components according to design system.

    1. Don't forget it will take time without material ui
READ MORE
3 upvotes·4.8K views
Software Engineer at West Bend Mutual Insurance·
Needs advice
on
FlowbiteFlowbite
and
Material-UIMaterial-UI

I'm looking for a library that can allow customization, relatively low effort integration with TypeScript, and ability to bring business users into the design process with a tool like Figma design. We are developing our own SDK for quick dev setup through Open API and build with Webpack and mustache templates. I know Flowbite comes with Typescript definition files out of the box but not nearly as supported as Material-UI. I need to understand what additional work having something that definitely will have long term support like Material UI converted into Typescript vs Flowbite that will have less support, but a typescript definition file out of the box, and what customizing components will do to the type definition files.

READ MORE
4 upvotes·72.9K views
Replies (1)

When considering long-term support, Material-UI is a better choice for a robust and well-documented TypeScript integration, offering strong community backing. Converting Material-UI into TypeScript may require some initial effort, but it's likely to have better scalability and support. On the other hand, Flowbite offers TypeScript definition files out of the box, making it quicker to integrate, but with less community support, customization could lead to additional maintenance, especially with component type definitions. For ease of customization and future-proofing, Material-UI may be a safer choice.

READ MORE
1 upvote·2 views
Software Engineer at na·
Needs advice
on
Material-UIMaterial-UI
and
Tailwind CSSTailwind CSS
in

Can I use Material-UI and Tailwind CSS together with Next?

READ MORE
2 upvotes·100.1K views
Replies (2)
Recommends
on
Headless UI

I would not suggest that, as Material-UI and TailwindCSS are CSS frameworks, and using them together might be conflicting. Try to stick to one framework if possible. You can find some of the ready-to-use components here https://headlessui.com, it is maintained by the same team who made TailwindCSS and you can style those components with TailwindCSS. I hope this helps you.

READ MORE
3 upvotes·1 comment·253 views
Rose Mwangi
Rose Mwangi
·
August 22nd 2022 at 10:12AM

Thankyou for that

·
Reply
Recommends
on
Tailwind CSS

yes you can do it but I don't see the point using them both. I would strongly recommend you to stick to one of them instead.

READ MORE
2 upvotes·1 comment·237 views
Rose Mwangi
Rose Mwangi
·
August 22nd 2022 at 10:13AM

Thankyou. MUI is doing the job for me. Thanks for your advise!

·
Reply
Needs advice
on
Material-UIMaterial-UI
and
reactstrapreactstrap

My React website is a simple 5-pager that attaches to a database to store and display registrations and other data. The user (small user base) can change any form elements, but I don't need theme-ing, though that would be fun for the user. reactstrap/react-bootstrap built on Bootstrap 4 sounds dated. I am familiar with reactstrap, but a friend said to try Material-UI. The thought of learning it is interesting, but somehow I think it might be overkill. So... reactstrap, react-bootstrap, or Material UI, which should I use?

READ MORE
4 upvotes·618.3K views
Replies (8)

MaterialUI may be overkill for such a simple project, you're right. So I'm recommending both tools in this StackShare form.

But if it's planned to increase the project, consider migrating it to MUI in advance. Among its pros I can name: - brilliant TS support - all popular use cases covered - well documented - backed by sponsors == will live and be maintained

READ MORE
6 upvotes·45.2K views
Recommends
on
Material-UI

I recommend Material-UI for a couple reasons. 1. It’s very easy to throw MUI into React. You can essentially just import the components you need in place of yours. Effectively, for a button, for example, you can swap out <button for MUI’s <Button and you can be done if that’s all you want. Looks great, no hassle, and they have simple guides to help you make good UI decisions on top of that. 2. It’s pretty up-to-date, and it has great docs. I use MUI all the time, and if I were doing a simple, small user-base app, I would definitely use it for the sake of convenience and speed of development.

READ MORE
5 upvotes·45.1K views
View all (8)
Director at DevMania·
Needs advice
on
Material-UIMaterial-UI
and
Tailwind CSSTailwind CSS
in

I am currently working on a web application, and I am using Material-UI. The problem is that I always find myself in a situation where I have to override styles from material-UI, and I have to write a lot of CSS

READ MORE
2 upvotes·103.7K views
Replies (1)
Software Engineer ·
Recommends
on
Material-UI

It is normal. A perfect UI Framework for your needs does not exists. As long as the overrides aren’t too large, it really worth it. It saves not only CSS, also Components features and some browsers compatibilities issues.

Try to keep it simple, maybe the changes are not always needed. They look pretty good by default. And match a whole design.

The other way is (having a professional designer design) from scratch, which is a lot of extra work. (If you don’t have such profesional, don’t even try it). But if it’s mandatory a fixed desig, very different from Material UI, go for it.

Finding another UI Framework, probably less wide/mature than Material UI for React, will requires changes too.

Of course try to reuse components. Check the Theme for custom colors, ...

I hope it helps. This is my opinion. I have used Material UI for a couple of projects, happy doing it.

READ MORE
3 upvotes·1 comment·742 views
Vidit Kothari
Vidit Kothari
·
March 6th 2021 at 6:52PM

A thing about web dev that fascinates me so much is the 'context'. What you use, where you use, how you use and why you use depends on the context: requirement of the client, developers' comfort/skill level, priorities like performance or semantics or agile development.

I have tried Material UI, Bootstrap and Semantic UI. Among these I find the look of Semantic UI a bit more modern, professional, featured and distinct But it isn't always about looks. Though I like Semantic UI a lot I don't keep it in priority unless I'm the only one working on a project. "Why?".... because it has not been in active development for a while. Though it looks stable but it's build setup is outdated and throws error when adding it as npm dependency.

Coming back to the primary concern, I think there is almost always a situation where you need CSS customization. So be it Material UI or Tailwind, there is a strong possibility of us needing to write custom CSS.

Far as I'm concerned, I prefer reading the MaterialUI guidelines and implementing the design using Tailwind CSS (for the most part).

·
Reply
Needs advice
on
Material KitMaterial Kit
and
reactstrapreactstrap

I need to create a footer. Can I use reactstrap and Material-UI, or is it one or the other? If it's only one, what is the best way to create a footer with MaterialUI?

READ MORE
2 upvotes·94.5K views
Engineering Manager at Andela·
Shared insights
on
BitBitReactReactMaterial-UIMaterial-UI
in

I picked up an idea to develop and it was no brainer I had to go with React for the frontend. I was faced with challenges when it came to what component framework to use. I had worked extensively with Material-UI but I needed something different that would offer me wider range of well customized components (I became pretty slow at styling). I brought in Evergreen after several sampling and reads online but again, after several prototype development against Evergreen—since I was using TypeScript and I had to import custom Type, it felt exhaustive. After I validated Evergreen with the designs of the idea I was developing, I also noticed I might have to do a lot of styling. I later stumbled on Material Kit, the one specifically made for React . It was promising with beautifully crafted components, most of which fits into the designs pages I had on ground.

A major problem of Material Kit for me is it isn't written in TypeScript and there isn't any plans to support its TypeScript version. I rolled up my sleeve and started converting their components to TypeScript and if you'll ask me, I am still on it.

In summary, I used the Create React App with TypeScript support and I am spending some time converting Material Kit to TypeScript before I start developing against it. All of these components are going to be hosted on Bit.

If you feel I am crazy or I have gotten something wrong, I'll be willing to listen to your opinion. Also, if you want to have a share of whatever TypeScript version of Material Kit I end up coming up with, let me know.

READ MORE
30 upvotes·3.4M views