The SupportButton component provides a customizable button that, when clicked, opens a support channel based on the configured support service or defaults to opening an email client.
page.tsx
Copy
import SupportButton from "@/components/support-button";
Remember to choose text that encourages users to seek help when needed, promoting a positive support experience. The current implementation uses “Contact support” with a right chevron icon, which is clear and straightforward.The SupportButton component creates a button that, when clicked, provides support access through one of the following methods:
Opens the default email client with a pre-filled support email (as a fallback)
You could extend the SupportButton component with widgets like Crisp, Intercom, Userdesk, etc.