Section

Contact + Subscribe — Dark Premium

Dark Premium contact layout: Contact + newsletter combo.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

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

Install

Add to your project

terminal
npx devsnips add Tailwind/Sections/Contact/dark-premium
registry path: Tailwind/Sections/Contact/dark-premium

Source

Implementation

code.html
<!--
Snippet Name: Contact + Subscribe — Dark Premium
Description: Dark Premium contact layout: Contact + newsletter combo.
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}
      .dp-glow{background:radial-gradient(60% 50% at 50% 0%,rgba(251,191,36,.10),transparent 70%)}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="dark-premium">
<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 border border-amber-400/30 bg-amber-400/10 px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-amber-300"><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> Contact</span></p><h2 class="f-disp text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-center mx-auto">Let's talk</h2><p class="mt-4 max-w-2xl text-center mx-auto text-base sm:text-lg leading-relaxed text-white/55">Reach out and our team will reply within one business day.</p></div><div class="grid grid-cols-1 gap-6 lg:grid-cols-2"><div class="bg-gradient-to-b from-white/[0.06] to-white/[0.02] border border-white/10 rounded-2xl p-8"><form class="space-y-4"><div><label class="mb-1.5 block text-sm font-medium text-white/55" for="email">Email</label><input id="email" name="email" type="email" placeholder="" class="w-full rounded-xl border border-white/10 bg-white/5 px-4 py-3 text-white placeholder:text-white/40 focus:outline-none focus:ring-2 focus:ring-amber-400/30"></div><textarea rows="3" placeholder="Message" class="w-full rounded-xl border border-white/10 bg-white/5 px-4 py-3 text-white placeholder:text-white/40 focus:outline-none focus:ring-2 focus:ring-amber-400/30" aria-label="Message"></textarea><button type="submit" class="bg-gradient-to-r from-amber-400 to-yellow-500 text-[#0a0a0f] rounded-xl font-semibold hover:from-amber-300 hover:to-yellow-400 w-full 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> Send</button></form></div><div class="bg-white/[0.04] border border-white/10 rounded-xl p-6"><div class="flex items-center gap-2 mb-2"><svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg><h3 class="font-semibold">Get product updates</h3></div><p class="text-sm text-white/55">Monthly newsletter. No spam, unsubscribe anytime.</p><form class="mt-4 flex gap-2"><input type="email" placeholder="you@email.com" class="w-full rounded-xl border border-white/10 bg-white/5 px-4 py-3 text-white placeholder:text-white/40 focus:outline-none focus:ring-2 focus:ring-amber-400/30 flex-1" aria-label="Email"><button type="submit" class="border border-white/15 bg-white/5 text-white rounded-xl font-medium hover:bg-white/10">Subscribe</button></form></div></div>
</div>
</section>
17 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/contact/dark-premium

Continue browsing

View all