Nav overflow — horizontal nav bar with right-edge blur for overflow indication
@cnippet
registry/default/motion-variants/m-progressive-blur-3.tsx
import { ProgressiveBlur } from "@/registry/default/motion/progressive-blur";
const navItems = [
"Overview",
"Components",
"Motion",
"Scroll",
"Hover",
"Layout",
"Marquee",
"Background",
"Navigation",
];
export default function ProgressiveBlurNav() {
return (
<div className="flex min-h-50 items-center justify-center px-6">
<div className="relative h-12 w-full max-w-lg overflow-hidden rounded-full border border-border bg-card">
<div className="flex h-full items-center gap-1 px-3">
{navItems.map((item) => (
<button
className="shrink-0 rounded-full px-3 py-1.5 font-medium text-muted-foreground text-sm transition-colors hover:bg-muted hover:text-foreground"
key={item}
>
{item}
</button>
))}
</div>
<ProgressiveBlur
blurIntensity={0.35}
blurLayers={5}
className="absolute inset-y-0 right-0 w-20 rounded-r-full"
direction="right"
/>
</div>
</div>
);
}































