Components (13)
Isometric Block Typography
NewMotionHorizontal 3D block typography extruded along an isometric blueprint grid, equipped with interactive dynamic lighting, sound feedback, and edge-to-edge/padded layout variants.
$ pnpm dlx shadcn@latest add @byphongphan/phong-phan-isometricRequires
@byphongphan in components.jsonphong-phan-isometric.tsx
Loading preview...
Installation
$ pnpm dlx shadcn@latest add @byphongphan/phong-phan-isometricRequires
@byphongphan in components.jsonAnatomy
Usage
Features
- Extruded 3D Horizontal Block Typography: Clean typographic block volume projected with 45° isometric bevel depth, delivering a modern architectural aesthetic.
- Dynamic Cursor Lighting: Smooth spring-mass radial gradient illuminates letter facets in real time, casting focused highlights across wireframe edges.
- Multiple Layout Modes: Toggle between
"full"(edge-to-edge flush boundary) and"padded"(framed with bilateral breathing room and extended grid guidelines). - Procedural Front Hatching: Front faces are rendered with repeating 45-degree micro-hatching strokes for sophisticated architectural texture.
- Spring-Physics Press Dynamics: Clicking compresses the 3D block forms backward (
dx: 6px, dy: -6px) with realistic spring physics and auditory tactile feedback.
AI Prompt Guide: Generate Your Own Custom 3D Name Typography
You can prompt LLMs (Claude 3.7 Sonnet, GPT-4o, or Cursor) to generate the complete SVG paths for your own name, handle, or brand wordmark in this exact 3D extruded block style.
Copy-Paste AI Generation Prompt
Integration Steps
- Run the prompt above with your custom name or wordmark.
- In your copy of
phong-phan-isometric.tsx, replace the<path d="..." />elements inids.frontFillwith your generated Front Faces. - Replace the
dattributes inids.stroke(normalandpressed) with your generated Wireframe Strokes. - Replace the
<motion.path d="..." />in the solid side walls group with your generated 3D Side & Top Walls. - Adjust the
viewBoxwidth inphong-phan-isometric.tsxto match your text's computed width.
Examples
Edge-to-Edge Typography
Full bleed horizontal presentation where characters span from edge to edge with 0px margin.
phong-phan-isometric-full.tsx
Padded Blueprint Layout
Framed presentation with lateral padding and extended construction grid tracks.
phong-phan-isometric-padded.tsx
API Reference
PhongPhanIsometric
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "full" | "padded" | "full" | Switches between full bleed ("full") and padded framed layout ("padded"). |
padding | boolean | false | Boolean shortcut: true sets padded layout, false sets edge-to-edge layout. |
showGrid | boolean | true | Toggles the extended technical blueprint construction gridlines. |
enableSound | boolean | true | Enables tactile mechanical sound feedback when the user clicks or taps. |
className | string | "" | Additional CSS classes applied to the root SVG element. |