
A zero-runtime CSS-in-JS package that generates colocated styles to their own CSS files at build-time.
Global
Joined January 2022
- Tweets12
- Following1
- Followers209
- Likes32
Pigment CSS (beta) retweeted
We're hiring a Staff Engineer for the @PigmentCSS team! Join us to help ship a next-gen, zero-runtime CSS-in-JS library focused on performance and an exceptional developer experience. Check more info and apply here 👇
mui.com/careers/staff-engine…
Pigment CSS (beta) retweeted
🎉 Introducing Pigment CSS: the next generation of CSS-in-JS
Check out the blog post for our new styling engine, which we’ve just introduced at #ReactConf 2024! It will be available in alpha, as an opt-in, in Material UI v6 later this year.
mui.com/r/pigment
Pigment CSS (beta) retweeted
Wondering what my talk at React Conf is about?
@JoshWComeau gave a great introduction. See why CSS-in-JS libraries are struggling with RSC: 📺youtube.com/watch?v=-Bff89tr…
Replying to @reactjs
Check out @MUI_hq’s @olivtassinari talk on the CSS-in-JS library Pigment CSS at React Conf: conf.react.dev/talks/20
Pigment CSS (beta) retweeted
PigmentCSS - by MUI
differs from "standard" runtime CSS-in-JS libraries:
- styles must be declarative
- no direct access to props in your styled declarations
- a theme lets you declare CSS tokens that become part of the CSS bundle after the build
🔗 github.com/mui/material-ui/t…

ALT import { css } from '@pigment-css/react'; const visuallyHidden = css({ border: 0, clip: 'rect(0 0 0 0)', height: '1px', margin: -1, overflow: 'hidden', padding: 0, position: 'absolute', whiteSpace: 'nowrap', width: '1px', }); function App() { return <div className={visuallyHidden}>I am invisible</div>; }
Pigment CSS (beta) retweeted
Is @materialui's new Pigment-CSS library a fix for their problems on the App Router? And maybe even be the best CSS in JS library? Let's have a look! youtu.be/fyja_ldjxwA
Pigment CSS (beta) retweeted
The migration of @MaterialUI to our zero-runtime CSS-in-JS solution with minimal API changes is making great progress 🎉
@siriwatknp explored converting the MUI's blog, the page hits 100 on Lighthouse 💡
See before vs. after ⬇️
Pigment CSS (beta) retweeted
We are preparing the alpha release of the zero runtime CSS-in-JS library that we are building to improve Material UI v6.
We designed it to be as backward compatible as possible with styled-components and Emotion. We want to bring the same speed benefits 🏎️ of CSS Modules without its downsides (no code colocation).
It will be a new open-source project: Pigment CSS 🌷
How would you like to see the separation between Pigment and CSS handled?
44%Pigment CSS—@pigment-css/
37%Pigment CSS—@pigmentcss/
20%👀
215 votes • Final results





