Nextjs + Chakra + Typescript Starter is a boilerplate repository that combines Next.js 12, React 18, TypeScript, and Chakra UI to scaffold a new web application with configured tooling.
What is Nextjs + Chakra + Typescript Starter?
This is an opinionated starter template that scaffolds a web application using Next.js 12, React 18, TypeScript, and Chakra UI. It provides a pre-configured codebase with linting, formatting, and import sorting so you can begin building without setting up tooling. The template takes an empty directory as input and produces a Next.js application with a pages directory, a sample API route, and Chakra UI ready to use. It is designed to run on the Next.js framework and can be deployed on Vercel.
Key Features
- Next.js 12 — Uses the Next.js 12 framework with file-based routing and API routes.
- React 18 — Built on React 18 with modern concurrent rendering capabilities.
- TypeScript — Adds static type checking to the entire project.
- Chakra UI — Provides accessible, ready-to-use components for styling.
- GitHub Actions — Includes a workflow that lints your code on pull requests.
- ESLint with auto-sort imports — Automatically finds and fixes problems, and sorts imports consistently.
- Prettier — Formats code consistently across the project.
Who is it for?
This starter is for developers who want to start a Next.js project with Chakra UI and TypeScript without manually configuring tooling. Teams that want enforced linting and formatting in CI can use the GitHub Actions workflow. It also suits creators building static or server-rendered sites with Next.js who plan to deploy on Vercel.
What can you do with it?
- Rapid prototyping: Scaffold a new project and edit pages/index.tsx to see live updates during development.
- Building API routes: Use the example at pages/api/hello.ts to add backend endpoints.
- Deploying to Vercel: Connect the repository to Vercel for automatic deployment of the Next.js app.
How does it work?
After installing dependencies, run npm run dev or yarn dev to start the development server at localhost:3000. Edit pages/index.tsx to see auto-updates. API routes in pages/api are mapped to /api/* paths. The GitHub Actions workflow lints code on pull requests.
FAQ
Is the starter free to use?
Yes, it is an open-source starter project with no mention of a license charge.
Does it include Tailwind CSS?
No, it uses Chakra UI instead of Tailwind, even though it was inspired by a Tailwind-based starter.
Can I deploy to a platform other than Vercel?
Next.js applications can be deployed on other platforms, but the README specifically highlights Vercel as the easiest way.
Does it include testing tools?
The README does not mention any testing framework such as Jest or Cypress.
What is the ESLint configuration?
The setup includes ESLint for linting and auto-sorting imports, plus Prettier for code formatting.








