CSS Modules
Locally-scoped CSS for component-based apps. Plain CSS files with hashed class names, no runtime overhead, no learning curve.
CSS Modules give you locally-scoped CSS without a runtime. You write a regular .module.css file, import it as an object in your component, and the build tool hashes class names so they cannot collide globally. There is no API to learn beyond CSS itself, no JIT engine, and no extra bundle. Bundlers like Vite, webpack, and Next.js support CSS Modules natively. Best fit for teams who want to write real CSS and care about a tiny stylesheet rather than utility composition.
Similar Tools
Tailwind CSS
Utility-first CSS framework. Compose styles with class names, scan templates with the JIT engine, and ship tiny CSS bundles. v4 rewrote the engine in Rust.
Turborepo
Vercel's high-performance monorepo build system. Remote caching, task pipelines, and incremental builds. Drop into any pnpm or npm workspace.
Nx
Polyglot monorepo platform from Nrwl. Project graph, generators, executors, distributed task execution, and Nx Cloud for remote caching.
Vercel
Deployment platform behind Next.js. Git push to deploy. Edge functions, image optimization, analytics. Free tier is generous. This site runs on Vercel.
Get started with CSS Modules
Locally-scoped CSS for component-based apps. Plain CSS files with hashed class names, no runtime overhead, no learning curve.
Try CSS ModulesGet weekly tool reviews
Honest takes on AI dev tools, frameworks, and infrastructure - delivered to your inbox.
Subscribe FreeMore Infrastructure Tools
Vercel
Deployment platform behind Next.js. Git push to deploy. Edge functions, image optimization, analytics. Free tier is generous. This site runs on Vercel.
Convex
Reactive backend - database, server functions, real-time sync, cron jobs, file storage. All TypeScript. This site's backend (courses, videos, user data) runs on Convex.
Cloudflare
CDN, DNS, DDoS protection, and edge computing. Free tier handles most needs. This site uses Cloudflare for DNS and analytics. Workers for edge compute.
Related Guides
MCP Servers Explained
What MCP servers are, how they work, and how to build your own in 5 minutes.
AI AgentsBuilding Your First MCP Server
Step-by-step guide to building an MCP server in TypeScript - from project setup to tool definitions, resource handling, testing, and deployment.
AI AgentsAuto Memory - Claude Code
Automatic session-to-session memory of build commands, errors, and learnings.
Claude Code