Nobody answered the plugin question twice now so let me take a swing at it. For most projects postcss-preset-env is the one you actually want, it bundles autoprefixer plus nesting, custom media, custom properties fallbacks, and a bunch of other stage-2/3 stuff behind one config. So if you're "just running autoprefixer" you're basically running a lighter version of the same thing. Add cssnano for minification in prod, postcss-import if you want to @import files that actually get inlined (native CSS @import does not do that), and postcss-mixins if you miss Sass-style helpers. That's the whole magic. It's less magic than people make it out to be tbh.
On the TS side, wafflesRgood's complaint about typed CSS variables is legit and it's the thing that almost pushed me back to styled-components. The trick that actually works is augmenting csstype, not fighting it. Something like:
declare module 'csstype' {
interface Properties {
[index: `--${string}`]: string | number | undefined
}
}
Drop that in a d.ts and now style={{ '--temp-color': 'red' }} type checks everywhere without you casting to any. For CSS module classnames themselves, the typescript-plugin-css-modules VS Code plugin gives you autocomplete and go-to-definition, and if you want generated .d.ts files checked into the repo you can run typed-css-modules in a watch task. It's a bit of setup but it's a one-time cost.
I'll push back slightly on the "losing dynamic styling is a big deal" framing though. Honestly for anything data-driven I reach for CSS variables plus a couple of utility classes and it's cleaner than the styled-components version was, because the logic lives in JS and the styling lives in CSS. Where styled-components genuinely wins is when you need to compose variants and theme deep component trees. That's a smaller set of apps than people admit.