Chat Style FAQ Section With a Real Person Typing
Chat style FAQ section: an FAQ as a conversation: tap a question and watch a real person read it, type the answer, catch a typo and send it.
Features
- Questions are replies you tap; each one is sent, marked Read, then answered
- The answer is typed out live in the person's bubble, slips on one word, erases it and carries on
- Follow-up questions are offered first after each answer, three at a time
- A field for a question that isn't listed opens the visitor's email with it as the subject
- The thread scrolls itself, never the page; screen readers hear each finished message once
- Beside the chat, the person's card lists every question as a row with its own Ask, ticked off as it is asked, under marks that fill as you go
- Answers arrive whole, without typing, for reduced motion
Best for: Studios, consultants and service businesses where a real person answers buyers, and the FAQ should feel like talking to them.
Installation
npm install motion lucide-react @radix-ui/react-slot class-variance-authority clsx tailwind-mergeThen copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | The headline's first line. |
| subtitle | string | - | Optional second line, in grey. |
| description | string | - | Optional paragraph beside the headline. |
| eyebrow | string | - | Optional small label above the headline. |
| person | ChatPerson | - | Who answers: name, role, photo, an optional note and facts { label, value }. |
| greeting | string | - | The person's first message. |
| questions | ChatQuestion[] | - | id, question, answer and optional followUps (ids offered next). The first is already answered when the section loads. |
| string | - | Where a question of the visitor's own is sent. | |
| copy | Partial<ChatCopy> | - | Overrides for the words: suggestionsLabel, writingLabel, readLabel, allAskedLabel, askLabel, askPlaceholder, sendLabel, ownQuestionReply, threadLabel, indexLabel, indexAskLabel, indexAskedLabel. {name} becomes the first name. |
| className | string | - | Extra classes for the section. |
FAQ
Is the Chat Style FAQ Section With a Real Person Typing free to use?
Yes. Chat Style FAQ Section With a Real Person Typing is free to copy into your own projects. Open the Code tab and paste the files into your app.
Does Chat Style FAQ Section With a Real Person Typing work with Next.js and React?
Yes. It's a React client component made for the Next.js App Router, styled with Tailwind CSS and animated with Framer Motion (the motion package).
Can I use Chat Style FAQ Section With a Real Person Typing in JavaScript instead of TypeScript?
Yes. Every file comes in TypeScript and JavaScript. Switch the language in the Code tab.
What does Chat Style FAQ Section With a Real Person Typing need installed?
motion, lucide-react, @radix-ui/react-slot, class-variance-authority, clsx, tailwind-merge, plus the shared helpers from the Installation page.
Is Chat Style FAQ Section With a Real Person Typing accessible?
Every link and button is reachable by keyboard with a visible focus ring, and the animation stays still for visitors who ask for reduced motion.
