Components
Loading preview...
Pixel-art toast notification from 8bitcn.com — wraps Sonner with retro pixel borders (Sonner inlined via esbuild).
npx shadcn@latest add https://21st.dev/r/theorcdev/8bit-toast"use client";
import { Toaster, toast, Button } from "@/components/ui/8bit-toast";
export default function Default() {
return (
<div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden font-pixel">
<Toaster position="top-center" offset={48} />
<Button onClick={() => toast("New achievement unlocked")}>Notify</Button>
</div>
);
}