Skip to content
Projects

pdsuwwz/nextjs-nextra-starter

View on GitHub

About

🔥 面向独立开发者与小团队的 Next.js (v16) 快速启动模板: 集成 Tailwind CSS (v4)、React (v19)、Nextra (v4)、TypeScript、Shadcn UI、Radix UI、Aceternity UI、Sass、ESLint (v10)、Iconify 与 i18n 多语言。覆盖个人博客、技术文档、产品官网与 AI SaaS 落地页等核心场景,提供响应式设计、暗黑模式、鉴权示例与项目蒸馏 Skill,开箱即用、工程化完善, Deployed on Netlify and Vercel.

Web & App Development

How these counts are measured

What you can do

  • ⚡️ Next.js 16 + React 19 + TypeScript:现代前端核心栈,类型安全与开发效率兼顾
  • 🎨 Tailwind CSS v4 + Sass:支持原子化样式与工程化样式组织,快速构建响应式 UI
  • 📚 Nextra v4(内容驱动):适合文档站、知识库、博客等内容型项目
  • 🧩 Shadcn UI + Radix UI + Aceternity UI:可组合、可扩展的组件体系,便于快速搭建产品页面

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README-en.md

Original

Nextjs Nextra Starter

English | 中文

Deploy GitHub Workflow Status (branch) thanks License

🔥 A Next.js 16 starter for indie developers and small teams: Tailwind CSS 4, React 19, Nextra 4, TypeScript, Shadcn UI, Radix UI, Aceternity UI, Sass, ESLint 10, Iconify, and i18n multilingual support. Built for Blog, Docs, and AI SaaS landing pages with responsive layout, dark mode, login page, and frontend auth examples. Deploy-ready for Vercel and Netlify.

🧪 Project Distillation Skill

This repository includes project-local distillation Skills under .agents/skills/ to help future maintainers and other projects understand the starter architecture, feature map, implementation patterns, extension points, and migration notes:

When using this project as a reference for similar products, start with SKILL.md, then read the relevant reference file: architecture.md, feature-map.md, implementation-patterns.md, extension-guide.md, or migration-notes.md.

🛠️ Maintenance Commitment

🔄 Continuous update
Dependency and features are updated irregularly
🐛 Fast Response
Reply within 2 hours on average Issue
💎 Elaboration
Spend 100+ hours to perfect template details
🛡️ Stable and Reliable
Ensure that each function is fully tested
Thanks for reading

💝 If you appreciate this effort, please show your support with a ⭐ Star.

🚀 What's New

  • Tailwind CSS v4 Upgrade: Fully upgraded to Tailwind CSS v4, optimizing performance and introducing new features.
  • Nextra v4 Refactoring: Upgraded to Nextra v4, enhancing document generation efficiency and development experience.
  • Dependency Refresh: Bumped Next.js 16.3, React 19.3, TypeScript 6, ESLint 10, tsparticles v4 and more, with the related breaking changes adapted.

👉 Click to view detailed upgrade notes

🎉 Features

  • ⚡️ Next.js 16 + React 19 + TypeScript: Modern core stack with strong type safety and developer productivity
  • 🎨 Tailwind CSS v4 + Sass: Utility-first styling with scalable style organization
  • 📚 Nextra v4 (content-driven): Great fit for docs, knowledge bases, and blogs
  • 🧩 Shadcn UI + Radix UI + Aceternity UI: Composable UI system for fast product page building
  • 🌍 i18n multilingual support: Built-in structure for localized content and routes
  • 🌙 Dark mode + responsive design: Consistent UX across desktop and mobile
  • 🔐 Login page + frontend auth examples: Practical auth flow reference for rapid integration
  • 🖼️ Iconify icon support: Unified icon strategy with low integration cost
  • 🛠️ ESLint v10: Consistent code quality and team-friendly standards
  • 🚀 Deployment-ready: Works smoothly with Vercel / Netlify

🎯 Use Cases

  • Personal blog (Blog Starter Template)
  • Developer docs and product documentation sites
  • AI product websites and conversion-focused SaaS landing pages
  • Personal projects and small team product showcases

Prerequisites

  • React 19.x
  • Node >= 20.x
  • Pnpm 9.x
  • VS Code plugin dbaeumer.vscode-eslint >= v3.0.5 (pre-release)

Preview

image

image

image

image

image

Installation and Running

  • Install dependencies
pnpm i
  • Local development
pnpm dev

Then open http://localhost:8000 in your browser to access the service

🎉 Successfully running? If you like the clean setup of this template, don’t forget to show some support!

Star this repo

Using Shadcn UI Components

This project has integrated Shadcn UI. Follow these steps to install/edit components and use them:

Shadcn Structure Initialization

Execute pnpm dlx shadcn@latest init command to initialize the basic project structure for Shadcn UI (if not already initialized)

💡 Note

This initialization command is used to create the basic project structure for Shadcn UI

This project has already been initialized, so there's no need to run this command again

Component Installation

  1. Use Shadcn CLI to add components:

    pnpm dlx shadcn@latest add <component-name>
    

    For example, to add the <Alert /> component, execute the following command, see documentation

    pnpm dlx shadcn@latest add alert
    
  2. Using components

import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'

export default function Home() {
  return (
    <Alert>
      <AlertTitle>Heads up!</AlertTitle>
      <AlertDescription>
        You can add components and dependencies to your app using the cli.
      </AlertDescription>
    </Alert>
  )
}
  1. Customizing component styles (optional)

Shadcn UI components typically provide popular default styles and functionality that meet most needs. If you truly need to customize, you can edit the respective component files, such as:

Open src/components/ui/alert.tsx to modify the styles of the Alert component

Tips: In most cases, the default styles provided by Shadcn UI are sufficient to meet requirements without additional modifications

🐱 A Word from the Heart

If you've made it this far and still haven't starred the repo, then all I can say is...

Please give the project a star

Pretty please, drop a ⭐ Star! 🥺👉👈

Right now, my bug count is still higher than my star count 😭

Give a Star

🌟 Related Projects

Here are some projects that developers and teams are using, referencing, or inspired by this project:

Project Name Description
ClaudeCode101 A Chinese tutorial site for Claude Code, featuring best practices and hands-on guides.
EdgeOne Saas Starter The fastest way to create and deploy your SaaS product with EdgeOne and Tencent Cloud
Talking Web3 A Web3 project accelerator dedicated to creating outstanding Web3 projects.
CodeCrack A free and in-depth interview preparation website helping developers improve their technical skills and prepare for interviews.

📢 Community Contributions

💡 If your project is also using or referencing this project, we sincerely welcome you to:

  • Share your project link by submitting an Issue
  • Submit a Pull Request (PR) to add your project to the list

🚨 Disclaimer

This template is provided as a technical reference solution. Users must acknowledge the following risks and obligations:

  • Technical Risks: Dependent frameworks (Next.js/Nextra/Tailwind CSS) carry version iteration risks. Third-party components (e.g. Shadcn UI) follow their original repositories' specifications. Environment configuration changes may cause unforeseen build exceptions

  • Usage Restrictions: Prohibited for use in scenarios violating open-source licenses or applicable laws/regulations. Users must conduct independent code security audits and production environment validation

  • Liability Exclusion: No guarantees are provided regarding:

  1. Business applicability of technical solutions
  2. Security assurance of dependencies
  3. Official customization support

Users assume full responsibility for any direct/indirect consequences arising from usage or modifications. Continued use constitutes acceptance of these terms

License

MIT License | Copyright © 2020-PRESENT Wisdom

Explore related projects

Loading…