UI components / Sections
Aurora Hero: a React and Tailwind UI component
A hero section on a slow, glowing aurora background that leans toward the cursor.
Open the live Aurora Hero preview.
An aurora background behind real content
This aurora hero uses blurred CSS colour layers and pointer translation behind normal React content. It gives a software or studio header atmosphere without a video file or WebGL model. It is a decorative background, not a rotatable 3D scene.
Integration and launch checks
The exported AuroraBackground accepts children and a className. Put your heading and links inside it, choose a useful section height, and replace the demo copy. Keep the decorative layers separate from interactive controls. The source requires React and Tailwind CSS.
- Check headline contrast against every moving colour, not only the initial screenshot. Keep a stable overlay if the background competes with text.
- Add an appropriate static reduced-motion state and a pause mechanism if continuous motion needs one. Test without pointer movement on touch screens.
- Measure the finished page on a phone; large blur layers still have a rendering cost. Keep your heading and call to action visible when decoration is disabled.
Related guides
- Choose CSS, video or canvas backgrounds
- Compare atmospheric depth with real 3D
- Browse background media and code
About sections components
Section components are larger building blocks for landing pages: heroes, pricing, testimonials and comparisons. Give them real headings and content in HTML, and keep the motion in the background so the message stays readable.
Install the Aurora Hero
- Create
components/ui/aurora-hero.tsxin your React + Tailwind project. - Paste the code. It only imports React; keyframes are defined inside the file.
- Import the named component where you need it. The default export is a ready-made demo you can delete.
Frequently asked questions
Is the Aurora Hero component free?
Anyone can open the live preview. Copying the code is included with a Scrollhaus plan.
What do I need to use it?
A React project with Tailwind CSS: Next.js, Vite, Lovable or Bolt. The file only imports React; its animations ship inside the component.
Is it accessible?
Treat this as an implementation starting point. Follow the integration and launch checks below, including keyboard focus, mobile layout and reduced-motion behaviour, and test the component in your app.
More sections
- Pricing Toggle: Monthly/yearly switch with a sliding pill; prices count to their new value.
- Testimonial Marquee: Two rows of review cards drifting in opposite directions; hover pauses a row.
- Smooth Accordion: FAQ items that open with a real height animation and a rotating plus.
- Before/After Slider: Drag the handle (or use arrow keys) to compare two images or states.