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-neon-flux

v1.0.0

Published

Cyberpunk Neon themed Next.js template with rich 3D animations

Downloads

123

Readme

Neon Flux - Cyberpunk Next.js Template

Neon Flux Banner

A stunning cyberpunk-themed Next.js template with 3D graphics, neon effects, and interactive animations

Next.js TypeScript GSAP License

DocumentationFeaturesQuick Start


Features

Design System

  • Cyberpunk Aesthetic - Neon colors, glitch effects, and futuristic UI
  • Custom Neon Utilities - Pre-configured Tailwind CSS classes
  • Glassmorphism - Modern glass effects with backdrop blur
  • Typography - Orbitron, Space Mono, Rajdhani fonts

Animations

  • Canvas 3D Effects - Custom canvas-based cyberpunk city
  • GSAP Support - Advanced scroll-triggered animations
  • Framer Motion - Smooth micro-interactions
  • Particle Effects - Interactive background particles

Effects Library

  • Glitch Text - Dynamic text distortion effects
  • RGB Split - Chromatic aberration animations
  • Scan Lines - Retro CRT monitor effect
  • Neon Glow - Pulsing neon borders and shadows
  • Particles - Interactive particle system with connections

Components

  • Hero Section - Eye-catching landing with 3D background
  • Navigation - Glassmorphic navbar with smooth transitions
  • Buttons - Neon-styled interactive buttons
  • Cards - Holographic card components
  • Grid Background - Animated cyber grid

Performance

  • Optimized Rendering - Efficient canvas-based effects
  • Code Splitting - Dynamic imports for better loading
  • Responsive - Mobile-first design
  • Reduced Motion - Respects user preferences
  • TypeScript - Full type safety

Quick Start

Prerequisites

  • Node.js 18+
  • npm 9+

Installation

Using npx (Recommended)

npx create-neon-flux my-cyberpunk-app
cd my-cyberpunk-app
npm run dev

Using npm init

npm init @neon-flux/template my-cyberpunk-app
cd my-cyberpunk-app
npm run dev

Manual Clone

git clone https://github.com/kpab/neon-flux-template.git
cd neon-flux-template
npm install
npm run dev

Open http://localhost:3000 to see your app!


Project Structure

neon-flux-template/
├── app/
│   ├── layout.tsx          # Root layout with fonts
│   ├── page.tsx            # Home page
│   └── globals.css         # Global styles & CSS variables
│
├── components/
│   ├── 3d/
│   │   └── CyberCity.tsx   # Canvas-based 3D city scene
│   ├── animations/
│   │   ├── Hero.tsx        # Hero section
│   │   ├── GlitchText.tsx  # Glitch text effect
│   │   └── CyberGrid.tsx   # Animated grid background
│   ├── effects/
│   │   ├── ScanLines.tsx   # CRT scan line effect
│   │   └── Particles.tsx   # Particle background
│   ├── ui/
│   │   ├── CyberNav.tsx    # Navigation component
│   │   ├── NeonButton.tsx  # Neon-styled button
│   │   ├── HologramCard.tsx # Holographic card component
│   │   └── Terminal.tsx    # Terminal simulator
│   └── hooks/
│       ├── useGlitch.ts    # Glitch effect hook
│       ├── useNeonGlow.ts  # Neon glow hook
│       ├── useParallax.ts  # Parallax effect hook
│       └── useAudioReactive.ts  # Audio reactive hook
│
├── styles/
│   ├── neon.css            # Neon effect styles
│   ├── glitch.css          # Glitch animations
│   └── animations.css      # Custom animations
│
└── bin/
    └── create-app.js       # CLI tool

Customization

Colors

Edit tailwind.config.ts to change neon colors:

colors: {
  neon: {
    pink: "#FF10F0",    // Primary neon
    cyan: "#00FFF0",    // Secondary neon
    yellow: "#FFFF00",  // Accent
    purple: "#B026FF",
  },
  cyber: {
    black: "#0A0A0A",   // Background
    dark: "#0D0221",    // Dark elements
    grid: "#1A1A2E",    // Grid color
  },
}

Configuration

Copy .env.example to .env and customize:

cp .env.example .env
# Site Information
NEXT_PUBLIC_SITE_NAME="Neon Flux"
NEXT_PUBLIC_SITE_URL="https://your-site.vercel.app"

Typography

Import custom fonts in app/layout.tsx:

import { Orbitron, Space_Mono } from 'next/font/google';

const orbitron = Orbitron({ subsets: ['latin'] });
const spaceMono = Space_Mono({
  weight: ['400', '700'],
  subsets: ['latin']
});

Component Usage

GlitchText

import GlitchText from '@/components/animations/GlitchText';

<GlitchText
  text="CYBERPUNK 2077"
  className="text-6xl"
/>

NeonButton

import NeonButton from '@/components/ui/NeonButton';

<NeonButton variant="primary">
  Launch App
</NeonButton>

CyberCity (3D Scene)

import dynamic from 'next/dynamic';

const CyberCity = dynamic(() => import('@/components/3d/CyberCity'), {
  ssr: false,
});

<CyberCity />

Custom Hooks

import { useGlitch } from '@/components/hooks/useGlitch';
import { useNeonGlow } from '@/components/hooks/useNeonGlow';
import { useParallax } from '@/components/hooks/useParallax';

// Glitch effect
const isGlitching = useGlitch({ interval: 3000, duration: 300 });

// Neon glow effect
const { isGlowing, startGlow, stopGlow } = useNeonGlow();

// Parallax effect
const offset = useParallax(0.5);

Scripts

npm run dev      # Start development server
npm run build    # Build for production
npm run start    # Start production server
npm run lint     # Run ESLint

Documentation

Design System

The template includes a comprehensive design system:

  • Colors: Neon pink, cyan, yellow, purple + cyber blacks
  • Typography: 4 cyberpunk-themed font families
  • Shadows: Neon glow effects (sm, md, lg, xl)
  • Animations: 12+ custom keyframe animations
  • Utilities: Pre-configured Tailwind classes

CSS Classes

Neon Effects

.neon-text-pink      /* Pink neon text */
.neon-text-cyan      /* Cyan neon text */
.neon-border         /* Neon border effect */
.neon-button         /* Neon button style */
.neon-pulse          /* Pulsing glow animation */

Glitch Effects

.glitch              /* Full glitch effect */
.rgb-split           /* RGB color separation */
.chromatic-aberration /* Chromatic aberration */

Animations

.fade-in-up          /* Fade in from bottom */
.slide-in-left       /* Slide from left */
.float-animation     /* Floating effect */
.typewriter          /* Typing animation */

Deployment

Vercel (Recommended)

Deploy with Vercel

npm run build
vercel deploy

Netlify

npm run build
netlify deploy --prod

Docker

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD ["npm", "start"]

Advanced Features

Audio Reactive (Optional)

Enable audio-reactive animations:

import { useAudioReactive } from '@/components/hooks/useAudioReactive';

const { volume, frequency } = useAudioReactive(true);

GSAP ScrollTrigger

Add scroll-triggered animations:

import { gsap } from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';

gsap.registerPlugin(ScrollTrigger);

useEffect(() => {
  gsap.to('.element', {
    scrollTrigger: {
      trigger: '.element',
      start: 'top center',
    },
    opacity: 1,
    y: 0,
  });
}, []);

Contributing

Contributions are welcome! Please read our Contributing Guide.

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

License

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


Acknowledgments

  • Next.js - The React Framework
  • GSAP - Animation Platform
  • Tailwind CSS - Utility-first CSS
  • Framer Motion - Animation Library

Support


Built with Neon Flux Template