Components
Loading preview...
import Navbar from "@/components/ui/navbar-multiple-items";
export default function Demo() {
return (
<div style={{
minHeight: "100vh",
background: "#0a0a0a",
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
WebkitFontSmoothing: "antialiased",
padding: "24px 20px",
boxSizing: "border-box",
}}>
{/* Dot grid */}
<div style={{
position: "fixed", inset: 0, pointerEvents: "none", zIndex: 0,
backgroundImage: "radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px)",
backgroundSize: "26px 26px",
}} />
{/* Soft vignette */}
<div style={{
position: "fixed", inset: 0, pointerEvents: "none", zIndex: 0,
background: "radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.02) 0%, transparent 60%)",
}} />
{/* Navbar card — at the top */}
<div style={{ position: "relative", zIndex: 10, maxWidth: 920, margin: "0 auto" }}>
<Navbar mode="floating" />
</div>
{/* Placeholder page content */}
<div style={{
position: "relative", zIndex: 1,
maxWidth: 640, margin: "72px auto 0",
textAlign: "center",
}}>
<p style={{
display: "inline-block",
fontSize: 11, fontWeight: 500, letterSpacing: "0.12em",
textTransform: "uppercase",
color: "rgba(255,255,255,0.25)",
background: "rgba(255,255,255,0.04)",
border: "1px solid rgba(255,255,255,0.07)",
borderRadius: 99, padding: "5px 12px", marginBottom: 28,
}}>
Hover nav items · Resize to see mobile
</p>
<h1 style={{
fontSize: "clamp(32px, 5vw, 52px)",
fontWeight: 700, color: "#fff",
letterSpacing: "-0.04em", lineHeight: 1.12,
margin: "0 0 18px",
}}>
Build your next<br/>
<span style={{ color: "rgba(255,255,255,0.25)" }}>great product.</span>
</h1>
<p style={{
color: "rgba(255,255,255,0.32)",
fontSize: "clamp(14px, 2vw, 17px)",
lineHeight: 1.7, maxWidth: 480, margin: "0 auto",
}}>
Mega menu · Mobile accordion · Scroll-aware blur · Zero dependencies.
</p>
</div>
</div>
);
}