Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Starter kit with Next.js, Chakra-UI, Framer-Motion in Typescript. Internationalization, SEO, Components, Theme (dark/light) and more...
The Typescript Next.js Chakra-UI Framer-Motion Starter Kit is a boilerplate template for building Next.js applications with TypeScript, Chakra-UI, and Framer-Motion, bundling internationalization, SEO, and theme switching out of the box.
This starter kit is a pre-configured Next.js project that combines the Chakra-UI component library with Framer-Motion animations and TypeScript. It is created and maintained by hakkaofdev (Alexandre Gossard) and is available as an open-source GitHub repository. The template takes a fresh Next.js app and adds a folder structure, custom path aliases, internationalization files, SEO components, theme customization, and a set of reusable React components, so you can start coding features instead of configuration. A live demo is available at https://ts-next-chakra-motion-kit.vercel.app/.
npm run dev for development../internationalization/locales/, a fallback language of us, and detection order of localStorage then navigator.next-seo for per-page OpenGraph/Twitter meta tags and next-sitemap for sitemap and robots.txt generation; the PageLayout component wraps NextSeo with a default configuration../src/theme/ allow you to customize colors, fonts, and component styles; a ThemeButton component toggles dark and light modes.ThemeButton, LanguagesButton, and PageLayout, each with a dedicated folder under ./src/components/.react-use v17.4.0, react-intersection-observer v9.4.1, @react-icons v4.7.1, prettier v2.8.1, eslint v8.31.0, plus fonts from fontsource.org.@/components, @/types, @/utils, @/data, @/providers, @/internationalization, and @/theme instead of relative paths.PageLayout for consistent SEO, the ThemeButton for dark/light mode, and Framer Motion variants for page entrance animations.react-intersection-observer dependency supports scroll-triggered animations.pages/ folder, reuse the internationalization keys for multilingual content, and generate a sitemap with npm run postbuild.Clone the repository, run npm install, then npm run dev to launch the development server. To generate the sitemap and robots.txt, run npm run postbuild. The project structure separates pages under pages/, components under src/components/, locales under internationalization/locales/, and theme files under src/theme/.
The starter kit ships with English (us) and French (fr) translations. New languages are added by creating a resource entry in ./internationalization/i18n.ts and a corresponding locale folder.
Yes. It uses next-seo for per-page meta tags and next-sitemap for sitemap.xml and robots.txt generation. The PageLayout component provides a default NextSeo configuration you can override per page.
Chakra-UI theme files are in ./src/theme/. You can modify the existing token scales or follow the official Chakra-UI theming documentation to create your own component styles.
Yes, Framer Motion is installed as a dependency of Chakra-UI. The README shows a MotionContainer pattern that wraps Chakra-UI's Container with motion() and uses variants for enter/exit transitions.
Yes, the entire project is written in TypeScript, with a tsconfig.json and type definitions folder in ./src/types/.
