Aurora Hero
A copy-paste hero sections component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Hero SectionsHTMLCSSany framework
Aurora awaits.
ExploreCopy into your project
HTML
<!-- Aurora Hero — drifting aurora bands behind the headline -->
<section class="nuda-aurorah">
<div class="nuda-aurorah__band nuda-aurorah__band--a"></div>
<div class="nuda-aurorah__band nuda-aurorah__band--b"></div>
<div class="nuda-aurorah__content">
<h2>Aurora awaits.</h2>
<button class="nuda-aurorah__btn" type="button">Explore</button>
</div>
</section>CSS
/* Aurora Hero
Two screen-blended radial bands drift behind the headline.
Customize: band colors, --aurorah-accent. */
.nuda-aurorah {
--aurorah-accent: #e4ff54;
position: relative;
width: 100%;
height: 420px;
border-radius: 18px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background: #09090b;
}
.nuda-aurorah__band {
position: absolute;
inset: -40% -20%;
filter: blur(60px);
opacity: 0.55;
mix-blend-mode: screen;
will-change: transform;
}
.nuda-aurorah__band--a {
background: radial-gradient(50% 40% at 40% 50%, var(--aurorah-accent) 0%, transparent 70%);
animation: nuda-aurorah-a 9s ease-in-out infinite;
}
.nuda-aurorah__band--b {
background: radial-gradient(45% 50% at 65% 45%, #34d399 0%, transparent 70%);
animation: nuda-aurorah-b 11s ease-in-out infinite;
}
.nuda-aurorah__content {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
text-align: center;
}
.nuda-aurorah__content h2 {
font: 800 clamp(2rem, 5vw, 3.5rem) ui-sans-serif, system-ui, sans-serif;
color: #fafafa;
margin: 0;
letter-spacing: -0.02em;
}
.nuda-aurorah__btn {
padding: 10px 24px;
background: rgba(228, 255, 84, 0.12);
border: 1px solid rgba(228, 255, 84, 0.3);
color: var(--aurorah-accent);
font: 700 0.95rem ui-sans-serif, system-ui, sans-serif;
border-radius: 999px;
cursor: pointer;
}
@keyframes nuda-aurorah-a {
0%, 100% { transform: translate(-6%, 0) scale(1); }
50% { transform: translate(10%, -6%) scale(1.15); }
}
@keyframes nuda-aurorah-b {
0%, 100% { transform: translate(6%, 4%) scale(1.1); }
50% { transform: translate(-8%, -4%) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
.nuda-aurorah__band { animation: none; }
}How to use Aurora Hero
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.