# Lattice Hero

> A full-viewport hero: a geodesic shell of nodes wired to their nearest neighbours, with a pulse of light travelling through the mesh. Node positions come from a Fibonacci sphere, edges from a nearest-neighbour pass at mount, and the glow sprite is drawn in the fragment shader - no model, no texture, no sprite sheet. Use it as the opening section of a product or infrastructure landing page. Layout and breakpoints are Tailwind classes; only the themeable colours are inline, and every one of them is a prop. Damped pointer parallax, adaptive quality tiers, reduced motion respected, and a staticTime prop that pins the sweep for deterministic covers.

- Author: [BEVEL UI](https://21st.dev/@bevelui)
- License: mit
- Tags: Animation
- npm dependencies: three, motion, @react-three/fiber
- Live preview: https://21st.dev/@bevelui/components/lattice-hero

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/bevelui/lattice-hero?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/animation.md
