Documentation
Install Next.js
Spin up a fresh Next.js project — the foundation for any SparkUI component.
01.Create a new Next.js app
npx create-next-app@latest02.Answer the setup prompts
What is your project named? my-app
Would you like to use TypeScript? Yes
Would you like to use ESLint? Yes
Would you like to use Tailwind CSS? Yes
Would you like to use `src/` directory? Yes
Would you like to use App Router? (recommended) Yes
Would you like to customize the default import alias (@/*)? No03.Run the dev server
cd my-app
npm run devNext up
Continue →Install Tailwind CSS