Working example of Next.js 12 with Linaria 4 & Inline CSS Extraction Ingredients for this to work: Next config by @anulman based on his comment at callstack/linaria#589 (comment) Babel config from that same comment Server side inline css extraction based on vercel/next.js#16784 (reply in thread)