npm install @vanilla-extract/cssexport function Example() { return <section>vanilla-extract can be evaluated inside a Preact component.</section>;}@vanilla-extract/cssZero-runtime CSS-in-TypeScript solution independent of Preact.
Built for Preact and does not require a React compatibility layer.