Need advice about which tool to choose?Ask the StackShare community!

BEM

113
91
+ 1
0
Tailwind CSS

1.9K
2.2K
+ 1
239
Add tool

BEM vs Tailwind CSS: What are the differences?

What is BEM? It is a methodology, that helps you to achieve reusable components and code sharing in the front-end. This methodology was developed at Yandex with the goals in mind that Fast development and long-lasting results for standard projects,A project involves many people,Scalable teams,Code reuse.

What is Tailwind CSS? A utility-first CSS framework for rapid UI development. Tailwind is different from frameworks like Bootstrap, Foundation, or Bulma in that it's not a UI kit. It doesn't have a default theme, and there are no build-in UI components. It comes with a menu of predesigned widgets to build your site with, but doesn't impose design decisions that are difficult to undo.

BEM and Tailwind CSS can be categorized as "Front-End Frameworks" tools.

Tailwind CSS is an open source tool with 13.6K GitHub stars and 640 GitHub forks. Here's a link to Tailwind CSS's open source repository on GitHub.

BlaBlaCar, Exyplis, and Bazzite are some of the popular companies that use Tailwind CSS, whereas BEM is used by PointsHound, Sainsburys, and Viva Decora. Tailwind CSS has a broader approval, being mentioned in 17 company stacks & 60 developers stacks; compared to BEM, which is listed in 15 company stacks and 16 developer stacks.

Advice on BEM and Tailwind CSS
Needs advice
on
BootstrapBootstrap
and
Tailwind CSSTailwind CSS

I am planning to redesign my entire application, which is currently in Bootstrap. I heard about Tailwind CSS, and I think its really cool to work with. Is it okay if I use Bootstrap and Tailwind together? I can't remove Bootstrap altogether, as my application is using the js dependencies of Bootstrap, which I don't want to disturb.

See more
Replies (3)
Ivo Pereira

Factually talking about systems, we gotta make two bold headlines about each one: Bootstrap has been around for a while, has a vast community and much probably will not be gone in a while. Tailwind in the other hand, is the trendy framework starting from the past year. Referring to UI, I really prefer Tailwind, however I can't ignore the fact that a lot of libraries that emerged felt short in the end after a few years (a point where Bootstrap kept his status).

You are able to use both them together but I advise you — it will be a mess. And you gotta hope that you won't have any kind of conflicts between class naming and other general styling.

My recommendation would be to use one and only one. Perhaps rebuild the UI with a specific framework in mind, otherwise you will start to workaround things of both frameworks to contradict each other - and your team (if you work with one) will hate you.

See more
Arslan Ameer
at Synares Systems Pvt Ltd · | 5 upvotes · 467.7K views
Recommends
BootstrapBootstrap

You might have heard about bootstrap 5. Bootstrap is now totally jQuery free. i have tried foundation and bulma too. but eventually fall again for bootstrap, as it is most convenient and stable. i use bootstrap with less or sass.

See more
Barry Hylton
Recommends
BootstrapBootstrap

I use both of these regularly. If you're going to have to use Bootstrap due to your js dependencies, stick with Bootstrap. I actually prefer Tailwind, but trying to use both of them and make them "play nice" feels like making things more complex with no real benefit.

EDIT: Sorry for the late response, I just noticed how old this is. StackShare sent me this in an email for some reason so I assumed it was relatively fresh.

See more
Needs advice
on
BootstrapBootstrapTailwind CSSTailwind CSS
and
UIkItUIkIt

We are re-modifying the existing portal to the new one. Looking out for a CSS framework where over-rides are possible, the performance of page loading, extendable, etc Please suggest between tailwind, UIkit and bootstrap frameworks explaining in detail on different factors. I request your help on the same.

See more
Replies (2)
Brett Stevenson
Recommends
BootstrapBootstrap

I'm a big proponent of Tailwind and I personally use it whenever I get the chance, mostly because it's not really a UI-kit, but it sounds like in this case a UI-kit like Bootstrap with pre-defined components is more what you are looking for. Bootstrap is (relatively) extendable and overridable and makes it really simple to make a decent looking UI using a handful of pre-defined classes, whereas with Tailwind you configure the classes and create your own components. My main reason for replacing Bootstrap in my workflow is that it feels like the component creation has become so abstracted from the developer that any meaningful customization becomes a chore, resulting in many websites having the generic "Bootstrap-look". Nonetheless, it is effective for creating a pleasant and responsive UI. Though, I don't have any experience with UIkit.

See more
Collins Ogbuzuru
Front-end dev at Evolve credit · | 0 upvotes · 428.1K views
Recommends
Tailwind CSSTailwind CSS

Hey Sai, My thoughts on UIkit - It's beautiful, it's fast and it has good animation too. Why would I choose it ? Nothing other than giving the internet a new look .

My thoughts on Bootstrap - it's beautiful, if used well. It's very fast and has clean class naming convention unlike Uikit.

Why I would choose it ? It's been tested and trusted, I can find a whole lot of resources and a community around it. Also with the type of project you working on I bet Bootstrap would do the job .

My thoughts on tailwind - classic, difficult to set up and clean utilities. I wouldn't think of tailwind the way I would to Bootstrap or UIkit. What do I mean ? Tailwind is more like a tool set to create your own design flow rather than giving you a pre-designed button it gives you the ability to design yours.

My final thoughts.

If you have the time , setup and use tailwind it will give you a great chance when it comes to extending and performance.

See more
Decisions about BEM and Tailwind CSS
Bridget Sarah
Full Stack Developer at Bridget Sarah · | 10 upvotes · 518.1K views

I do prefer to write things from scratch however when it came to wanting to jump-start the frontend, I found that it was taking me a lot longer hence why needing to use something very fast.

Bootstrap was the boom when it came out, I didn't like it, to be honest, set in its way and a pain to over-ride and in addition, you can tell from a distance if you're using boostrap and as everything looks the same.

I came across Tailwind CSS as I wanted more dynamic features, you could say, I've been now doing it for a few days and I love it a lot. I've been practising with the full stack part installed but I an't we wait until I do a new project, and I'll e able to select exactly what I want. Much faster.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of BEM
Pros of Tailwind CSS
    Be the first to leave a pro
    • 42
      Highly customizable
    • 31
      Quick setup
    • 29
      Utility first styles, its amazing
    • 24
      Versatile
    • 22
      Great docs
    • 16
      Fast
    • 16
      Customizable
    • 15
      Consistent
    • 11
      Open source
    • 11
      Very light
    • 11
      Semantic
    • 9
      Responsive
    • 1
      Easy Tree shaking with Tailwind CLI
    • 1
      Jnn
    • 0
      Sex

    Sign up to add or upvote prosMake informed product decisions

    Cons of BEM
    Cons of Tailwind CSS
      Be the first to leave a con
      • 14
        Priced
      • 5
        Cluttered html structure

      Sign up to add or upvote consMake informed product decisions

      What is BEM?

      This methodology was developed at Yandex with the goals in mind that Fast development and long-lasting results for standard projects,A project involves many people,Scalable teams,Code reuse.

      What is Tailwind CSS?

      Tailwind is different from frameworks like Bootstrap, Foundation, or Bulma in that it's not a UI kit. It doesn't have a default theme, and there are no build-in UI components. It comes with a menu of predesigned widgets to build your site with, but doesn't impose design decisions that are difficult to undo.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use BEM?
      What companies use Tailwind CSS?
      See which teams inside your own company are using BEM or Tailwind CSS.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with BEM?
      What tools integrate with Tailwind CSS?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to BEM and Tailwind CSS?
        SUIT CSS
        SUIT CSS provides a reliable and testable styling solution for component-based web application development.
        CSS Modules
        It is a CSS file in which all class names and animation names are scoped locally by default. The key words here are scoped locally. With this, your CSS class names become similar to local variables in JavaScript. It goes into the compiler, and CSS comes out the other side.
        Bootstrap
        Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
        Animate.css
        It is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
        Material Design for Angular
        Material Design is a specification for a unified system of visual, motion, and interaction design that adapts across different devices. Our goal is to deliver a lean, lightweight set of AngularJS-native UI elements that implement the material design system for use in Angular SPAs.
        See all alternatives