Just-in-Time friendly style variants in Tailwind CSS UI components (Part 1)
The art of writing dynamic styles that play nice with Tailwind’s Just-in-Time engine
Imagine that you’re building a UI component with React and Tailwind CSS. That component needs to support multiple style variants. A fairly common instinct here would be to construct dynami...
Start reading
Time to read: 10m
Just-in-Time friendly style variants in Tailwind CSS UI components (Part 2)
Autocomplete suggestions and error messages with lightweight TypeScript
Improving the DX with TypeScript Right now, the developer using our component doesn’t really have any information or hints on what variants and sizes options are available for this Button. ...
Start reading
Time to read: 12m