Bootstrap vs Tailwind CSS

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

Bootstrap

51.9K
11.4K
+ 1
7.6K
Tailwind CSS

760
1.2K
+ 1
171
Add tool

Bootstrap vs Tailwind CSS: What are the differences?

Developers describe Bootstrap as "Simple and flexible HTML, CSS, and JS for popular UI components and interactions". Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. On the other hand, Tailwind CSS is detailed as "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.

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

Some of the features offered by Bootstrap are:

  • Preprocessors: Bootstrap ships with vanilla CSS, but its source code utilizes the two most popular CSS preprocessors, Less and Sass. Quickly get started with precompiled CSS or build on the source.
  • One framework, every device: Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.
  • Full of features: With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.

On the other hand, Tailwind CSS provides the following key features:

  • No default theme
  • No build-in UI components
  • No opinion about how your site should look

"Responsiveness" is the primary reason why developers consider Bootstrap over the competitors, whereas "Highly customizable" was stated as the key factor in picking Tailwind CSS.

Bootstrap and Tailwind CSS are both open source tools. Bootstrap with 134K GitHub stars and 66K forks on GitHub appears to be more popular than Tailwind CSS with 12.9K GitHub stars and 586 GitHub forks.

Spotify, Twitter, and Lyft are some of the popular companies that use Bootstrap, whereas Tailwind CSS is used by BlaBlaCar, Exyplis, and Bazzite. Bootstrap has a broader approval, being mentioned in 7046 company stacks & 1115 developers stacks; compared to Tailwind CSS, which is listed in 11 company stacks and 19 developer stacks.

Advice on Bootstrap and Tailwind CSS
Ashish Sharma
Sr. UI Associate at Daffodil Software · | 4 upvotes · 247K views

I am a bit confused when to choose Bootstrap vs Material Design or Tailwind CSS, and why? I mean, in which kind of projects we can work with bootstrap/Material/Tailwind CSS? If the design is made up on the grid, we prefer bootstrap, and if flat design, then material design. Similarly, when do we choose tailwind CSS?

Any suggestion would be appreciated?

See more
Replies (2)

Hi Ashish,

If you need minimal work to be done from your end and like most of the components / design available out of the box - go with Bootstrap. This is the oldest and has the widest adoption and a whole range of components built out by others.

If you like Material design, this is a good choice too. Please note that Bootstrap also has a Material theme, though it is not as native.

Both of these above frameworks are bulky and has more than what you may need.

If you like to build micro-components in a elegant way, TailwindCSS is the way to go.

See more

I don't know about material design.

You would go with Bootstrap if you want to prototype / build something without bothering about the design at all and you are OK if everything looks kinda template-y, using bootstrap out of the box components.

Go with Tailwind if you need a sleek design, a user interface where building with components will be important (because tailwind strongly favors component-based UI), and you know you will need to extend the built-in classes with your own (because tailwind is very easy to extend)

I would personally recommend tailwind over bootstrap any day of the week.

See more
Needs advice
on
Tailwind CSS
and
Bootstrap

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 · 199.2K views
Recommends
Bootstrap

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
Bootstrap

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
View all (3)
Daniel Hernández Alcojor
Frontend Developer at atSistemas · | 8 upvotes · 302.3K views
Needs advice
on
UIkIt
Bulma
and
Bootstrap

I'm building, from scratch, a webapp. It's going to be a dashboard to check on our apps in New Relic and update the Apdex from the webapp. I have just chosen Next.js as our framework because we use React already, and after going through the tutorial, I just loved the latest changes they have implemented.

But we have to decide on a CSS framework for the UI. I'm partial to Bulma because I love that it's all about CSS (and you can use SCSS from the start), that it's rather lightweight and that it doesn't come with JavaScript clutter. One of the things I hate about Bootstrap is that you depend on jQuery to use the JavaScript part. My boss loves UIkIt, but when I've used it in the past, I didn't like it.

What do you think we should use? Maybe you have another suggestion?

See more
Replies (6)
Recommends
UIkIt

I have used bulma in several projects. We could not customize with the websites very well. Also when we need "quick solutions" Bulma is not suitable (I mean basic animations, to-top buttons, transparent navbar solutions etc. For these solutions, you need extra js codes).

Everybody knows about Bootstrap (heavy but popular).

Now we start a new project with UI kit, I like it. Pros: It is fast and lightweight and imho it has very good UI. Cons: Small community. Documentation.

Check this link for kick-off. https://github.com/zzseba78/Kick-Off

Maybe it is helpful.

See more
Damien Lucchese
Recommends
Bulma

Been checking out Bulma, myself, and really dig it. I like that it's a great base level jumping off point. You can get a layout going with it, pretty quickly, and then customize as you want. It definitely sounds like it's the one you're leaning towards but a big factor would be who will be using it most? Your boss, yourself, others? Whichever you like best, you'll prob be most productive with but if in the end your boss says it has to be UIkit, then best to be open-minded and give it another shot. Sometimes you may not jive with new tools in your stack, at first, but then they can become tools you learn to love. Best to you in your decision! Take care & keep safe.

See more
Recommends
Diez

I've moved away from the concept of UI kits. Not that many support CSS grid. A lot of the icons are easier to use in SVG. I've had success in the concept of design framework and design tokens. I build my brand identity in Figma, and extract in Diez. Then Diez integrates into React and SASS. Much easier because design is decoupled from software in a central authority, and software updates automatically from design changes.

See more
Recommends
Bulma

Honestly - pick whatever you are the most comfortable with. You can achieve almost the same effects with different tools, so why not use something I like using?

See more
Tomer Fishaimer
Frontend Architect at Aqua Security · | 2 upvotes · 193.3K views
Recommends
Tailwind CSS

Actually it really depends on your needs, there are 3 types of UI frameworks you can use:

  1. A complete set of UI components like: https://react-bulma.dev/en/getting-started.

    Pros:

    Having a lot of pre-built UI components saves a lot of time

    Cons:

    need to learn the react framework and the bulma styles, and it's harder to customize to your needs

  2. A pure css framework, like Bulma, where you write all the components yourself.

    Pros:

    A lot of flexibility to build the components you need

    Cons:

    You are bound to Bulma classes and markup.

    Takes more time since you need to build the components

  3. A utility class framework like: https://tailwindcss.com/.

Pros:

Most flexible, mix and match classes as you like and build your own markup

Very easy to customize to your needs

Cons:

Might take time to get used to and takes more time since you need to build the components

If you choose options one, then it's just a matter of deciding what style you like (material,ant, bulma) and go with the library that implements it If you go with pure css and build your own components, I can't recommend tailwind enough, I've been finding myself building entire pages without writing a single line of css.

And if later on, the designer wants to make a change to some color, or size, I just need to change one value in the config file, and the entire app is updated.

See more
View all (6)
Decisions about Bootstrap and Tailwind CSS
Ryan Wans

Ant Design offers the most components with JS and CSS taken care of. They look clean, professional, and usable.

We paired this with Bulma for making the containers and structure reactive. Bulma (for react) make it easy to just add a section, container, and content and have it work on all platforms.

We also use Geist UI, though not recognized by Stack share, for its simple and modern feel. Highly recommend Geist if you want modern components for complicated UI's

See more
Kexin Lin
at University of Toronto · | 7 upvotes · 51.5K views

I replaced Bootstrap with Material-UI during the front-end UI development, because Material-UI adopts a component-based importing style, making it suit well in a "React programming style". This makes me comfortable when programming because I can treat importing UI components as other React components I define.

See more
Xinyi Liu
Software Developer at BigClarity · | 5 upvotes · 115.8K views

As our team will be building a web application, HTML5 and CSS3 are one of the standardized combinations to implement the structure and the styling of a webpage. Material-UI comes with all sorts of predesigned web components such as buttons and dropdowns that will save us tons of development time. Since it is a component library designed for React, it suits our needs. However, we do acknowledge that predesigned components may sometimes cause pains especially when it comes to custom styling. To make our life even easier, we also adopted Tailwind CSS. It is a CSS framework providing low-level utility classes that will act as building blocks when we create custom designs.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Bootstrap
Pros of Tailwind CSS
  • 1.6K
    Responsiveness
  • 1.2K
    UI components
  • 943
    Consistent
  • 777
    Great docs
  • 677
    Flexible
  • 466
    HTML, CSS, and JS framework
  • 410
    Open source
  • 375
    Widely used
  • 368
    Customizable
  • 241
    HTML framework
  • 76
    Popular
  • 75
    Mobile first
  • 75
    Easy setup
  • 56
    Great grid system
  • 49
    Great community
  • 38
    Future compatibility
  • 34
    Integration
  • 27
    Very powerful foundational front-end framework
  • 24
    Standard
  • 23
    Javascript plugins
  • 19
    Build faster prototypes
  • 18
    Preprocessors
  • 13
    Grids
  • 8
    Clean
  • 7
    Good for a person who hates CSS
  • 4
    Rapid development
  • 4
    Easy to setup and learn
  • 4
    Love it
  • 2
    Clean and quick frontend development
  • 2
    Provide angular wrapper
  • 2
    Great and easy to use
  • 2
    Great and easy
  • 2
    Powerful grid system, Rapid development, Customization
  • 2
    Community
  • 2
    Great customer support
  • 2
    Popularity
  • 2
    Great and easy to make a responsive website
  • 2
    Sprzedam opla
  • 2
    Easy to use
  • 1
    Painless front end development
  • 1
    Responsive design
  • 1
    Reactjs
  • 1
    Geo
  • 1
    Design Agnostic
  • 1
    So clean and simple
  • 1
    Numerous components
  • 1
    Recognizable
  • 1
    Intuitive
  • 1
    Love the classes?
  • 1
    Material-ui
  • 1
    Pre-Defined components
  • 1
    Boostrap
  • 1
    It's fast
  • 1
    Felxible, comfortable, user-friendly
  • 1
    The fame
  • 1
    Easy setup2
  • 0
    Frefsd
  • 24
    Quick setup
  • 24
    Highly customizable
  • 21
    Utility first styles, its amazing
  • 17
    Versatile
  • 16
    Great docs
  • 13
    Customizable
  • 13
    Consistent
  • 13
    Fast
  • 9
    Open source
  • 8
    Very light
  • 8
    Semantic
  • 5
    Responsive

Sign up to add or upvote prosMake informed product decisions

Cons of Bootstrap
Cons of Tailwind CSS
  • 25
    Javascript is tied to jquery
  • 16
    Every site uses the defaults
  • 14
    Too much heavy decoration in default look
  • 14
    Grid system break points aren't ideal
  • 8
    Verbose styles
  • 11
    Priced
  • 1
    Cluttered html structure

Sign up to add or upvote consMake informed product decisions

What is Bootstrap?

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

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 Bootstrap?
What companies use Tailwind CSS?
See which teams inside your own company are using Bootstrap or Tailwind CSS.
Sign up for Private StackShareLearn More

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

What tools integrate with Bootstrap?
What tools integrate with Tailwind CSS?

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

Blog Posts

What are some alternatives to Bootstrap and Tailwind CSS?
Semantic UI
Semantic empowers designers and developers by creating a shared vocabulary for UI.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
Material
Express your creativity with Material, an animation and graphics framework for Google's Material Design and Apple's Flat UI in Swift.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Foundation
Foundation is the most advanced responsive front-end framework in the world. You can quickly prototype and build sites or apps that work on any kind of device with Foundation, which includes layout constructs (like a fully responsive grid), elements and best practices.
See all alternatives
Reviews of Bootstrap and Tailwind CSS
pm at 36kr
Review of
Bootstrap

我们团队一直在使用bootstrap,非常简单易用,并且有帮助。支持也很到位,很喜欢!用了4年的时间,会持续的用下去,加油!!Bootstrap!!!

Review of
Bootstrap

We have been using it for the past 3 years and have no complaints

Review of
Bootstrap

Good service with a good price, worth the money.

How developers use Bootstrap and Tailwind CSS
StackShare uses
Bootstrap

Leanstack was on Bootstrap 2. Chose this because it is wildly popular, so it’s active, has been used a lot in production, and has a ton of features. Anything you need to do from a UI perspective, there’s likely a plugin for it already part of the library. Haven’t tried the others, but we're happy with BS.

For StackShare, we upgraded to Bootstrap 3. I don’t like that they changed the name of columns, essentially breaking the grid layout for Bootstrap 2 and below, so that was a real pain to update. I hope they don’t do that again. Once we have more bandwidth, we’re totally going to decouple our markup from Bootstrap.

shridhardalavi uses
Bootstrap

Bootstrap is a framework to help you design websites faster and easier. It includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels, etc. It also gives you support for JavaScript plugins. Bootstrap's responsive CSS adjusts to phones, tablets, and desktops Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Safari, and Opera)

CloudRepo uses
Bootstrap

We started with a bootstrap based template and then completely rewrote it due to poor design of the template. Using boostrap properly was a great experience - once you learn it and use it properly, it's simple to use and very good at being responsive and adapting to the various screen view.

Perljobs.Ru uses
Bootstrap

I simply bought a "job board" template for the website, which is written using Bootstrap 2. I'm hoping to upgrade the site to Boostrap 3 when I'll have a time.

Я просто купил шаблон для доски вакансий, написанный на Boostrap 2. Когда будет время перепишу все на Bootstrap 3.

Ujjwal Bhujel uses
Bootstrap

With the advancement in CSS, Bootstrap is creating new milestones when it comes to minimising our CSS codes. So elegant and beautiful yet easy and convenient to use once you go through all the classes and its elements. In addition, its JS function is impressive too.