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

tachyons

68
78
+ 1
0
Tailwind CSS

3.7K
2.7K
+ 1
244
Add tool

Tailwind CSS vs tachyons: What are the differences?

  1. Flexibility of Utility Classes: One key difference between Tailwind CSS and tachyons is the flexibility of utility classes. Tailwind CSS provides a wider range of utility classes that allow developers to easily customize and style their components. These classes enable granular control over various aspects of the design, such as spacing, typography, colors, and more. Tachyons, on the other hand, has a more limited set of utility classes, which may make customization more challenging and require additional CSS overrides.

  2. Configuration vs. Out-of-the-box Styles: Tailwind CSS and tachyons differ in terms of configuration and out-of-the-box styles. Tailwind CSS provides a configuration file that allows developers to customize the default styles and utility classes according to their project requirements. This flexibility makes Tailwind CSS highly adaptable to different design systems. In contrast, tachyons comes with a predefined set of styles and utility classes that may require more effort to modify or override.

  3. File Size and Performance: Tailwind CSS and tachyons have different approaches when it comes to file size and performance. Tailwind CSS generates a large CSS file that contains all the utility classes, which can result in a bigger file size. However, Tailwind CSS uses a technique called tree shaking to remove unused CSS classes during the build process, resulting in optimized performance. Tachyons, on the other hand, uses a modular approach where developers can import only the required CSS classes, which can lead to smaller file sizes. However, tachyons does not have built-in tree shaking, so unused classes may still be included in the final CSS output.

  4. Typography Control: Tailwind CSS and tachyons differ in their approach to typography control. Tailwind CSS provides a wide range of utility classes for controlling typography, such as text size, font weight, line height, and more. These utility classes offer fine-grained control over the typography without the need for additional CSS. Tachyons, on the other hand, has a more limited set of typography utility classes, which may require additional CSS customization for more advanced typography styles.

  5. Development Workflow: Tailwind CSS and tachyons have different development workflows. Tailwind CSS follows a utility-first approach where developers primarily work with utility classes to build components. This approach promotes reusability and reduces the need for writing custom CSS. Tachyons, on the other hand, promotes a functional CSS approach where a single CSS class is used for a specific purpose. This approach requires developers to write more custom CSS to achieve specific design requirements.

  6. Community and Ecosystem: Another difference between Tailwind CSS and tachyons lies in their community and ecosystem support. Tailwind CSS has gained significant popularity and has a large and active community. It offers comprehensive documentation, a growing list of plugins, and integrations with popular frameworks. This extensive ecosystem makes it easier for developers to find solutions, contribute, and collaborate. Tachyons has a smaller community and may be less actively maintained, which can limit the availability of resources and community support.

In summary, Tailwind CSS offers more flexibility in terms of utility classes, provides customization options through configuration, utilizes tree shaking for optimized performance, offers comprehensive typography control, follows a utility-first development workflow, and has a larger and more active community and ecosystem. Tachyons, on the other hand, has a more limited set of utility classes, provides out-of-the-box styles, offers a modular approach to file size, has a more limited set of typography control, follows a functional CSS approach, and has a smaller community and ecosystem.

Advice on tachyons 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
Sr. Software Engineer at Forenax Technologies · | 5 upvotes · 585.2K views
Recommends
on
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
on
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)
Collins Ogbuzuru
Front-end dev at Evolve credit · | 3 upvotes · 547.9K views
Recommends
on
Tailwind CSSTailwind CSS

Hey Sai, My thoughts on UIkit - It's beautiful, 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 .

Now, considering Tailwind, it's seen as a classic, simple-to-set-up tool with 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. Tailwind allows you to build unique design elements, offering you a level of customization that may be unmatched by the other frameworks.

My final thoughts.

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

See more
Brett Stevenson
Recommends
on
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
Decisions about tachyons and Tailwind CSS
Bridget Sarah
Full Stack Developer at Bridget Sarah · | 10 upvotes · 635.4K 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 tachyons
Pros of Tailwind CSS
    Be the first to leave a pro
    • 44
      Highly customizable
    • 33
      Quick setup
    • 30
      Utility first styles, its amazing
    • 24
      Versatile
    • 23
      Great docs
    • 16
      Customizable
    • 16
      Fast
    • 15
      Consistent
    • 11
      Very light
    • 11
      Semantic
    • 11
      Open source
    • 9
      Responsive
    • 1
      Easy Tree shaking with Tailwind CLI

    Sign up to add or upvote prosMake informed product decisions

    Cons of tachyons
    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

      - No public GitHub repository available -

      What is tachyons?

      Create fast loading, highly readable, and 100% responsive interfaces with as little CSS as possible.

      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 tachyons?
      What companies use Tailwind CSS?
      See which teams inside your own company are using tachyons 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 tachyons?
      What tools integrate with Tailwind CSS?

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

      What are some alternatives to tachyons and Tailwind CSS?
      Bootstrap
      Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
      Apache Ignite
      It is a memory-centric distributed database, caching, and processing platform for transactional, analytical, and streaming workloads delivering in-memory speeds at petabyte scale
      Bulma
      Bulma is a CSS framework based on Flexbox and built with Sass
      styled-components
      Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
      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.
      See all alternatives