Components (13)
Isometric Monogram Mark
NewMotionInteractive 3D voxel isometric monogram mark featuring procedural diagonal hatching, wireframe edges, cursor-tracking radial flashlight, and spring press physics with audio feedback.
$ pnpm dlx shadcn@latest add @byphongphan/pp-mark-isometricRequires
@byphongphan in components.jsonpp-mark-isometric.tsx
Loading preview...
Installation
$ pnpm dlx shadcn@latest add @byphongphan/pp-mark-isometricRequires
@byphongphan in components.jsonAnatomy
Usage
Features
- True 30° Isometric Projection: Crafted along architectural 30° / 150° isometric axes, yielding an interlocking voxel monogram with balanced hexagonal silhouettes.
- Dynamic Cursor Flashlight: Spring-interpolated radial gradient tracks cursor coordinates in real time (
cx,cy), casting an ambient spotlight across wireframe bevels. - Micro-Hatching Facet Shading: Top faces utilize procedural SVG pattern tiles with 45-degree hairline hatching lines (
var(--pattern)). - Tactile Haptic Audio Feedback: Integrated Web Audio sound engine triggers crisp mechanical click feedback upon user tap/click.
- Interactive Spring Compression: Clicking or tapping the mark physically compresses the top voxel faces downward by 16px with spring-mass physics.
AI Prompt Guide: Generate Your Own Custom Monogram
You can generate custom isometric vector paths for your own initials or brand mark using LLMs (e.g. Claude 3.7 Sonnet, GPT-4o, or Cursor). Use the prompt below:
Copy-Paste AI Generation Prompt
Integration Steps
- Run the prompt above with your initials.
- In your copy of
pp-mark-isometric.tsx, replace the<path d="..." />insideids.faceFillwith your generated Top Faces. - Replace the
normalandpressedpath string arrays insideids.strokewith your generated Wireframe Edge Strokes. - Replace the
<motion.path d="..." />inside the solid side faces group with your generated 3D Side Walls.
Examples
Minimalist Wireframe
Deep obsidian canvas highlighting the crisp isometric construction lines and haptic click sound.
pp-mark-isometric-wireframe.tsx
Cyan Engineering Blueprint
Technical architectural blueprint aesthetics with 20px vector grid underlay and azure wireframe strokes.
pp-mark-isometric-blueprint.tsx
API Reference
PPMarkIsometric
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | "" | Additional CSS classes applied to the root <motion.svg> element. |
enableSound | boolean | true | Enables or disables the mechanical click audio feedback upon tapping/clicking. |