vanilla-extract
stitches


vanilla-extract | stitches | |
---|---|---|
94 | 82 | |
9,739 | 7,765 | |
0.7% | 0.2% | |
8.5 | 0.0 | |
14 days ago | 3 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vanilla-extract
-
Not Everything Needs a Component
If you still think a polymorphic component would be better, really can't deal with plain HTML, or don’t want to write CSS in a separate file (though I am not sure why), my next suggestion would be to take a look at PandaCSS and create custom patterns or explore other options like vanilla-extract. In my opinion, these tools are an over-engineered CSS metalanguage but still better than a polymorphic component.
- Rethinking CSS in JS
-
Design System Starter Template - All Technology You'll Ever Need
For styling DSS UI relies on vanilla-extract, which provides a robust scalable zero-runtime CSS base. Yet again, it’s a flexible choice, allowing for alternative approaches like CSS modules, Panda CSS, Tailwind etc.
-
30+ CSS libraries and frameworks help you style your applications efficiently.
Vanilla Extract Vanilla Extract is a zero-runtime Stylesheets-in-TypeScript library. It enables type-safe CSS with static extraction for optimal build performance.
-
The best testing strategies for frontends
In our experience, the best testing strategy for modern frontends is a combination of E2E testing (using Playwright+NextJS), and unit testing. Visual regression testing is not worth the effort in our opinion, especially with the advent of better CSS tooling like TailwindCSS and Vanilla Extract.
-
Is there really anything better than Css Modules?
For building component libraries I’ve been a big fan of vanilla extract. Apparently it’s from the same people who made css modules
-
Introducing StyleX - the styling system used by Meta
This sounds exactly like Vanilla Extract. https://vanilla-extract.style/
-
An Overview of 25+ UI Component Libraries in 2023
KumaUI : Another relatively new contender, Kuma uses zero runtime CSS-in-JS to create headless UI components which allows a lot of flexibility. It was heavily inspired by other zero runtime CSS-in-JS solutions such as PandaCSS, Vanilla Extract, and Linaria, as well as by Styled System, ChakraUI, and Native Base. ### Vue
-
Creating a Component Library Fast🚀(using Vite's library mode)
The components are styled with CSS modules. When building the library, these styles will get transformed to normal CSS style sheets. This means that the consuming application will not even be required to support CSS modules. (In the future I want to extend this tutorial to use vanilla-extract instead.)
-
Tailwind CSS and the death of web craftsmanship
I do a lot of UI work and have never understood the appeal of Tailwind. It’s like relearning a new language. Tailwind was released in 2017. Maybe the CSS landscape wasn’t as good back then? Modern CSS is pretty awesome.
I’ve enjoyed using Vanilla Extract https://vanilla-extract.style/. It’s like css-in-js with none of the downsides as everything gets compiled to css.
stitches
- Rethinking CSS in JS
-
30+ CSS libraries and frameworks help you style your applications efficiently.
Stitches Stitches is a modern CSS-in-JS library focusing on performance, flexibility, and composability. It provides a low-level styling solution with a simple API, enabling powerful theming capabilities and dynamic styling.
-
Styling React 2023 edition
Over the past few years, I've worked with React apps utilising various CSS-in-JS libraries, starting with styled-components, transitioning through emotion, Theme UI, and finally Stitches. I've also integrated MUI, Mantine, and Chakra in numerous client projects.
-
HyperUI: Free Open Source Tailwind CSS Components
Radix has some great ideas that challenge the way components are usually built. I'd love to use it, but am somewhat burned by how Stitches stopped being maintained due to the changes in React 18. Context: https://github.com/stitchesjs/stitches/discussions/1149#disc...
To be clear, it's not so much that they decided to not spend time, energy and money into maintaining it, but that there's seemingly been very little (if any) interest in letting others maintain it despite several people expressing interest. I'm sure it's scare handing over commit access, but if you're giving it up anyway then why not just do it, see what happens? Instead it's just dead in the water.
I'd happily pay license fees to use Radix and/or Stitches, if that guarantees maintenance. Sadly that's not an option it seems.
-
Why do experienced front-end developers use CSS frameworks?
I work on a lot of more "creative" projects where frameworks like TailwindCSS or Bootstrap just don't cut it. My approach has always been to use some kind of library to ease the process of creating my own CSS framework that can then be used by other people. I find that Stitches does it pretty well. You set your design tokens, then you have IntelliSense to help people understand the design system.
-
I created a Zero-Runtime CSS-in-JS Library Compatible with Next.js App Router and RSC
Some libraries, such as Stitches, claim near-zero runtime performance overhead by tackling the first issue (parsing JavaScript CSS objects). Nevertheless, they still inject the parsed CSS into the DOM at runtime, which means they haven’t entirely eliminated the performance concerns.
-
what's the best way for styling our components in react?
Stitches allows you to map your design system
-
What are ways we can integrate our designers into our React projects?
Define strict system of colors, spaces, etc then attempt to synchronize usage of it in both design and code (tools like https://vanilla-extract.style/ or https://stitches.dev/ can help with enforcing system on software side)
-
What would be your styling library of choice if you were starting a new project?
Curious to understand what is trending. We've been big fans of Stitches, however, unfortunately the project is no longer maintained.
-
Introducing DecaUI
There are some issues with SSR and NextJS in React 18: https://github.com/stitchesjs/stitches/issues/863
What are some alternatives?
panda - 🐼 Universal, Type-Safe, CSS-in-JS Framework for Product Teams ⚡️
styled-components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
shadcn/ui - A set of beautifully-designed, accessible, and customizable components to help you build your component library. Open Source.
theme-ui - Build consistent, themeable React apps based on constraint-based design principles
linaria - Zero-runtime CSS in JS library
styled-system - ⬢ Style props for rapid UI development
unocss - The instant on-demand atomic CSS engine.
tailwind - 🔥 A schematic that adds Tailwind CSS to Angular applications
Tailwind CSS - A utility-first CSS framework for rapid UI development.
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.

