Dark Futuristic Bar
Dark futuristic announcement bar on zinc gradient with emerald rocket icon, analytics copy, and elevated Try now button. AI product and dashboard launch pattern with neon green accent glow and multi-layer 3D shadow.
Dependencies
react
lucide-react
npm install lucide-reactimport { ArrowRight, Rocket } from "lucide-react";
export function DarkFuturisticBar() {
return (
<div className="flex max-w-xl flex-wrap items-center justify-between gap-4 rounded-2xl bg-gradient-to-b from-zinc-800 to-zinc-950 p-4 shadow-[0_1px_0_rgba(255,255,255,0.08)_inset,0_0_0_1px_rgba(255,255,255,0.06),0_20px_50px_rgba(0,0,0,0.5),0_0_40px_rgba(16,185,129,0.08)]">
<div className="flex items-center gap-3">
<span className="flex h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-br from-emerald-400 to-emerald-700 shadow-[0_4px_12px_rgba(16,185,129,0.4),0_1px_0_rgba(255,255,255,0.2)_inset]">
<Rocket className="h-4 w-4 text-white" />
</span>
<p className="text-sm text-zinc-300">
<span className="font-semibold text-white">AI Dashboard is here!</span> Experience the future of analytics
</p>
</div>
<button type="button" className="inline-flex items-center gap-1.5 rounded-xl bg-gradient-to-b from-zinc-600 to-zinc-800 px-4 py-2 text-xs font-bold text-white shadow-[0_1px_0_rgba(255,255,255,0.12)_inset,0_4px_16px_rgba(0,0,0,0.4)] ring-1 ring-zinc-500/50">
Try now <ArrowRight className="h-3.5 w-3.5" />
</button>
</div>
);
}
Please implement this code in the current project and add it to (Your Desired Section, e.g. homepage hero, pricing page, dashboard). Change the primary accent color to (YOUR HEX CODE COLOR, e.g. #6366F1).
Requirements:
- Use React + Tailwind CSS (match the project's existing setup)
- Install dependencies if needed: npm install lucide-react
- Keep the layout responsive on mobile and desktop
- Replace placeholder copy with content that fits the project
The UI code:
import { ArrowRight, Rocket } from "lucide-react";
export function DarkFuturisticBar() {
return (
<div className="flex max-w-xl flex-wrap items-center justify-between gap-4 rounded-2xl bg-gradient-to-b from-zinc-800 to-zinc-950 p-4 shadow-[0_1px_0_rgba(255,255,255,0.08)_inset,0_0_0_1px_rgba(255,255,255,0.06),0_20px_50px_rgba(0,0,0,0.5),0_0_40px_rgba(16,185,129,0.08)]">
<div className="flex items-center gap-3">
<span className="flex h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-br from-emerald-400 to-emerald-700 shadow-[0_4px_12px_rgba(16,185,129,0.4),0_1px_0_rgba(255,255,255,0.2)_inset]">
<Rocket className="h-4 w-4 text-white" />
</span>
<p className="text-sm text-zinc-300">
<span className="font-semibold text-white">AI Dashboard is here!</span> Experience the future of analytics
</p>
</div>
<button type="button" className="inline-flex items-center gap-1.5 rounded-xl bg-gradient-to-b from-zinc-600 to-zinc-800 px-4 py-2 text-xs font-bold text-white shadow-[0_1px_0_rgba(255,255,255,0.12)_inset,0_4px_16px_rgba(0,0,0,0.4)] ring-1 ring-zinc-500/50">
Try now <ArrowRight className="h-3.5 w-3.5" />
</button>
</div>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.