A plug-and-play Boombot that follows your cursor like oneko.js, but in 3D.
Move your cursor around, you can already see it running on this site!
Add BoomBot to your project in just a few minutes.
Run the following command to bootstrap your Next.js application
Run this command to setup shadcn/ui
Run this command to add button component
Run this command to install required dependencies
Wrap your app with the provider and mount the BoomBot overlay inside layout.tsx.
import "./globals.css";
import { BoomBotOverlayGate, BoomBotProvider } from "@/components/BoomBot";
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>
<BoomBotProvider>
<BoomBotOverlayGate
lightingPreset="studio"
modelPath="/boombot.glb"
depth={80}
speed={20}
showFloor={false}
/>
{children}
</BoomBotProvider>
</body>
</html>
);
}Import the toggle button and place it anywhere in your UI to let users open or close BoomBot.
import { BoomBotToggleButton } from "@/components/BoomBot";
export default function Home() {
return (
<div className="flex min-h-screen items-center justify-center bg-zinc-50 dark:bg-black">
<BoomBotToggleButton />
</div>
);
}BoomBot is now ready
Start your development server and use the toggle button to launch it in your app.
Customize BoomBot's behavior and appearance.
—Path to the GLB / GLTF model file.
10Camera distance from origin (controls zoom level).
5Bot movement speed toward the cursor.
0.1Distance at which the bot stops moving toward the cursor.
1Camera rotation sensitivity when dragging the bot.
9999CSS z-index for overlay positioning.
falseShow a ground plane and grid beneath the bot.
1.3Scale multiplier for the 3D model.
"default"Lighting environment preset (default | studio | sunset | neon | spotlight).
50Size of the ground plane and grid (when showFloor is true).
Download the complete component package and start using BoomBot in your project today.
“You have a right to perform your prescribed duty, but you are not entitled to the fruits of actions.”
- Bhagavad Gita