/date

Primary LanguageTypeScript

Next Boilerplate

A Next.js 13 template for building apps with Radix UI and Tailwind CSS.

Use this template

  npm create next-app -e https://github.com/vinihvc/next-boilerplate my-app
  yarn create next-app -e https://github.com/vinihvc/next-boilerplate my-app
  pnpm create next-app -e https://github.com/vinihvc/next-boilerplate my-app

Features

  • Radix UI Primitives
  • Next with appdir
  • Tailwind CSS
  • Fonts with @next/font
  • Icons from Lucide
  • Dark mode with next-themes
  • Storybook
  • ESLint + Prettier
  • Husky + lint-staged
  • Premade Components by shadcn/ui

Class Merging

The cn util handles conditional classes and class merging.

Input

cn("px-2 bg-neutral-100 py-2 bg-neutral-200")
// Outputs `p-2 bg-neutral-200`

License

Licensed under the MIT license.