Settings

Theme

Show HN: Material Tailwind – open-source React components

material-tailwind.com

9 points by axelut 5 years ago · 6 comments

Reader

nicofcurti 5 years ago

What I like the most about tailwind is how cohesive the design turns when using their classes and color schemes, I think material tailwind is kind of an oxymoron

yodon 5 years ago

So glad to see the folks at creativetim have finally started using a normal license for their stuff instead of the old amateurishly written creativetim license. This appears to be a standard MIT licensed project.

gitgud 5 years ago

This is interesting, what's the benefit of advertising that it uses tailwind?

Can you customise the tailwind configuration? or apply tailwind classes to the components?

  • atat7024 5 years ago

    Tailwind is hot right now.

    Wish someone would explain to those of us not as deep in the trenches why that is!

    • gitgud 5 years ago

      > Wish someone would explain to those of us not as deep in the trenches why that is!

      Here's a few advantages that I've found from using it in the trenches:

      - All HTML you write with HTML is truely portable, with no implicit dependencys on global classes (besides tailwind.css). All tailwind classes are utility classes, which don't have weird side effects.

      - This also means you can copy/paste tailwind HTML into projects easily, and there's many sites you can just copy HTML from and it works!

      - It doesn't obfuscate the underlying CSS, it simply shortens the boiler plate.

          style="display: flex; align-items: center;"
      
      Becomes

          class="flex items-center"
      
      This also has the benefit of teaching you the underlying CSS. Where other CSS frameworks like bootstrap actually abstract CSS into complex classes and hierarchy's, that you have no idea what's actually being applied.

      - Finally, it's fast to develop, as you don't need to shift from HTML to CSS all the time. After a while you can work blazingly fast, creating components and annotating them with classes.

      Anyway, that's my take, I like the concept and am glad it's taking off in industry!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection