BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/threecn/product-showcase

ProductShowcase

threecn/product-showcase
FreeComponent

A product on a circular pedestal with soft contact shadows, studio lighting and slow auto-rotate.

Install it

npx shadcn@latest add https://threecn.dev/r/product-showcase.json

Source

components/threecn/product-showcase.tsxthreecn.dev/r/product-showcase.json
1"use client"
2
3import * as React from "react"
4import { useFrame } from "@react-three/fiber"
5import { ContactShadows, Float, OrbitControls } from "@react-three/drei"
6import * as THREE from "three"
7
8import { SceneContainer } from "@/components/threecn/scene-container"
9import {
10 useShadcnTheme,
11 type ThemeMode,
12} from "@/components/hooks/use-shadcn-theme"
13
14type ShowcaseProps = {
15 color?: string
16 metalness: number
17 roughness: number
18 theme: ThemeMode
19}
20
21function Showcase({ color, metalness, roughness, theme }: ShowcaseProps) {
22 const groupRef = React.useRef<THREE.Group>(null)
23 const { primaryColor, accentColor, mutedColor, foregroundColor } =
24 useShadcnTheme(theme)
25
26 const productColor = React.useMemo(
27 () => (color ? new THREE.Color(color) : primaryColor),
28 [color, primaryColor]
29 )
30
31 useFrame((_, delta) => {
32 if (groupRef.current) groupRef.current.rotation.y += delta * 0.25
33 })
34
35 return (
36 <group position={[0, -0.6, 0]}>
37 {/* circular pedestal */}
38 <mesh position={[0, -0.15, 0]} receiveShadow>
39 <cylinderGeometry args={[1.7, 1.85, 0.3, 64]} />
40 <meshStandardMaterial color={accentColor} metalness={0.4} roughness={0.6} />
41 </mesh>
42 <mesh position={[0, 0.01, 0]} receiveShadow>
43 <cylinderGeometry args={[1.55, 1.55, 0.04, 64]} />
44 <meshStandardMaterial color={mutedColor} metalness={0.2} roughness={0.8} />
45 </mesh>
46
47 {/* the "product": a small composed object */}
48 <Float speed={2} rotationIntensity={0.2} floatIntensity={0.4}>
49 <group ref={groupRef} position={[0, 1.05, 0]}>
50 <mesh castShadow>
51 <torusKnotGeometry args={[0.55, 0.19, 160, 24]} />
52 <meshStandardMaterial
53 color={productColor}
54 emissive={productColor}
55 emissiveIntensity={0.22}
56 metalness={metalness}
57 roughness={roughness}
58 />
59 </mesh>
60 <mesh castShadow position={[0, 0, 0]}>
61 <icosahedronGeometry args={[0.34, 0]} />
62 <meshStandardMaterial
63 color={foregroundColor}
64 metalness={0.9}
65 roughness={0.1}
66 />
67 </mesh>
68 </group>
69 </Float>
70
71 <ContactShadows
72 position={[0, -0.28, 0]}
73 opacity={0.45}
74 scale={7}
75 blur={2.6}
76 far={4}
77 resolution={512}
78 color="#000000"
79 />
80 </group>
81 )
82}
83
84export type ProductShowcaseProps = {
85// … truncated

What it pulls in

npm packages

  • three
  • @react-three/fiber
  • @react-three/drei

Files it writes

  • components/threecn/product-showcase.tsx
  • components/threecn/scene-container.tsx
  • components/hooks/use-shadcn-theme.ts

Facts

Registry
threecn
Type
registry:ui
Access
Free
Files written
3
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

threecn.dev ln-dev7/threecn on GitHub Raw registry item This item as JSON

More from threecn

All 28 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AuroraRibbonsaurora-ribbonsthreecnComponentsFree3 deps · 3 files
BoidsboidsthreecnComponentsFree3 deps · 3 files
ClothcloththreecnComponentsFree3 deps · 3 files
CrystalcrystalthreecnComponentsFree3 deps · 3 files
CubeWavecube-wavethreecnComponentsFree3 deps · 3 files
CurlFlowcurl-flowthreecnComponentsFree3 deps · 3 files
DnaHelixdna-helixthreecnComponentsFree3 deps · 3 files
FloatingCard3Dfloating-card-3dthreecnComponentsFree3 deps · 3 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex