Contact 31 - Form in a side sheetPro
A compact CTA banner whose button opens a right-hand sheet containing the contact form, with the success state shown inside the sheet.
About Contact 31
A compact CTA banner whose button opens a right-hand sheet containing the contact form, with the success state shown inside the sheet.
Contact 31 is a pro contact block for React, built on shadcn/ui and Tailwind CSS. It ships as 107 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- sheet
- drawer
- overlay
- cta
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/contact-31Dependencies installed automatically: lucide-react.
Uses: button, input, label, reveal, sheet, textarea, utils.
Usage
import Contact31 from "@/components/blocks/contact-31"
export default function Page() {
return <Contact31 />
}