# Portfolio Contact Section: Classic Contact Form

A straightforward contact form with name, email, and message fields plus a submit button. Drop it on a portfolio page so visitors can send a quick note.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/classic-contact-form
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio), Free tier
- Group: [Contact Sections](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/classic-contact-form.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-portfolio-contact-sections-classic-contact-form
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-contact-sections-classic-contact-form.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button, card, input, label, textarea
- Installs to: `@/components/blocks/portfolio/portfolio-contact-sections/classic-contact-form`

## About this block

Classic Contact Form centers a narrow card on the page under a bold "Get in
touch" heading and a one-line invitation to write. Inside the card, four
labeled fields stack vertically: Name, Email, Subject, and a five-row Message
textarea. A full-width "Send Message" button closes the form, followed by a
small note about response time.

All four fields are independent. You can relabel them, swap the placeholder
text, or remove the Subject field entirely without affecting the layout. The
heading and subtext above the card are plain copy, so you can rewrite both to
match the voice of the portfolio they sit on.

## When to use

This layout works well whenever the contact section needs to feel formal and
low-friction, which suits healthcare or scheduling contexts where a visitor
may want to describe their situation in a few sentences before committing to
a call. Because the form is contained in a single card with no competing
columns or sidebars, it keeps attention on the message itself. The
[Split Layout](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/split-layout)
sibling is a better fit when you want to pair the form with an introductory
column; reach for this block when you want the form to stand on its own.

A natural flow around it on a Portfolio page:

**Before**

- [Core Services Overview](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-core-services-overview)
  to set out what kind of work you take on before asking for a message
- [Why Work With Me](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-why-work-with-me) to give
  visitors a reason to reach out before they see the form

**After**

- [Email Signup And Newsletter](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-email-signup-and-newsletter)
  as a lighter follow-up for visitors who are not quite ready to write a
  full message

## What you can customize

The form's four fields cover the most common intake questions, and each one
can be adjusted to fit your context:

- **Field labels and placeholders.** Rename "Subject" to something like
  "Appointment type" or "Referral source" to pre-qualify the kind of
  enquiry you receive.
- **Response-time note.** The small line below the button sets expectations;
  update it to reflect your actual availability or remove it if you prefer
  to leave turnaround open.
- **Card border and spacing.** The card sits inside a narrow centered
  container, so the block scales cleanly from mobile to wide viewports
  without any layout changes on your part.

> Tip: wire the form to a server action or an API route before going live;
> the markup is ready to accept a submit handler without structural changes.

## More in Portfolio Contact Sections

- [Map With Contact Info](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/map-with-contact-info)
- [Minimal Form With Social](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/minimal-form-with-social)
- [Popup Trigger Contact](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/popup-trigger-contact)
- [Split Layout](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections/split-layout)
