8-bit 404 Undead
8bitcn/not-found3FreeBlock
Cursed 404 page with pixel undead character.
Install it
npx shadcn@latest add https://www.8bitcn.com/r/not-found3.jsonSource
1import Link from "next/link";2import Image from "next/image";34import { cn } from "@/lib/utils";56import { Badge } from "@/components/ui/8bit/badge";7import { Button } from "@/components/ui/8bit/button";89import "@/components/ui/8bit/styles/retro.css";1011interface NotFound3Props {12 badge?: string;13 className?: string;14 cta?: string;15 ctaSecondary?: string;16 description?: string;17 href?: string;18 hrefSecondary?: string;19 imageSrc?: string;20 title?: string;21}2223export default function NotFound3({24 title = "This page should have stayed buried",25 description = "Looks like this route crawled out of the crypt and disappeared again.",26 badge = "CURSED ROUTE",27 cta = "Return Home",28 ctaSecondary = "Browse Blocks",29 href = "/",30 hrefSecondary = "/docs/blocks",31 imageSrc = "/images/8bit-undead.png",32 className,33}: NotFound3Props) {34 return (35 <div36 className={cn(37 "retro grid w-full place-content-center gap-5 bg-background px-4 py-16 text-center md:py-24",38 className,39 )}40 >41 {badge && (42 <div className="flex justify-center">43 <Badge variant="secondary">{badge}</Badge>44 </div>45 )}4647 <div className="retro font-bold text-6xl tracking-tight sm:text-8xl">48 40449 </div>5051 {imageSrc && (52 <div className="flex justify-center -mt-10">53 <Image54 alt="404"55 className="pixelated"56 height={200}57 src={imageSrc}58 width={200}59 />60 </div>61 )}6263 <h1 className="retro font-bold text-xl tracking-tight sm:text-2xl">64 {title}65 </h1>6667 <p className="retro text-muted-foreground text-[9px]">{description}</p>6869 <div className="flex flex-wrap justify-center gap-4">70 <Button asChild>71 <Link href={href}>{cta}</Link>72 </Button>73 {ctaSecondary && hrefSecondary && (74 <Button asChild variant="outline">75 <Link href={hrefSecondary}>{ctaSecondary}</Link>76 </Button>77 )}78 </div>79 </div>80 );81}
What it pulls in
Other registry items
Files it writes
More from 8bitcn
All 121 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| 8-bit Advanced 1advanced1 | 8bitcn | Blocks | Free | no deps · 3 files | |
| 8-bit Advanced 2advanced2 | 8bitcn | Blocks | Free | no deps · 5 files | |
| 8-bit Advanced 3advanced3 | 8bitcn | Blocks | Free | no deps · 6 files | |
| 8-bit Audio Settingsaudio-settings | 8bitcn | Blocks | Free | 2 deps · 7 files | |
| 8-bit Chapter Introchapter-intro | 8bitcn | Blocks | Free | no deps · 3 files | |
| 8-bit Character Sheetcharacter-sheet | 8bitcn | Blocks | Free | no deps · 9 files | |
| 8-bit Chartchart | 8bitcn | Blocks | Free | no deps · 3 files | |
| 8-bit Chart Area Stepchart-area-step | 8bitcn | Blocks | Free | no deps · 3 files |
