Next.js 14+ starter template with app router, shadcn/ui, typesafe env, icons and configs setup.
- Setup a project using the template
pnpm create next-app -e https://github.com/BikrantJung/next14-shadcn-starter
npx create-next-app -e https://github.com/BikrantJung/next14-shadcn-starter
yarn create next-app -e https://github.com/BikrantJung/next14-shadcn-starter
bunx create-next-app -e https://github.com/BikrantJung/next14-shadcn-starter
- Copy
.env.example
to.env.local
cp .env.example .env.local
This template uses shadcn's Next.js app structure from shadcn/ui.
- Next.js 14+
/app
router - TypeScript
- Tailwind CSS
- shadcn/ui (Radix UI + Tailwind)
- Prettier (w/ auto sort imports and tailwind classes)
- SEO optimized
- Typesafe env, icons, and config
- Ready to use - jump right into development
- Eslint typescript plugin
If you are using a different package manager, be sure to update the package.json format scripts.
- Check project formatting
pnpm format:check
- Format the project
pnpm format