{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "contact-form-section-shadcnui", "type": "registry:block", "title": "Contact Form", "description": "Contact form section with animated inputs, validation, and form handling", "registryDependencies": [ "button" ], "dependencies": [ "framer-motion", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/sections/contact-form-section.tsx", "content": "\"use client\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { Card } from \"@/components/ui/card\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\nimport { Textarea } from \"@/components/ui/textarea\";\nimport { motion, type Variants } from \"framer-motion\";\nimport { Mail, MessageSquare, Phone, Send } from \"lucide-react\";\nimport { useState } from \"react\";\n\nconst containerVariants: Variants = {\n hidden: { opacity: 0 },\n visible: {\n opacity: 1,\n transition: { staggerChildren: 0.14, delayChildren: 0.2 },\n },\n};\n\nconst itemVariants: Variants = {\n hidden: { opacity: 0, y: 16 },\n visible: {\n opacity: 1,\n y: 0,\n transition: { duration: 0.4, ease: \"easeOut\" },\n },\n};\n\nconst iconVariants: Variants = {\n hidden: { opacity: 0, scale: 0.8 },\n visible: {\n opacity: 1,\n scale: 1,\n transition: { duration: 0.35, ease: \"easeOut\" },\n },\n};\n\nexport function ContactFormSection() {\n const [formData, setFormData] = useState({\n name: \"\",\n email: \"\",\n phone: \"\",\n message: \"\",\n });\n\n const handleSubmit = (event: React.FormEvent) => {\n event.preventDefault();\n console.log(\"Form submitted:\", formData);\n };\n\n const handleChange = (\n event: React.ChangeEvent\n ) => {\n setFormData((prev) => ({\n ...prev,\n [event.target.name]: event.target.value,\n }));\n };\n\n return (\n
\n
\n
\n
\n
\n\n
\n \n \n Contact\n \n

\n Let’s build something exceptional together\n

\n

\n Share your project details and our team will reach out within one\n business day. We’re here to collaborate and craft meaningful\n experiences.\n

\n \n\n \n
\n\n \n \n \n \n Response within 24 hours\n \n\n
\n

\n Tell us about your project\n

\n

\n We’ll schedule a discovery call to understand your goals,\n timeline, and success metrics. Prefer email? Reach us at{\" \"}\n \n hello@example.com\n \n .\n

\n
\n\n
\n
\n \n
\n

Email

\n

hello@example.com

\n
\n
\n
\n \n
\n

Phone

\n

+1 (555) 123-4567

\n
\n
\n
\n \n\n \n
\n
\n \n Full Name\n \n \n
\n\n
\n \n Email\n \n
\n \n \n
\n
\n
\n\n
\n \n Phone Number\n \n
\n \n \n
\n
\n\n
\n \n Message\n \n
\n \n \n
\n
\n\n \n \n Send Message\n \n \n \n\n

\n By submitting this form you agree to our{\" \"}\n \n privacy policy\n \n .\n

\n
\n \n \n
\n
\n );\n}\n", "type": "registry:block", "target": "components/uitripled/contact-form-section-shadcnui.tsx" } ] }