Section

Floating Newsletter CTA — Startup Landing

Startup Landing newsletter layout: Floating glass cta.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/sections/newsletter/startup-landing/
fluid · no fixed width 100%
Dependencies: Tailwind CSS (CDN) · Google Fonts Responsive

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Newsletter/startup-landing
registry path: Tailwind/Sections/Newsletter/startup-landing

Source

Implementation

code.html
<!--
Snippet Name: Floating Newsletter CTA — Startup Landing
Description: Startup Landing newsletter layout: Floating glass cta.
Author: DevSnips Contributors
Usage Example: Drop this snippet into any Tailwind CSS page.
-->
<style>
  /* DevSnips style-helper classes (self-contained snippet) */
  
      .f-sans{font-family:'Plus Jakarta Sans',sans-serif}.f-mono{font-family:'Plus Jakarta Sans',sans-serif}.f-disp{font-family:'Plus Jakarta Sans',sans-serif}

</style>

<section class="relative w-full py-20 sm:py-28 text-slate-900" data-section="startup-landing">
<div class="mx-auto max-w-7xl px-5 sm:px-6 lg:px-8">
<div class="mb-10 text-center mx-auto"><p class="mb-4"><span class="inline-flex items-center gap-1.5 rounded-full bg-indigo-50 border border-indigo-100 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-indigo-600"><svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg> Newsletter</span></p><h2 class="f-disp text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-center mx-auto">Stay in the loop</h2><p class="mt-4 max-w-2xl text-center mx-auto text-base sm:text-lg leading-relaxed text-slate-500">Monthly product updates and ideas. No spam, unsubscribe anytime.</p></div><div class="bg-white border border-slate-200 rounded-2xl shadow-[0_2px_12px_-4px_rgba(15,23,42,.08)] transition-all duration-300 hover:shadow-[0_12px_32px_-8px_rgba(79,70,229,.25)] hover:-translate-y-1 p-8 sm:p-12 text-center relative overflow-hidden"><div class="absolute inset-0 opacity-30" style="background:radial-gradient(circle at 30% 20%,#4f46e5,transparent 50%)" aria-hidden="true"></div><div class="relative z-10"><h3 class="f-disp text-2xl sm:text-3xl font-bold">Never miss an update</h3><p class="mt-3 text-sm text-slate-500 max-w-2xl mx-auto">The product letter for teams who ship.</p><div class="mt-6"><form class="flex flex-col sm:flex-row gap-2 max-w-2xl mx-auto w-full"><label for="nl-email" class="sr-only">Email address</label><input id="nl-email" type="email" placeholder="you@email.com" class="w-full rounded-xl border border-slate-300 bg-white px-4 py-3 text-slate-900 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-indigo-500/30 focus:border-indigo-400 flex-1" aria-label="Email"><button type="submit" class="bg-indigo-600 text-white rounded-xl font-semibold hover:bg-indigo-700 shadow-lg shadow-indigo-600/20 justify-center"><svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m22 2-7 20-4-9-9-4Z"/><path d="M22 2 11 13"/></svg> Subscribe</button></form></div></div></div>
</div>
</section>
18 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This section is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://sections/newsletter/startup-landing

Continue browsing

View all