A landing page that feels alive without an animation library
Two product landing pages built with React, Tailwind and about four small libraries. Where the motion actually comes from, and what I would add before calling either one finished.
Articles
brainwave and athlete-iq are two product landing pages: one for an AI chat app, one for a face-recognition module for athletes. Both are React 18 with Vite and Tailwind. Between them, the motion comes from exactly one library: react-just-parallax. The rest is CSS, a scroll lock, and SVG.
People assume a page that moves this much is running GSAP or Framer Motion. It is not, and the reason is not purity. It is that a landing page has a small number of motion problems, and most of them are solved by knowing which layer owns the movement.
Parallax is a scroll value, not an animation
react-just-parallax gives you a provider and a wrapper with a speed prop. That is the whole API. Under it, the effect is a scroll position read on the page and a transform applied to the layer: the background moves slower than the content, so the page gains depth.
The trick that makes it look intentional is restraint:
- Two or three layers, not eight.
- Small offsets. A hero that slides half a screen looks broken on a laptop.
- Nothing on top of text the user is reading.
The same idea covers the decorative curves and the gradient glow behind the hero: they are positioned elements that drift a few pixels, and nobody can tell whether the movement is parallax or design.
The scroll lock is a one-line bug factory
Every mobile menu needs the page to stop scrolling behind it, and scroll-lock does exactly that. It also fixes the thing that breaks hand-rolled versions: the jump to the top when you set overflow: hidden on the body.
That jump is the difference between a menu that feels like an app and a menu that feels like a web page from 2012. It is one dependency, about a kilobyte, and it saves you an hour of fighting iOS.
SVG first, images second
Both projects import their assets through a single barrel file, src/assets/index.js, and almost all of them are SVG: logos, benefit icons, check marks, curves, the grid texture.
The reason is weight and sharpness at once. A section icon as SVG is a few hundred bytes, it is crisp on any screen, and it can inherit color. A section icon as a PNG is three sizes and a retina problem.
The photographic assets that remain are backgrounds and product shots, and those are the only files where a real image is doing real work.
Tailwind is the design system here
Both pages define their breakpoints, their font scale and their colors in tailwind.config.js instead of scattering values across components. The custom screens are the part that matters: the hero has three distinct layouts, and naming them once beats writing min-width queries in twelve files.
The other rule: no component library. These are marketing pages, the components are sections, and a section is a hundred lines of JSX with classes. Adding a design system to a page that has one page of UI is how you spend a week on a button.
The one place I used a form library
athlete-iq has a demo-request form, and that is react-hook-form. It is the smallest way to get validation, error messages and a submit state without wiring useState for five fields.
Honest caveat: the form validates and shows its states, but there is no backend behind it yet. On a real launch the submit has to go somewhere, and until it does, the page is a demo, not a product.
What these pages are, honestly
Both are front ends for product ideas. There is no AI model behind Brainwave and no face-recognition pipeline behind Athlete IQ. What exists is the marketing layer: a hero that explains the idea, benefits, a how-to-use section, pricing, a roadmap, and a footer.
That is a real piece of work and it is also only half of the thing. The half that is missing is the part that decides whether the product is real: an endpoint, a model, and a person who used it.
What I would add before calling either one done
- A real form endpoint with spam protection, and a confirmation the sender actually sees.
- Analytics that answer one question: where do people leave. Not a dashboard, one funnel.
- Real screenshots or a short recording of the product instead of the placeholder art.
- A Lighthouse pass on mobile, because the parallax is cheap but the hero images are not.
- A cookie and privacy note, since a page that collects emails is collecting personal data.
None of that is glamorous. All of it is the difference between a page that looks finished and a page that is finished.