DEV Community

loading...
Cover image for Material Tailwind – New Framework for Web Developers

Material Tailwind – New Framework for Web Developers

Creative Tim
Fully Coded UI Tools to create web and mobile apps UI Kits, Templates and Dashboards built on top of Bootstrap, Vue.js, React, Angular, Node.js and Laravel.
Originally published at creative-tim.com ・4 min read

When talking about the user interface, the most important thing is its appearance. It is the interaction point with the user’s attention. However, building a beautiful and effective appearance is not easy because it needs spending time and a lot of skills.

In this case, the good part is that there are some workarounds, like frameworks and libraries (e.g. Tailwind CSS), which facilitate the process of building user interfaces (but not that much like you’re thinking about).

OK, are you looking for a simple, easy, and quick way to build a better and beautiful user interface? If the answer is YES then you should take a look over Material Tailwind. Read this article to find out why.

What is Material Tailwind?

Material Tailwind is a framework for building user interfaces, an open-source project by Creative Tim. It is using Tailwind CSS – a utility-first CSS framework, and Material Design 2 guidelines – a modern design system developed by Google.

The first version of Material Tailwind has been released based on ReactJS, the most popular JavaScript library for building user interfaces.

So before we deep dive into Material Tailwind’s details, let’s take a look at Tailwind CSS, Material Design 2, and ReactJS.

What is Tailwind CSS?

Tailwind CSS is a utility-first CSS framework packed with classes that can be composed to build any design directly into your markup.

Compared to other CSS frameworks like Bootstrap, it doesn’t come with predefined components; instead, Tailwind CSS provides you a set of CSS helper classes. Using these classes, you can create custom designs and user interfaces with ease.

For more information about Tailwind CSS, you can check the Tailwind CSS website: https://tailwindcss.com

What is Material Design 2?

Material Design 2 is the most popular, modern, and comprehensive design system developed by Google that helps you build high-quality digital experiences.

The design system itself is a comprehensive set of useful guides and helpful tools that developers or designers can use for building modern, trendy and user-friendly user interfaces that adhere to material style.

For more information about Material Design 2, you can check the Material Design 2 website: https://material.io/

What is ReactJS?

ReactJS is the most popular front-end JavaScript library for building fast and interactive user interfaces. It is an open-source, component-based, front-end library responsible only for the application’s view layer in Model View Controller (MVC) architecture.

For more information about ReactJS, you can check the ReactJS website: https://reactjs.org/

Why Material Tailwind?

Therefore, as you read above, Material Tailwind has been built using the most popular technologies and trends around the world.

As I said before, building a user interface is not easy, even if you’re using Tailwind CSS. It comes up with different helper classes, and you need to play around with thousands of helper classes to build a simple user interface that makes your code cluttered. Also, add the fact that you need to build everything from scratch, which takes a lot of time. ☹️

By using Material Tailwind you can build a user interface as quickly and easily as possible because you don’t need to build everything from scratch or play around with Tailwind CSS helper classes. Material Tailwind provides you all the important and necessary components for building a user interface in the format of ReactJS components with the space of Material Design 2 and Tailwind CSS helper classes 😍

Who can use Material Tailwind?

Material Tailwind is a free and open-source project and everyone can use it, you only need to have a basic knowledge of ReactJS.

Material Tailwind Components

As I said before, Material Tailwind contains all the necessary and important components for building a user interface.

  1. Alerts
  2. Buttons
  3. Cards
  4. Dropdowns and Dropups
  5. Images
  6. Inputs
  7. Labels
  8. Menus
  9. Modals
  10. Navbars
  11. Paginations
  12. Popovers
  13. Progress bars
  14. Tabs
  15. Tooltips
  16. Typography

Material Tailwind – Alerts Examples

Material Tailwind – Alerts Examples

Material Tailwind – Buttons Examples

Material Tailwind – Buttons Examples

You can check here the components: https://material-tailwind.com/components.

Also, this awesome framework comes with 3 fully coded sample pages. You can start working instantly.


Material Tailwind – Login Page

Material Tailwind – Login Page

Material Tailwind – Profile Page

Material Tailwind – Profile Page

But it’s not the end of the story and we will expand and add more components to Material Tailwind in the near future.

Material Tailwind is open-source

Material Tailwind is an open-source project, and everyone can contribute to making Material Tailwind better. You can contribute to solve different issues or expand its components.

Note: Before contributing to Material Tailwind, please read the contributing guideline: https://github.com/creativetimofficial/material-tailwind/blob/main/CONTRIBUTING.md

In the near future

As I said before, the first version of Material Tailwind is only available for ReactJS, but soon, you will see the other versions for Vue.js, Angular.js, Svelte, and Vanilla Javascript.

Discussion (11)

Collapse
billraymond profile image
Bill Raymond

This is very cool. I only looked at the home page, which is super informative, so have a question about it. Lately, I have been following what [seems to be?] a best practice of separating the content (HTML) from the style (CSS). From what I only admittedly looked at on the website, it looks like it styles within the HTML, is that correct? If so, what is the tradeoff and or goodness that comes out of that approach?

Collapse
dillonheadley profile image
Dillon Headley

The tailwind site digs into these questions

Collapse
sajadevo profile image
Sajad Ahmad Nawabi

We use tailwindcss for building Material Tailwind and tailwindcss make this possible.
You can take a look to the tailwindcss docs page as well. tailwindcss.com

Collapse
sgolovine profile image
Sunny Golovine

This is super cool. My one gripe is that it's a React Framework. One of the beautiful things about Tailwind, Bulma or Bootstrap is you can transport it anywhere that supports CSS, you can take a layout out of a React project and drop it into an Angular or Vue project with minimal modifications.

My suggestion down the road is to expose the CSS so users outside the react framework can also utilize this.

Keep up the hard work. Looks awesome!

Collapse
sajadevo profile image
Sajad Ahmad Nawabi

Thanks a lot @sgolovine we will have the css code as well in the near future.

Since we are working on the stable react version of Material Tailwind v1.0.0 we don't focus on others for now after the stable version we will release the Vue, Angular, Svelte, Vanilla JavaScript and the CSS components as well.

Collapse
florincornea profile image
Cornea Florin

Cool stuff! Thanks for your work guys, much appreciate!

Collapse
creativetim_official profile image
Creative Tim Author

Thanks, Florin! ❤️

Collapse
dudelybhai profile image
Mohammed Safi • Edited

Material Design Layout component Sidebar, Header, Content Area adding this will be super cool. document fis so friendly for developers

Collapse
sajadevo profile image
Sajad Ahmad Nawabi

Thanks a lot @dudely the framework is still in the build process and we update and add new features based on our users expectations.
We will have these components as well on the next versions of Material Tailwind.

Collapse
itstomkent profile image
Thomas Kent

Been playing with Tailwind and alpinejs a lot lately. This is well timed. Any plans to bring components to Laravel Livewire?

Collapse
sajadevo profile image
Sajad Ahmad Nawabi

@itstomkent we will take a look to it and try our best to have this version as well for Material Tailwind.

Forem Open with the Forem app