Try   HackMD

install nextjs UI SETP

  1. install nextjsUI

npm i @nextui-org/react framer-motion

  1. add tailwind.config.js setting

// tailwind.config.js

const {nextui} = require("@nextui-org/react");

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
//

​​​​"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",

],
theme: {
extend: {},
},

​​darkMode: "class",
​​plugins: [nextui()],

};

  1. add _app.tsx

// pages/_app.js

import {NextUIProvider} from '@nextui-org/react'

function MyApp({ Component, pageProps }) {
return (

​​  <NextUIProvider>
​​​​  <Component {...pageProps} />
​​  </NextUIProvider>

)
}

export default MyApp;