Wireframe Terrain

Wireframe Terrain

An endless flight over wireframe mountains — perspective-projected ridge lines scroll toward the camera and dissolve into fog at the horizon, with a calm valley down the middle for your content.

Installation

▸ Run the following command

npx shadcn@latest add https://www.mellowui.com/r/wireframe-terrain.json

▸ Or install manually

  1. Copy the source from the Code tab above.
  2. Place it at components/mellow/wireframe-terrain.tsx
  3. Import and use.

API Reference

PropTypeDefaultDescription
speednumber1Flight speed multiplier.
amplitudenumber1Mountain height multiplier.
lineColorstringWireframe colour — defaults to the theme ink.
horizonnumber0.38Horizon position as a fraction of height, from the top.
cursorbooleanfalseBank the camera toward the cursor.
childrenReact.ReactNodeContent rendered above the terrain.
classNamestringAdditional CSS classes.