Section
Minimal Contact Form — Elegant Luxury
Elegant Luxury contact layout: Minimal centered form.
- Section
- Tailwind
- HTML
- MIT
Preview
Live section
9:41 100%
devsnips.dev/library/tailwind/sections/contact/elegant-luxury/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Sections/Contact/elegant-luxury Tailwind/Sections/Contact/elegant-luxury <!--
Snippet Name: Minimal Contact Form — Elegant Luxury
Description: Elegant Luxury contact layout: Minimal centered form.
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:'Jost',sans-serif}.f-mono{font-family:'Jost',sans-serif}.f-disp{font-family:'Cormorant Garamond',serif}
.el-line{background:linear-gradient(90deg,transparent,rgba(197,165,114,.6),transparent)}
</style>
<section class="relative w-full py-20 sm:py-28 text-[#ece7df]" data-section="elegant-luxury">
<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-sm border border-[#c5a572]/30 px-3 py-1 text-[11px] font-medium uppercase tracking-[0.22em] text-[#c5a572]"><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-[#9a948a]">Reach out and our team will reply within one business day.</p></div><div class="text-center"><form class="mx-auto max-w-2xl space-y-4"><div><label class="mb-1.5 block text-sm font-medium text-[#9a948a]" for="name">Name</label><input id="name" name="name" type="text" placeholder="" class="w-full rounded-sm border border-[#c5a572]/25 bg-[#131312] px-4 py-3 text-[#ece7df] placeholder:text-[#9a948a] focus:outline-none focus:ring-1 focus:ring-[#c5a572]/50"></div><div><label class="mb-1.5 block text-sm font-medium text-[#9a948a]" for="email">Email</label><input id="email" name="email" type="email" placeholder="" class="w-full rounded-sm border border-[#c5a572]/25 bg-[#131312] px-4 py-3 text-[#ece7df] placeholder:text-[#9a948a] focus:outline-none focus:ring-1 focus:ring-[#c5a572]/50"></div><textarea rows="4" placeholder="How can we help?" class="w-full rounded-sm border border-[#c5a572]/25 bg-[#131312] px-4 py-3 text-[#ece7df] placeholder:text-[#9a948a] focus:outline-none focus:ring-1 focus:ring-[#c5a572]/50" aria-label="Message"></textarea><button type="submit" class="bg-[#c5a572] text-[#0c0c0d] rounded-sm font-medium tracking-wider uppercase hover:bg-[#d4b883] w-full justify-center">Send <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></button></form></div>
</div>
</section> # Minimal Contact Form — Elegant Luxury
> Elegant Luxury contact layout: Minimal centered form.

## Features
- minimal centered form
- narrow max width
- 3 fields
- accessible
- single CTA
## Responsive support
- Mobile-first layout
- Breakpoints: `sm` (640px), `md` (768px), `lg` (1024px)
- Stacks gracefully on small screens, expands on large viewports
## Browser support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
## Usage
1. Copy the markup from `code.html` into your Tailwind CSS project.
2. Include the corresponding Google Fonts in your document `<head>` if the style requires them.
3. The snippet is self-contained and copy-paste ready — no build step or JavaScript required.
## Design language
**Elegant Luxury** — part of the DevSnips Tailwind Sections library. Every section is
original, accessible, and production-ready.
## Files
- `preview.html` — full standalone preview page (Tailwind CDN + fonts)
- `code.html` — copy-paste snippet only (no `<head>` / CDN)
- `metadata.json` — structured metadata
- `README.md` — this file 19 lines UTF-8 · LF · Spaces: 2
Continue browsing