Skip to content
Kitbay
Skill

material-ui-nextjs

MITUpdated on Nov 11, 202699,322GitHub stars

MUI's own skill for setting up or debugging Material UI in a Next.js app, version 1.0.0.

What the skill teaches

MUI's own skill for setting up or debugging Material UI in a Next.js app, version 1.0.0. It applies when starting an App Router or Pages Router project with @mui/material, when styles are missing or load in the wrong order, when combining next/font with a theme, when using Tailwind or CSS Modules alongside MUI through CSS layers, when Button with a Next.js Link hits client-boundary errors, or when views depend on useSearchParams and need Suspense. The short SKILL.md points to a longer guide covering cache providers for each router, fonts, CSS theme variables and server-rendering flicker, CSS layers and Link wrappers, plus a reference file of import paths.

Capabilities

  • Set up Material UI with the Next.js App or Pages Router
  • Fix missing or misordered styles in server rendering
  • Combine next/font, Tailwind or CSS Modules with an MUI theme
  • Use Next.js Link with MUI components