Skip to content

pastetaste

Showroom Stage

WebGLHeroesWebGL

A product showroom in one canvas: reflective floor, contact shadows, procedural studio lights and a slowly turning placeholder. Replace it with your own mesh.

Paste it into Claude Code: it installs the component, asks for your brand and content, and places it on the page you name.

Install

Or by hand, in a Next.js project with shadcn set up. It writes components/pastetaste/showroom-stage.tsx.

npx shadcn@latest add https://pastetaste.com/r/showroom-stage.json
Dependenciesthree@^0.180.0@react-three/fiber@^9.7.0@react-three/drei@^10.7.8

Prompt

Install the pastetaste component "Showroom Stage" (showroom-stage) into this Next.js project and use it.

What it is: A product showroom in one canvas: reflective floor, contact shadows, procedural studio lights and a slowly turning placeholder. Replace it with your own mesh.

Before you place it, ask me (one short message, in my language; "skip" = sensible default): which page and section it goes in, my brand colour (hex), the text, labels or images it should show, and whether I want my logo or my own copy in the demo content. Then:

Steps:
1. If the project has no components.json, run: npx shadcn@latest init -y -d. Then run: npx shadcn@latest add https://pastetaste.com/r/showroom-stage.json
   (it writes components/pastetaste/showroom-stage.tsx; install any npm packages it reports: three@^0.180.0, @react-three/fiber@^9.7.0, @react-three/drei@^10.7.8).
2. Import it: import { ShowroomStage } from "@/components/pastetaste/showroom-stage" (check the file for the exact named export).
3. Put it where it fits on the page I name, keep the rest of the page untouched, and pass props for my colours instead of editing the installed file.
4. It does not depend on Tailwind; colours come from CSS variables (--pt-*) or props.
5. It uses WebGL: render it in a client component and give it a fixed-height parent; it pauses off-screen and shows a still frame for reduced motion.

Props (all optional unless the type has no default):
- children: ReactNode — Your own meshes; omit for the placeholder slab.
- color: string = #d6451d — Placeholder product colour (hex).
- floor: string = #0b0d16 — Floor colour (hex).
- spin: number = 0.35 — Placeholder turn speed in radians per second; 0 stops it.
- className: string — Class name on the root element.
- style: CSSProperties — Inline styles merged over the defaults.

Live preview: https://pastetaste.com/c/showroom-stage
Then run the dev server, check it in the browser at desktop and mobile width, and tell me the page URL.

Props 6

PropTypeDefaultDescription
childrenReactNode-Your own meshes; omit for the placeholder slab.
colorstring#d6451dPlaceholder product colour (hex).
floorstring#0b0d16Floor colour (hex).
spinnumber0.35Placeholder turn speed in radians per second; 0 stops it.
classNamestring-Class name on the root element.
styleCSSProperties-Inline styles merged over the defaults.
View all →