This is a Next.js project bootstrapped using create-next-app
with Base UI installed and Tailwind CSS for styles.
Download the example or clone the repo:
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/base-next-app-router-tailwind-ts
cd base-next-app-router-tailwind-ts
Install dependencies and run:
# npm
npm install
npm run dev
# yarn
yarn
yarn dev
# pnpm
pnpm install
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This example uses next/font/google
to automatically optimize and load Inter, a custom Google Font.
To learn more about this example:
- Next.js Documentation - learn about Next.js features and API.
- Customizing Base UI - strategies for styling and customizing Base UI.