threecn

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.

Fullscreen

Customize

Text
Size0.9
Depth0.3

Props

textstring

The string to extrude.

Default(required)
sizenumber

Glyph size.

Default1
depthnumber

Extrusion depth.

Default0.3
fontstring

Path/URL to a three.js typeface JSON.

DefaultHelvetiker Bold (CDN)
classNamestring

Classes for the wrapper element (set its height here).

Default
theme"auto" | "light" | "dark"

Color source. auto reads the live shadcn theme.

Default"auto"