Contact Grid Form

Live Preview
<div class="max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-12 px-6 py-12">
        <div>
            <h2 class="text-4xl font-black text-slate-900 mb-6 font-bold">Let's talk.</h2>
            <p class="text-slate-500 mb-8 leading-relaxed">Have a question or a project in mind? We'd love to hear from
                you.</p>
            <div class="space-y-6">
                <div class="flex items-center gap-4">
                    <div class="w-12 h-12 bg-indigo-50 rounded-full flex items-center justify-center text-indigo-600">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path
                                d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2-2v10a2 2 0 002 2z"
                                stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                        </svg>
                    </div>
                    <span class="font-medium text-slate-700">hello@webtemplatehub.com</span>
                </div>
            </div>
        </div>
        <form class="space-y-4">
            <div class="grid grid-cols-2 gap-4">
                <input type="text" placeholder="First Name"
                    class="p-4 bg-slate-50 border-none rounded-xl w-full outline-none focus:ring-2 focus:ring-indigo-500/20">
                <input type="text" placeholder="Last Name"
                    class="p-4 bg-slate-50 border-none rounded-xl w-full outline-none focus:ring-2 focus:ring-indigo-500/20">
            </div>
            <input type="email" placeholder="Email Address"
                class="p-4 bg-slate-50 border-none rounded-xl w-full outline-none focus:ring-2 focus:ring-indigo-500/20">
            <textarea placeholder="Tell us about your project" rows="4"
                class="p-4 bg-slate-50 border-none rounded-xl w-full outline-none focus:ring-2 focus:ring-indigo-500/20"></textarea>
            <button type="submit"
                class="bg-indigo-600 text-white px-8 py-4 rounded-xl font-bold w-full shadow-lg shadow-indigo-100 hover:bg-indigo-700 active:scale-95 transition-all">Send
                Message</button>
        </form>
    </div>

Related components

More items from the merged UI library.

View all