Section

Inline Contact Cards — Bento Grid

Bento Grid contact layout: Inline contact rows.

  • Section
  • Tailwind
  • HTML
  • MIT

Preview

Live section

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

Source

Implementation

code.html
<!--
Snippet Name: Inline Contact Cards — Bento Grid
Description: Bento Grid contact layout: Inline contact rows.
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:'Inter',sans-serif}.f-mono{font-family:'JetBrains Mono',monospace}.f-disp{font-family:'Inter',sans-serif}
      .bento{background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(236,72,153,.08))}
</style>
<section class="relative w-full py-20 sm:py-28 text-white" data-section="bento-grid">
<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-white/10 bg-white/5 px-3 py-1 f-mono text-[11px] font-medium text-white/70"><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><ul class="mx-auto max-w-3xl space-y-3"><li class="flex items-center gap-3 bg-white/[0.04] border border-white/10 rounded-3xl p-4"><span class="flex h-10 w-10 items-center justify-center bg-white/[0.03] border border-white/10 rounded-2xl"><svg class="h-5 w-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></span><div class="flex-1"><p class="text-sm font-semibold">Email</p><p class="text-sm text-white/55">hello@company.com</p></div><a href="#" class="border border-white/15 bg-white/5 text-white rounded-2xl font-medium hover:bg-white/10">Contact</a></li><li class="flex items-center gap-3 bg-white/[0.04] border border-white/10 rounded-3xl p-4"><span class="flex h-10 w-10 items-center justify-center bg-white/[0.03] border border-white/10 rounded-2xl"><svg class="h-5 w-5" 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></span><div class="flex-1"><p class="text-sm font-semibold">Phone</p><p class="text-sm text-white/55">+1 555 123 4567</p></div><a href="#" class="border border-white/15 bg-white/5 text-white rounded-2xl font-medium hover:bg-white/10">Contact</a></li><li class="flex items-center gap-3 bg-white/[0.04] border border-white/10 rounded-3xl p-4"><span class="flex h-10 w-10 items-center justify-center bg-white/[0.03] border border-white/10 rounded-2xl"><svg class="h-5 w-5" 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></span><div class="flex-1"><p class="text-sm font-semibold">Live chat</p><p class="text-sm text-white/55">Weekdays 9–6 PT</p></div><a href="#" class="border border-white/15 bg-white/5 text-white rounded-2xl font-medium hover:bg-white/10">Contact</a></li></ul>
</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/bento-grid

Continue browsing

View all