Text3D
Extruded, slowly floating 3D text rendered with drei <Text3D>, colored with --primary. Defaults to a typeface served from the jsDelivr npm mirror; pas
Extruded, slowly floating 3D text rendered with drei <Text3D>, colored with --primary. Defaults to a typeface served from the jsDelivr npm mirror; pass font to bundle your own.
Customize
Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | (required) | The string to extrude. |
size | number | 1 | Glyph size. |
depth | number | 0.3 | Extrusion depth. |
font | string | Helvetiker Bold (CDN) | Path/URL to a three.js typeface JSON. |
className | string | — | Classes for the wrapper element (set its height here). |
theme | "auto" | "light" | "dark" | "auto" | Color source. auto reads the live shadcn theme. |
textstringThe string to extrude.
(required)sizenumberGlyph size.
1depthnumberExtrusion depth.
0.3fontstringPath/URL to a three.js typeface JSON.
Helvetiker Bold (CDN)classNamestringClasses for the wrapper element (set its height here).
—theme"auto" | "light" | "dark"Color source. auto reads the live shadcn theme.
"auto"FloatingCard3D
A flat card floating in 3D space that tilts toward the cursor with spring smoothing. The surface uses --background with --border edges. Overlay real H
ProductShowcase
A product composed of merged geometry resting on a circular pedestal under soft contact shadows and studio lighting, with a slow auto-rotation.