Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsCompany

Contact

Contact form beside your contact details; works without JavaScript.

Preview

Preview theme color
More themes

Get in touch

We reply within two working days. Sample copy.

Office
Sample Street 1, Example City

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs.

Usage

import { Contact } from "@/components/custom/contact";

<Contact
  action="/api/contact"
  details={[{ label: "Email", value: "hello@example.com", href: "mailto:hello@example.com" }]}
/>

Props

PropTypeDefaultDescription
action* (required)string–Where the form posts (name, email, message).
details{ label; value; href? }[]–Contact details beside the form.
submitLabelstring"Send message"Button text.
title / descriptionstring–Heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Every field has a visible label and the right input type and autocomplete.