Contact Split
A two-column contact section: a heading and a pill email input with a round submit on the left, a large address block on the right. Harvested from Linksmoor.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/contact-split.jsonDependencies:
lucide-reactGet in touch!
Have questions or need assistance? We are here to help.
123 Fairway Lane,
Brookhaven, CA 90000.
Usage
contact-split-example.tsx
import { ContactSplit } from "@dbs/ui";
export default function ContactSplitExample() {
return (
<ContactSplit
title="Get in touch!"
description="Have questions or need assistance? We are here to help."
details={
<>
<p>123 Fairway Lane,</p>
<p>Brookhaven, CA 90000.</p>
<p className="break-words lg:mt-2">
<a href="#" className="transition-colors hover:text-ink">
hello@example.com
</a>
</p>
<p className="lg:mt-2">
<a href="#" className="transition-colors hover:text-ink">
+1 (555) 010-0123
</a>
</p>
</>
}
/>
);
}