App Download Hero
Mobile app download hero with violet-to-indigo gradient, App Store and Google Play buttons, and phone frame mockup. React + Tailwind section for iOS/Android app marketing, fintech apps, and productivity tools. Fully responsive flex layout.
Dependencies
react
npm install react react-domexport function AppDownloadHero() {
return (
<section className="bg-gradient-to-b from-violet-600 to-indigo-700 px-6 py-20 text-white">
<div className="mx-auto flex max-w-5xl flex-col items-center gap-10 lg:flex-row">
<div className="text-center lg:text-left">
<h1 className="text-4xl font-bold sm:text-5xl">Work anywhere</h1>
<p className="mt-4 text-violet-100">Download the app for iOS and Android.</p>
<div className="mt-8 flex flex-wrap justify-center gap-3 lg:justify-start">
<button className="rounded-xl bg-black/30 px-5 py-3 text-sm font-semibold backdrop-blur">App Store</button>
<button className="rounded-xl bg-black/30 px-5 py-3 text-sm font-semibold backdrop-blur">Google Play</button>
</div>
</div>
<div className="h-64 w-40 rounded-[2rem] border-4 border-white/30 bg-black/40 shadow-2xl" />
</div>
</section>
);
}
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 react react-dom
- Keep the layout responsive on mobile and desktop
- Replace placeholder copy with content that fits the project
The UI code:
export function AppDownloadHero() {
return (
<section className="bg-gradient-to-b from-violet-600 to-indigo-700 px-6 py-20 text-white">
<div className="mx-auto flex max-w-5xl flex-col items-center gap-10 lg:flex-row">
<div className="text-center lg:text-left">
<h1 className="text-4xl font-bold sm:text-5xl">Work anywhere</h1>
<p className="mt-4 text-violet-100">Download the app for iOS and Android.</p>
<div className="mt-8 flex flex-wrap justify-center gap-3 lg:justify-start">
<button className="rounded-xl bg-black/30 px-5 py-3 text-sm font-semibold backdrop-blur">App Store</button>
<button className="rounded-xl bg-black/30 px-5 py-3 text-sm font-semibold backdrop-blur">Google Play</button>
</div>
</div>
<div className="h-64 w-40 rounded-[2rem] border-4 border-white/30 bg-black/40 shadow-2xl" />
</div>
</section>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.