React Shader Horizon Hero – Interactive UI Component
Atmospheric cosmic horizon hero with a curved glowing planetary rim, announcement badge, magnetic spring primary CTA, and partner logo strip. Customize colours, shadows, and Playful, Minimal, or Mono styles. Copy React & Flutter code or install via CLI.
Know exactly when to look up
Clear-sky forecasts, rocket launches and meteor showers for wherever you are tonight.
Know exactly when to look up
Clear-sky forecasts, rocket launches and meteor showers for wherever you are tonight.
Live vector preview rendered straight from the same 120 Hz spring engine—no heavy GIF compression artifacts, zero layout shift.
Customization playground
Tune outline, fill, accent, text colour, and shadow direction live above. The snippet updates automatically for copy-and-paste.
Customize
<ShaderHorizonHero />Installation
Install directly into your project source with the Kipluo CLI (React/Tailwind v4) or add the matching Flutter package.
Install
$ npx kipluo add shader-horizon-heroWorking code example
import { ShaderHorizonHero } from "@/components/kipluo/shader-horizon-hero";
export function Example() {
return (
<div className="flex items-center justify-center p-8">
<ShaderHorizonHero />
</div>
);
}What Shader Horizon Hero does
- Atmospheric cosmic horizon hero with a curved glowing planetary rim, announcement badge, magnetic spring primary CTA, and partner logo strip.
- Designed for Onboarding, Commerce, Navigation flows with real spring physics that stay smooth even when users interrupt or spam interactions.
- Ships with Playful, Minimal, and Mono themes, synthesized Web Audio feedback (optional via sound={false}), and automatic prefers-reduced-motion support.
Accessibility & sound behavior
Keyboard & screen readers: All CTA buttons are standard focusable buttons with clear focus rings.
Reduced motion: Automatically respects prefers-reduced-motion: reduce by snapping spring targets immediately without jarring travel.
Sound cues: A bright chime swelling the horizon on primary CTA click and a soft boop on secondary CTA. Disable per instance with sound={false} or globally via setSoundEnabled(false).
API reference
badge / headline / subtitlestring- Hero copy slots. Default
Stargazing app sample copy. logosstring[]- Partner names shown in the bottom strip. Replace with your own. Default
5 fictional partner names. style"playful" | "minimal" | "mono"- Set with data-kstyle on any ancestor. Default
inherited. soundboolean- Plays this component's sounds. The global switch setSoundEnabled(false) silences every component. Default
true.
Framework compatibility
| Platform / Tool | Status | Details |
|---|---|---|
| React 18 & 19 | Full support | Zero peer runtime lock-in beyond @kipluo/core. |
| Next.js App Router | Full support | Ships with 'use client' boundaries; SSR-safe hydration. |
| Vite / Remix / Astro | Full support | Standard ESM TypeScript source files you own. |
| Tailwind CSS v4 & shadcn/ui | Native | Inherits CSS variables and installs via shadcn registry or CLI. |
| Flutter (Dart) | Native package | Matching spring physics, themes, and PCM audio in packages/flutter/kipluo. |
Build it yourself: related tutorials
All tutorials →How to Build a Magnetic Button in React
Step-by-step guide to building a smooth, interruptible magnetic button in React using Pointer Events, requestAnimationFrame, and a lightweight spring integrator.
How to Create a Scroll-Driven Animation
Learn modern CSS animation-timeline: scroll() and view() alongside a zero-jank passive scroll + requestAnimationFrame fallback in React.
How to Implement Spring Physics Without a Heavy Animation Library
Write a rock-solid 45-line semi-implicit Euler spring engine in TypeScript with fixed 120 Hz sub-stepping, zero dependencies, and true velocity preservation.
Related components
- Open component →Editorial Split HeroFree
Editorial sans + italic-serif split hero with inline email waitlist capture (spring shake on invalid, chime on submit), social proof avatars, and a 3D-tilting preview card.
- Open component →Card Fan HeroPaid
Centered editorial hero anchored by an interactive 3-card fanned spread that widens smoothly on hover and cycles the active card forward on click or arrows.
- Open component →Spring BannerFree
Dismissible top announcement bar with spring entrance, animated accent sheen, smooth collapse on dismiss, and a bouncy restore trigger.
- Open component →Fluted Glass ShaderFree
Zero-dependency WebGL2 fluted optical glass shader that refracts live Kipluo theme tokens across diagonal glass ribs with pointer parallax and chromatic click pulses.
- Open component →Scroll Expand HeroPaid
3D perspective-tilted product showcase hero that smoothly expands and flattens on springs as you scroll or scrub the expansion control.
- Open component →Interactive Dashboard HeroPaid
Developer SaaS hero framing a live clickable mini KPI dashboard whose spring bars and telemetry metrics animate seamlessly between modes.