Skip to main content

material-ui-nextjs

Integrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.

Informações da origem

Repositório
mui/material-ui-docs
Última atividade na origem
29 de junho de 2026 às 09:31
Idioma detectado do SKILL.md
inglês
Estrelas
337
Forks
65

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
5 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
material-ui-nextjs
description
Integrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.
license
MIT
metadata
{"author":"mui","version":"1.0.0"}
# Material UI and Next.js Agent skill for Next.js + Material UI wiring (SSR/streaming, cache providers, fonts, layers, Link, App Router URL state). SKILL.md is the entry; AGENTS.md is the full guide. ## When to apply - New App Router or Pages Router app using `@mui/material` - Styles missing, wrong order, or in `body` instead of `head` - `next/font` + `ThemeProvider` / `createTheme` - Tailwind or CSS Modules + MUI (`enableCssLayer`) - `Button` + `component={Link}` or Next.js v16 client boundary errors - `useSearchParams` / URL-driven MUI views and Suspense boundaries ## Sections in AGENTS.md | Area | Topics | | :------------ | :-------------------------------------------------------------------------------------- | | App Router | `AppRouterCacheProvider`, `@emotion/cache`, `options`, `useSearchParams` + `<Suspense>` | | Pages Router | `_document`, `_app`, `DocumentHeadTags`, `AppCacheProvider` | | Fonts | `'use client'` theme, `next/font`, CSS variables on `html` | | CSS variables | `cssVariables`, SSR flicker docs | | CSS layers | `enableCssLayer`, Tailwind / other CSS | | Link | Client wrapper, routing guide, examples repo | ## Full guide Read [AGENTS.md](./AGENTS.md) for complete steps and doc links. [reference.md](./reference.md) lists import paths and provider shape.
Ver no GitHub