Section

Bento Newsletter CTA — Soft UI (Neumorphism)

Soft UI newsletter layout: Bento newsletter.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

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

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Newsletter/soft-ui
registry path: Tailwind/Sections/Newsletter/soft-ui

Source

Implementation

code.html
<!--
Snippet Name: Bento Newsletter CTA — Soft UI (Neumorphism)
Description: Soft UI newsletter layout: Bento newsletter.
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:'Manrope',sans-serif}.f-mono{font-family:'Manrope',sans-serif}.f-disp{font-family:'Manrope',sans-serif}
      .neu{background:#e6e7ee;box-shadow:8px 8px 18px #c8c9d0,-8px -8px 18px #ffffff}
      .neu-sm{background:#e6e7ee;box-shadow:5px 5px 10px #c8c9d0,-5px -5px 10px #ffffff}
      .neu-in{background:#e6e7ee;box-shadow:inset 5px 5px 10px #c8c9d0,inset -5px -5px 10px #ffffff}
      .neu-press:active{box-shadow:inset 4px 4px 8px #c8c9d0,inset -4px -4px 8px #ffffff}

</style>

<section class="relative w-full py-20 sm:py-28 text-[#3a3b45]" data-section="soft-ui">
<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 neu-sm rounded-full px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-[#6366f1]"><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-[#8a8b95]">Monthly product updates and ideas. No spam, unsubscribe anytime.</p></div><div class="grid grid-cols-1 gap-4 lg:grid-cols-3"><div class="lg:col-span-2 neu rounded-2xl transition-transform duration-300 hover:-translate-y-0.5 p-8"><h3 class="f-disp text-2xl font-bold">The product letter</h3><p class="mt-2 text-sm text-[#8a8b95]">Monthly. Curated. Free.</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 neu-in rounded-xl px-4 py-3 text-[#3a3b45] placeholder:text-[#a0a1aa] focus:outline-none flex-1" aria-label="Email"><button type="submit" class="neu-sm rounded-xl font-semibold text-[#6366f1] neu-press 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 class="neu rounded-2xl transition-transform duration-300 hover:-translate-y-0.5 p-6 flex flex-col justify-center"><p class="f-disp text-3xl font-bold">24k+</p><p class="mt-1 text-sm text-[#8a8b95]">Subscribers</p><div class="mt-3 flex -space-x-2"><span class="h-8 w-8 rounded-full border-2 border-current/0" style="background:linear-gradient(135deg,#6366f1,#8b5cf6)"></span><span class="h-8 w-8 rounded-full border-2 border-current/0" style="background:linear-gradient(135deg,#06b6d4,#3b82f6)"></span><span class="h-8 w-8 rounded-full border-2 border-current/0" style="background:linear-gradient(135deg,#ec4899,#f43f5e)"></span></div></div></div>
</div>
</section>
22 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/soft-ui

Continue browsing

View all