logo image
  • Overview

    • View all components
    • Install required things
  • Common UI

    • App Logo
    • Avatar
    • Button
    • Badge
    • Typography

    • Forms

    • Notification
    • Modal
    • Card
    • Breadcrumb
    • Pagination
    • Top Progress Bar
    • Table
    • Item Grid
    • Youtube Video
  • Features UI

    • Live chat button
  • Sections

    • Hero Banner
    • FAQs
  • Layouts

    • common

    • TopBar Layout
    • SideBar Layout
  1. Home
  2. Components
  3. Feature Ui
  4. Live Chat Button

Live Chat Button

Need a clean and modern live chat button for your website? In this guide, we’ll walk you through how to design a responsive chat button UI using Next.js and Tailwind CSS. It’s simple, lightweight, and easy to customize to fit any site.


Live Chat preview

messenger chat

Please install everything that's required

Before setup and using this component, please install all the required dependencies from this link (if you have never installed).

1. Live chat with message icon

Create a component /components/LiveChatButton.tsx

jsx
import { ChatBubbleOvalLeftEllipsisIcon } from "@heroicons/react/20/solid"; ... <a href={"/#"} target="_blank" className="fixed bottom-6 right-6 cursor-pointer transition-transform hover:scale-125" > <ChatBubbleOvalLeftEllipsisIcon className="size-16 text-blue-500" /> </a>

Now you can see, the live chat will be shown on the bottom right corner of browser.

2. Bonus: Live chat with Facebook messenger image

we can also create live chat with image Messenger, Instagram, ...

jsx
<a href={"/#"} target="_blank" className="fixed bottom-6 right-6 cursor-pointer transition-transform hover:scale-125" > <Image src={"/images/messenger-icon.png"} width={60} height={60} alt="messenger chat" /> </a>

The UI is shown like that

messenger chat

You can download the Messenger image icon on this link

Previous
Youtube Video
Next
Hero Banner

On this page

  1. 1. Live chat with message icon

  2. 2. Bonus: Live chat with Facebook messenger image