Contact 9 - Topic select with conditional fieldsPro

A form whose extra fields swap with an animated height transition depending on the selected topic.

About Contact 9

A form whose extra fields swap with an animated height transition depending on the selected topic.

Contact 9 is a contact block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 133 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.

  • select
  • conditional
  • dynamic
  • form

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add contact-09

Dependencies installed automatically: lucide-react, motion.

Uses: button, input, label, reveal, textarea, use-reduced-motion, utils.

Usage

import Contact09 from "@/components/blocks/contact-09"

export default function Page() {
  return <Contact09 />
}

FAQ