npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-next-vault

v0.1.6

Published

CLI to create a fully configured Next.js app with Tailwind, shadcn/ui, themes, and more.

Downloads

26

Readme


📋 Table of Contents


📘 Overview

create-next-vault is a powerful CLI tool that scaffolds a fully configured Next.js project with modern tooling and best practices pre-wired. Skip the tedious setup and start building your application immediately with a production-ready foundation.

Perfect for developers who want to:

  • 🚀 Get started with Next.js quickly
  • 🎨 Use TailwindCSS with zero configuration
  • 🧱 Leverage shadcn/ui components
  • 🌓 Implement dark/light theme support
  • 💫 Add smooth animations with Framer Motion
  • 🧹 Maintain code quality with ESLint and Prettier

🚀 Features

Core Features

  • Next.js 14+ with TypeScript — Latest Next.js with App Router and TypeScript preconfigured
  • 🎨 TailwindCSS — Utility-first CSS framework ready to use
  • 🧱 shadcn/ui — Beautiful, accessible UI components built with Radix UI
  • 🌗 Theme Support — Dark/light theme switching via next-themes
  • 💫 Framer Motion (optional) — Smooth animations and transitions
  • 🧹 ESLint + Prettier — Code formatting and linting configured
  • 🪄 Git Auto-Init — Optional Git repository initialization with initial commit

Technical Highlights

  • App Router — Uses Next.js 13+ App Router by default
  • TypeScript — Full TypeScript support out of the box
  • Modern Tooling — Latest versions of all dependencies
  • Best Practices — Follows Next.js and React best practices
  • Accessibility — shadcn/ui components are built with accessibility in mind

⚙️ Requirements

Before using create-next-vault, ensure you have the following installed:

  • Node.js ≥ 18 (LTS version recommended)
  • npm, pnpm, or yarn package manager
  • Git (optional, for version control)

🧭 Quick Start

Create a new Next.js project in seconds:

npx create-next-vault my-next-app
cd my-next-app
npm run dev

That's it! Your development server will be running at http://localhost:3000.


📖 Usage

Interactive Setup

When you run create-next-vault, you'll be prompted with several options:

  1. Project Name — Name of your project (default: my-next-app)
  2. Add shadcn/ui components? — Install and configure shadcn/ui (default: yes)
  3. Add dark/light theme support? — Set up next-themes for theme switching (default: yes)
  4. Add framer-motion animations? — Install Framer Motion for animations (default: no)
  5. Initialize git repository? — Create a Git repo and make an initial commit (default: yes)

Example

$ npx create-next-vault my-awesome-app

📁  Project name: my-awesome-app
🧱  Add shadcn/ui components? Yes
🌓  Add dark/light theme support? Yes
💫  Add framer-motion animations? No
🪄  Initialize git repository? Yes

🚀 Creating Next.js project...
✅ Next.js project created.
🎨 Installing Tailwind CSS...
✅ TailwindCSS installed.
🧩 Installing extra dependencies...
✅ Extra dependencies installed.
🧱 Setting up shadcn/ui...
✅ shadcn/ui initialized.
🪄 Initializing git...
✅ Git repository initialized.

✅  Project "my-awesome-app" created successfully!

Next steps:
  cd my-awesome-app
  npm run dev

✨  Happy hacking with Next Vault!

⚙️ Configuration

TailwindCSS

TailwindCSS is automatically configured with the following content paths:

  • ./app/**/*.{js,ts,jsx,tsx,mdx}
  • ./pages/**/*.{js,ts,jsx,tsx,mdx}
  • ./components/**/*.{js,ts,jsx,tsx,mdx}

Theme Support

If you enabled theme support, the Providers component is automatically added to your root layout. You can use it in your components:

"use client";

import { useTheme } from "next-themes";

export function ThemeToggle() {
  const { theme, setTheme } = useTheme();
  
  return (
    <button onClick={() => setTheme(theme === "dark" ? "light" : "dark")}>
      Toggle theme
    </button>
  );
}

shadcn/ui

After initialization, you can add shadcn/ui components:

npx shadcn@latest add button
npx shadcn@latest add card
npx shadcn@latest add dialog

Visit the shadcn/ui documentation for more components.


📁 Project Structure

After scaffolding, your project will have the following structure:

my-next-app/
├── app/
│   ├── layout.tsx          # Root layout with Providers (if theme enabled)
│   ├── page.tsx            # Home page
│   ├── globals.css         # Global styles with Tailwind
│   └── providers.tsx       # Theme provider (if theme enabled)
├── components/             # Your React components
├── public/                 # Static assets
├── tailwind.config.js      # Tailwind configuration
├── tsconfig.json           # TypeScript configuration
├── next.config.js          # Next.js configuration
└── package.json            # Dependencies

🧩 Contributing

Contributions are welcome and greatly appreciated! Here's how you can help:

Getting Started

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Make your changes
  4. Commit your changes
    git commit -m "Add some amazing feature"
  5. Push to the branch
    git push origin feature/amazing-feature
  6. Open a Pull Request

Guidelines

  • Follow the existing code style
  • Add tests for new features (if applicable)
  • Update documentation as needed
  • Ensure all tests pass
  • Be respectful and constructive in discussions

Reporting Issues

If you find a bug or have a suggestion, please open an issue on GitHub.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


👤 Author

Omkar Bagul


💖 Sponsor

If you find this project useful, consider supporting its development on GitHub Sponsors.

Your support helps fund:

  • ✨ New features and improvements
  • 🐛 Bug fixes and maintenance
  • 📚 Documentation updates
  • 🧪 Testing and CI/CD

🗺️ Roadmap

Upcoming Features (v0.2.0)

  • 🚀 --fast flag for instant, non-interactive setup
  • 📦 Option to use pnpm or bun for faster installs
  • 🎨 Pre-configured theme presets
  • 📱 Mobile-first component templates
  • 🔌 Plugin system for extensibility
  • 🌐 Internationalization (i18n) support
  • 🧪 Testing setup (Jest, Vitest, or Playwright)

Future Considerations

  • 🔐 Authentication templates
  • 💾 Database integration examples
  • 🚀 Deployment configurations
  • 📊 Analytics integration
  • 🎯 Performance optimizations

🙏 Acknowledgments


📚 Additional Resources