404 Lab Logo
404 Lab Logo
HomeComponents
404 Lab
404 LabThe error page lab

Carefully crafted, copy-paste ready 404 pages for developers who care about the details.

Everything systems are operational

Product

  • Components
  • Pricing
  • AI (Soon)

Resources

  • Request Template

Social

  • GitHub
  • Portfolio
© 2026 404 Lab. All rights reserved.
Legal stuff
Built withbyShreeteja Mutukundu
Back to components
Component

Buggame

Complete guide and implementation details for this 404 component.

404 pageInteractiveGame

An interactive Bug Game 404 page where users play as a bug jumping through clouds to reach safety. Features score tracking, increasing difficulty, and a "victory" state upon reaching score 404.

Preview
Live Preview

Installation

1Run the following command in your terminal:
npm terminal
npx 404lab@latest add buggame

This will add the BugGame component to your project automatically.

Usage

Import and render the component in your not-found.tsx file:

not-found.tsx
import BugGame from "@/components/404/BugGame"

export default function NotFoundPage() {
return 
}

Props

PropTypeDefaultDescription
classNamestring—Additional CSS classes for styling the container.

This component requires no props by default. Just drop it in and it works!

Features

Interactive Gameplay

Play as a bug jumping through clouds with smooth physics.

Score & Logic

Real-time score tracking with high score persistence.

Difficulty Scaling

Game speed and difficulty increase as you progress.

Victory State

Reach score 404 for a special thematic victory screen.

Responsive Engine

Custom canvas engine with touch support and high DPI scaling.

PreviousVercelNextVoid

On this page

PreviewInstallationUsagePropsFeatures
Live Preview