Free
🚀 Startup
Orb Field Parallax
Depth-sorted glass orbs floating in parallax layers — an airy, premium backdrop for light themes.
4.0k views 135 copies 241 words
The Prompt
# Orb Field Parallax — Animated Background ## Goal Build a light-theme background of 8-10 glassy orbs floating in 3 depth layers with scroll parallax. It must drop cleanly into an existing Next.js + Tailwind project as a self-contained component. ## Design Spec - Base: off-white #F7F8FB with an extremely soft top-center radial tint (brand color at 6%). - Orbs: circles 40-220px; glass recipe = radial-gradient white highlight top-left, 1px white/60 border, backdrop-blur only for the 2 largest, inner shadow for volume; hues alternate two brand tints at 10-20%. - 3 depth layers: far (small, blurrier, 30% opacity), mid, near (largest, sharpest) — parallax strength increases with nearness. - Composition: cluster weight top-right and bottom-left, keep center-third clear for content readability. - Section-height component wrapping children; orbs pointer-events-none. ## Motion Spec - Idle float: each orb bobs ±10-18px on 8-16s offset sine loops with slight x drift. - Scroll parallax: far layer moves at 0.05× scroll delta, mid 0.12×, near 0.22× (useScroll + useTransform). - Orbs fade+scale in on mount with 60ms stagger, once. - Respect `prefers-reduced-motion` — provide a static fallback that still looks intentional. ## Component API - `<OrbField density?: 'calm'|'lively' tintA tintB children />` ## Quality Bar - TypeScript strict, zero `any`. Tailwind only — no external CSS files. - Works on mobile: touch targets ≥ 44px, no hover-only affordances. - 60fps: animate only `transform` and `opacity`; use `will-change` sparingly. - Accessible: correct roles/aria, keyboard operable, focus-visible styles.
You may also like
Free
Ink Flow Waves
🎨 Portfolio
Slow liquid ink waves rendered with layered SVG paths and turbulence — organic motion for editorial sites.
4.5k 685CursorClaude CodeWindsurf
Free
Starfall Canvas
🤖 AI
Canvas starfield with occasional shooting stars and cursor gravity — lightweight and mesmerizing.
2.7k 435CursorClaude CodeWindsurf
Free
Gradient Mesh Drift
☁️ SaaS
Soft multi-point gradient mesh that breathes — the modern SaaS hero backdrop, done right.
1.9k 62CursorClaude CodeLovable
Free
Galaxy Particles Background
🛬 Landing Page
Interactive particle field background reacting to cursor, GPU-friendly.
1.1k 796Cursorv0