Section

Contact Method Cards — Gradient Mesh

Gradient Mesh contact layout: Contact method cards.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/sections/contact/gradient-mesh/
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/gradient-mesh
registry path: Tailwind/Sections/Contact/gradient-mesh

Source

Implementation

code.html
<!--
Snippet Name: Contact Method Cards — Gradient Mesh
Description: Gradient Mesh contact layout: Contact method cards.
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:'Outfit',sans-serif}.f-mono{font-family:'Outfit',sans-serif}.f-disp{font-family:'Outfit',sans-serif}
      .gm-bg{background:linear-gradient(120deg,#7c3aed,#ec4899,#f97316,#06b6d4);background-size:300% 300%;animation:gm 16s ease infinite}
      @keyframes gm{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="gradient-mesh">
<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-white/20 border border-white/30 px-3 py-1 text-[11px] font-semibold uppercase tracking-wide text-white"><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/70">Reach out and our team will reply within one business day.</p></div><div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"><a href="#" class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6 text-center"><div class="mx-auto mb-4 flex h-12 w-12 items-center justify-center bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl"><svg class="h-6 w-6" 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></div><h3 class="font-semibold">Email</h3><p class="mt-1 text-sm text-white/70">Replies within 1 business day</p></a><a href="#" class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6 text-center"><div class="mx-auto mb-4 flex h-12 w-12 items-center justify-center bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl"><svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg></div><h3 class="font-semibold">Live chat</h3><p class="mt-1 text-sm text-white/70">Mon–Fri 9am–6pm PT</p></a><a href="#" class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6 text-center"><div class="mx-auto mb-4 flex h-12 w-12 items-center justify-center bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl"><svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg></div><h3 class="font-semibold">Phone</h3><p class="mt-1 text-sm text-white/70">+1 555 123 4567</p></a><a href="#" class="bg-white/15 backdrop-blur-xl border border-white/20 rounded-3xl transition-transform duration-300 hover:-translate-y-1 hover:bg-white/20 p-6 text-center"><div class="mx-auto mb-4 flex h-12 w-12 items-center justify-center bg-white/10 backdrop-blur-md border border-white/15 rounded-2xl"><svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M3 14v-3a9 9 0 0 1 18 0v3"/><path d="M21 16a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 16a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"/></svg></div><h3 class="font-semibold">Support center</h3><p class="mt-1 text-sm text-white/70">Browse 200+ articles</p></a></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/contact/gradient-mesh

Continue browsing

View all