MintoMinto
DocsBlogChangelog
Components/Contact Components

API

  • POSTCreate Testimonial
  • GETList Testimonials

Components

  • Auth Components
  • Contact Components
  • Dialog Manager
  • Layout Components
  • Markdown Components

Configuration

  • File Upload Adapters

Developer

  • Safe Actions
  • Zod Route

Guide

  • Getting Started
  • Embedding Testimonials

Minto

Extrayez automatiquement les actions et décisions de vos réunions grâce à l'IA

Product

BlogDocumentationDashboardAccount

Company

AboutContact

Legal

TermsPrivacy

421 Rue de Paris, France

© 2025 NOW.TS LLC. All rights reserved.

Contact Components

Support dialog and feedback popover components for user communication

Our application comes with two components that allow users to contact you.

ContactSupportDialog

This component displays a modal with a form to contact support.

Form Fields

  • email - Only displayed if the user is not logged in
  • subject - The message subject
  • message - The message content

Basic Usage

<ContactSupportDialog />

By default, a button with the text "Contact support" is displayed.

Custom Usage

You can customize the button or trigger area by passing child content:

<ContactSupportDialog>
  <button>Need help?</button>
</ContactSupportDialog>

Behavior

  • When the form is submitted, an email is sent to the address defined in the NEXT_PUBLIC_EMAIL_CONTACT environment variable
  • A toast "Your message has been sent." is displayed on success
  • An error toast is displayed on failure
  • The modal closes automatically after a successful submission

ContactFeedbackPopover

This component displays a button that opens a popover allowing users to quickly give feedback on the application.

Form Fields

  • email - Only displayed if the user is not logged in
  • message - The feedback content
  • review - A rating system with 4 emojis:
    • (1) - Extremely dissatisfied
    • (2) - Rather dissatisfied
    • (3) - Neutral
    • (4) - Satisfied

Basic Usage

<ContactFeedbackPopover />

By default, a button with the text "Feedback" is displayed.

Custom Usage

You can customize the button or trigger area by passing child content:

<ContactFeedbackPopover>
  <button>Give us your feedback</button>
</ContactFeedbackPopover>

Behavior

  • The popover closes automatically after a successful submission
  • A toast "Your feedback has been sent! Thank you." is displayed on success
  • An error toast is displayed on failure

FAQ

When should I use ContactSupportDialog?

ContactSupportDialog is useful when you want to allow users to report issues or ask questions. It is already used several times in error pages to allow users to quickly report a problem.

When should I use ContactFeedbackPopover?

ContactFeedbackPopover is ideal for quickly collecting general feedback on the user experience. It's less intrusive than a full modal and allows quick rating with emojis.

Auth ComponentsDialog Manager

On This Page

ContactSupportDialogForm FieldsBasic UsageCustom UsageBehaviorContactFeedbackPopoverForm FieldsBasic UsageCustom UsageBehaviorFAQWhen should I use ContactSupportDialog?When should I use ContactFeedbackPopover?
Sign in