Dev.to
7/10/2026

I've maintained Linaria for six years. Here's why I built something new
Short summary
The maintainer of Linaria explains why he built dx-styles, a new zero-runtime CSS-in-JS library. Linaria's styled component interpolation causes build-time evaluation failures, and its composition model lacks first-class support for variants, slots, and themes needed by real design systems. dx-styles addresses both by removing styled, pushing toward static evaluation, and making recipes and token contracts core primitives.
- •Linaria's styled interpolation pattern is the main cause of build-time evaluation failures
- •Composition with variants, slots, and themes should be first-class in a styling library, not conventions
- •dx-styles is a new zero-runtime CSS-in-JS library built on wyw-in-js targeting design systems
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



