Building Pixel-Perfect UI Components Using CSS Variables

June 15, 2023 9 min Free

Description

CSS variables have become so sophisticated in recent years that they now enable us to do things that aren't possible with JavaScript. In this lightning talk, Sam Sycamore explains how MUI's engineers are leveraging the power of CSS variables in their new React component library, Joy UI, to deliver components that automatically adapt their style and structure to the context in which they're rendered.