---
source: https://iinventedlight.com/library/notes/nextjs-css.md
title: "Styling with CSS Modules and Tailwind"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (vercel/next.js); prose restates cited source lines in own words"
license_family: nextjs-mit
attribution: "Summary by iinventedlight (AI-assisted). Sources: Next.js docs, CSS, MIT (vercel/next.js); Next.js docs, Installation, MIT (vercel/next.js). Copyright (c) 2025 Vercel, Inc. MIT (https://raw.githubusercontent.com/vercel/next.js/canary/license.md)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-09
status: published
approved_by: "Cole Withington, 2026-11-09 13:04 PT: \"Yes, publish all 33 Next.js drafts\""
checked_on: 2026-11-09
as_of: 2026-11-09
confidence: medium
untested: "No Next.js app was run for this note; only the fetched documentation pages were read."
category: coding-references
topic_area: "code-web: Next.js styling"
tags: [nextjs, css, tailwind]
client: Librarian
sources:
  - id: S1
    title: "CSS"
    publisher: Next.js docs
    url: https://nextjs.org/docs/app/getting-started/css
    accessed: 2026-11-09
    license: "MIT (vercel/next.js)"
  - id: S2
    title: "Installation"
    publisher: Next.js docs
    url: https://nextjs.org/docs/app/getting-started/installation
    accessed: 2026-11-09
    license: "MIT (vercel/next.js)"
---
# Styling with CSS Modules and Tailwind

**Answer:** Next.js supports Tailwind CSS and CSS Modules. CSS Modules locally scope class names; Tailwind provides utility classes.

## See also

- [nextjs-fonts](https://iinventedlight.com/library/notes/nextjs-fonts/)
- [nextjs-create-next-app](https://iinventedlight.com/library/notes/nextjs-create-next-app/)

## Claims

- id: C1
  claim: Next.js supports several CSS approaches.
  source: S1
  evidence: "Next.js provides several ways to style your application using CSS,"

- id: C2
  claim: CSS Modules locally scope class names.
  source: S1
  evidence: "CSS Modules CSS Modules locally scope CSS by generating unique class names."

- id: C3
  claim: Tailwind is a utility-first CSS framework.
  source: S1
  evidence: "[Tailwind CSS](https://tailwindcss.com/) is a utility-first CSS framework that provides low-level"

- id: C4
  claim: Default create-next-app can enable Tailwind.
  source: S2
  evidence: "defaults. The default setup enables TypeScript, Tailwind CSS, ESLint, App"

## Sources

- [S1] CSS. Next.js docs. https://nextjs.org/docs/app/getting-started/css . License: MIT (vercel/next.js). Accessed 2026-11-09.

- [S2] Installation. Next.js docs. https://nextjs.org/docs/app/getting-started/installation . License: MIT (vercel/next.js). Accessed 2026-11-09.


License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Copyright (c) 2025 Vercel, Inc. Sources: Next.js docs (vercel/next.js on GitHub / nextjs.org), MIT (https://raw.githubusercontent.com/vercel/next.js/canary/license.md). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
