Skip to main content
Clever Ops

Contact Project Brief

Project inquiry form that composes a brief, radio-chip fieldsets for type, budget and timeline with a live mono summary line. An honest React and Tailwind contact form for agencies.

Preview & code

Loading Contact Project Brief preview

Installation

pnpm dlx shadcn@latest add @cleverui/contact-project-brief

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ContactProjectBrief } from '@/components/blocks/contact-project-brief'
Exampletsx
'use client'

import { ContactProjectBrief } from '@/components/blocks/contact-project-brief'

export default function ContactProjectBriefDemo() {
  return (
    <ContactProjectBrief
      heading="Start a project"
      intro="Three choices and a paragraph. That is a brief we can price, no discovery call required to begin."
      projectTypes={[
        'Brand site',
        'Product UI',
        'E-commerce',
        'Something else',
      ]}
      budgets={['Under $10k', '$10k – 25k', '$25k – 60k', '$60k+']}
      timelines={['ASAP', 'This quarter', 'Flexible']}
      submitLabel="Send the brief"
      note="A person reads every brief. Replies within one business day."
      onSubmit={() => {
        // demo settles success state via the component
      }}
    />
  )
}

API reference

ContactProjectBrief accepts the following props.

PropTypeDefaultDescription
headingstring'Start a project'
intro*stringone sentence under the heading
projectTypes*string[]single-select chips for project type
budgets*string[]single-select chips for budget band
timelinesstring[]optional third fieldset for timeline
onSubmit*(data: { projectType: string budget: string timeline?: string name: string email: string message: string }) => voidcalled with validated values
submitLabelstring'Send the brief'
notestring'A person reads every brief. Replies within one business day.'mono reassurance line under the submit button
headingLevel2 | 32

…plus everything from Omit< React.HTMLAttributes<HTMLElement>, 'onSubmit' | 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart' >: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Contact Project Brief component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/contact-project-brief`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Contact Project Brief require?

Contact Project Brief uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Contact Project Brief to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services