02투명 내비
배경이 완전히 투명한 내비게이션 바이고, 현재 메뉴를 가리키는 알약이 항목 사이를 미끄러지듯 옮겨 다닙니다.
쓰임랜딩 페이지 상단바, 히어로 위에 얹는 내비
backdrop-filter: blurtranslateXborder 반투명

<main class="stage">
<nav class="nav-a">
<span class="nav-a__brand">Aurora</span>
<div class="nav-a__menu">
<span class="nav-a__pill" aria-hidden="true"></span>
<span class="nav-a__label">홈</span>
<span class="nav-a__label">기능</span>
<span class="nav-a__label">가격</span>
</div>
<button class="nav-a__cta" type="button">체험하기</button>
</nav>
</main>@use "../../../../site/static/demo-tokens" as *;
$duration: $dur-loop;
$easing: $ease-spring;
$color: $subject-blue;
@include stage($stage-yellow);
.nav-a {
position: relative;
box-sizing: border-box;
display: flex;
align-items: center;
gap: $sp-3;
width: clamp(240px, 82vw, 380px);
padding: $sp-2 $sp-3;
border-radius: $r-pill;
background: rgba($stage-ink, .62); // .38 은 흰 글자가 2.98:1 이었다 — AA 4.5 (brand 6.49 · label 5.35)
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba($stage-paper, .18);
overflow: hidden;
}
.nav-a::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
opacity: .3;
mix-blend-mode: overlay;
background-image:
radial-gradient(rgba($stage-paper, .6) .5px, transparent .5px),
radial-gradient(rgba($stage-ink, .6) .5px, transparent .5px);
background-size: 3px 3px, 5px 5px;
border-radius: inherit;
}
.nav-a__brand { position: relative; z-index: 1; padding-left: $sp-2; color: $stage-paper; font: 700 clamp(12px, 3vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif; }
.nav-a__menu {
position: relative;
z-index: 1;
flex: 1;
display: flex;
background: rgba($stage-paper, .08);
border-radius: $r-pill;
padding: $sp-1;
}
// 인디케이터는 퍼센트 폭(항목 3등분)으로 움직인다 — 고정 px 짐작값 금지 (BD19)
.nav-a__pill {
position: absolute;
top: $sp-1;
bottom: $sp-1;
left: $sp-1;
width: calc((100% - #{$sp-1 * 2}) / 3);
border-radius: $r-pill;
background: $color;
animation: pillSlide $duration $easing infinite;
}
.nav-a__label { position: relative; z-index: 1; flex: 1; text-align: center; padding: $sp-2 0; color: $stage-paper; font-weight: 600; font-size: clamp(10.5px, 2.6vw, 12px); line-height: 1; }
.nav-a__cta { position: relative; z-index: 1; border: 0; border-radius: $r-pill; background: $stage-paper; color: $stage-ink; padding: $sp-2 $sp-4; font-weight: 700; font-size: clamp(10.5px, 2.6vw, 12px); line-height: 1; }
@keyframes pillSlide {
0%, 12% { transform: translateX(0%); }
38%, 50% { transform: translateX(100%); }
76%, 88% { transform: translateX(200%); }
100% { transform: translateX(0%); }
}
@media (prefers-reduced-motion: reduce) {
.nav-a__pill { animation: none; }
}html, body {
margin: 0;
overflow: hidden;
}
.stage {
box-sizing: border-box;
min-height: 100vh;
display: grid;
place-items: center;
margin: 0;
background: #ffd23f;
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
padding: clamp(8px, 4vw, 24px);
}
.nav-a {
position: relative;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 12px;
width: clamp(240px, 82vw, 380px);
padding: 8px 12px;
border-radius: 999px;
background: rgba(23, 20, 26, 0.62);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
overflow: hidden;
}
.nav-a::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
opacity: 0.3;
mix-blend-mode: overlay;
background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.5px, transparent 0.5px), radial-gradient(rgba(23, 20, 26, 0.6) 0.5px, transparent 0.5px);
background-size: 3px 3px, 5px 5px;
border-radius: inherit;
}
.nav-a__brand {
position: relative;
z-index: 1;
padding-left: 8px;
color: #ffffff;
font: 700 clamp(12px, 3vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}
.nav-a__menu {
position: relative;
z-index: 1;
flex: 1;
display: flex;
background: rgba(255, 255, 255, 0.08);
border-radius: 999px;
padding: 4px;
}
.nav-a__pill {
position: absolute;
top: 4px;
bottom: 4px;
left: 4px;
width: calc((100% - 8px) / 3);
border-radius: 999px;
background: #2f6df6;
animation: pillSlide 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.nav-a__label {
position: relative;
z-index: 1;
flex: 1;
text-align: center;
padding: 8px 0;
color: #ffffff;
font-weight: 600;
font-size: clamp(10.5px, 2.6vw, 12px);
line-height: 1;
}
.nav-a__cta {
position: relative;
z-index: 1;
border: 0;
border-radius: 999px;
background: #ffffff;
color: #17141a;
padding: 8px 16px;
font-weight: 700;
font-size: clamp(10.5px, 2.6vw, 12px);
line-height: 1;
}
@keyframes pillSlide {
0%, 12% {
transform: translateX(0%);
}
38%, 50% {
transform: translateX(100%);
}
76%, 88% {
transform: translateX(200%);
}
100% {
transform: translateX(0%);
}
}
@media (prefers-reduced-motion: reduce) {
.nav-a__pill {
animation: none;
}
}import type { CSSProperties } from "react";
import styles from "./AuroraNav.module.scss";
export type AuroraNavProps = {
brand?: string;
items?: string[];
cta?: string;
activeIndex?: number;
duration?: number;
easing?: string;
color?: string;
};
type Vars = CSSProperties & { "--duration"?: string; "--easing"?: string; "--color"?: string };
export default function AuroraNav({
brand = "Aurora",
items = ["Home", "Features", "Pricing"],
cta = "Try it free",
duration = 2000,
easing = "cubic-bezier(.2,.8,.2,1)",
color = "#2f6df6",
}: AuroraNavProps) {
const vars: Vars = { "--duration": `${duration}ms`, "--easing": easing, "--color": color };
return (
<nav className={styles.nav} style={vars}>
<span className={styles.brand}>{brand}</span>
<div className={styles.menu}>
<span className={styles.pill} aria-hidden="true" />
{items.map((label) => (
<span key={label} className={styles.label}>{label}</span>
))}
</div>
<button type="button" className={styles.cta}>{cta}</button>
</nav>
);
}02 투명 내비 — 측정 누적면적 3.459% · 움직인 프레임 15/23GODRICH 원작 · zip 에 SCSS·React 포함 · 그레인 얹은 오로라 그라디언트 랜딩 부품 9개
이 데모가 속한 글
그레인 얹은 오로라 그라디언트 랜딩 부품 9개오로라 그라디언트는 어두운 배경 위에서 흐릿한 색 덩어리 여러 개가 오로라처럼 번지고, 그 위에 필름 그레인이 얹히는 랜딩 페이지 스타일입니다. AI가 만든 그래픽이 다 비슷하게 매끈해지자 디자이너들은 일부러 그레인 이 글의 데모 전부 보기


