Rethinking CSS in JS

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. mincho

    Natural CSS in TypeScript

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. css-in-js

    A thorough analysis of all the current CSS-in-JS solutions with SSR & TypeScript support for Next.js (by andreipfeiffer)

    Aside from the DevTools issue, it appears to be mostly a performance issue. Of course, there are CSS in JS, which overcomes these issues by extracting the CSS and making it zero runtime, but there are some tradeoffs. Here are two examples.

  4. pigment-css

    Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.

  5. freestyler

    5th generation CSS-in-JS library

    Dynamic styling restrictions: The combination of build issues and the use of CSS Variables forces us to support only some representations, like Styling based on props in Pigment CSS, or learn to do things differently, like Coming from Emotion or styled-components. Dynamicity is also one of the main metrics that can be used to distinguish between CSS in JS.

  6. Firefox-UI-Fix

    🦊 I respect proton UI and aim to improve it.

    As a representative example, see the definition and compilation of the tab bar layout in my Firefox theme. Despite only considering the OS and user options, a file of about 360 lines produces a compilation result reaching approximately 1400 lines.

  7. awesome-css

    :art: A curated contents of amazing CSS :)

  8. theme-ui

    Build consistent, themeable React apps based on constraint-based design principles

  9. styled-system

    ⬢ Style props for rapid UI development

  10. critical

    Extract & Inline Critical-path CSS in HTML pages

  11. polished

    A lightweight toolset for writing styles in JavaScript ✨ (by styled-components)

  12. linaria

    Zero-runtime CSS in JS library

  13. macaron

    Compiler-augmented typesafe CSS-in-JS with zero runtime, colocation, maximum safety and productivity (by macaron-css)

  14. postcss-plugins

    PostCSS Tools and Plugins

  15. clsx

    A tiny (239B) utility for constructing `className` strings conditionally.

  16. vanilla-extract

    Zero-runtime Stylesheets-in-TypeScript

  17. tailwind-merge

    Merge Tailwind CSS classes without style conflicts

  18. figma-low-code

    A repository to bootstrap Figma low code projects

  19. text-to-figma

    Conversational UI for Figma

  20. Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  21. suit

    Style tools for UI components

  22. stylus

    Expressive, robust, feature-rich CSS language built for nodejs

  23. stylelint

    A mighty CSS linter that helps you avoid errors and enforce conventions.

  24. styled-components

    Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅

    Agnostic: Framework independent, libraries like StyledComponent are designed specifically for React.

  25. storybook

    Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

  26. stitches

    [Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.

  27. Sass

    Sass makes CSS fun!

  28. PostCSS

    Transforming styles with JS plugins

  29. pontoon

    Mozilla's Localization Platform

  30. less.js

    Less. The dynamic stylesheet language.

  31. histoire

    âš¡ Fast and beautiful interactive component playgrounds, powered by Vite

  32. Bootstrap

    The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

  33. Bulma

    Modern CSS framework based on Flexbox

    For now, we can delegate layout concerns to frameworks like Bootstrap or Bulma, and focus more on management aspects.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Creating Nx Workspace with Eslint, Prettier and Husky Configuration

    12 projects | dev.to | 25 Mar 2024
  • 30+ CSS libraries and frameworks help you style your applications efficiently.

    21 projects | dev.to | 12 Aug 2024
  • Exploring Pigment CSS, a zero-runtime CSS-in-JS library by MUI

    3 projects | dev.to | 3 Jul 2024
  • Linaria: Zero-Runtime CSS in JavaScript

    1 project | news.ycombinator.com | 16 Jun 2024
  • Darling, I converted our perfectly fine SPA application into SSR: Part 2

    2 projects | dev.to | 14 May 2024

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?