BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/7ovr/ai-chat-3

Live Chat With Typing Indicator

7ovr/ai-chat-3
FreeBlock

AI chat that replies live, showing a shimmering typing indicator, suggestion chips, and a textarea composer with keyboard shortcut hints.

Install it

npx shadcn@latest add https://7ovr.com/r/ai-chat-3.json

Source

registry/blocks/ai-chat/3/ai-chat-block.tsx7ovr.com/r/ai-chat-3.json · first 6 KB
1"use client"
2
3import { useEffect, useRef, useState } from "react"
4import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
5import { Bubble, BubbleContent } from "@/components/ui/bubble"
6import { Button } from "@/components/ui/button"
7import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"
8import { Kbd, KbdGroup } from "@/components/ui/kbd"
9import { Marker, MarkerContent } from "@/components/ui/marker"
10import { Message, MessageAvatar, MessageContent } from "@/components/ui/message"
11import {
12 MessageScroller,
13 MessageScrollerButton,
14 MessageScrollerContent,
15 MessageScrollerItem,
16 MessageScrollerProvider,
17 MessageScrollerViewport,
18} from "@/components/ui/message-scroller"
19import { Separator } from "@/components/ui/separator"
20import { Textarea } from "@/components/ui/textarea"
21import { cn } from "@/lib/utils"
22import { IconPlaceholder } from "@/components/icons/icon-placeholder"
23
24type MessageRole = "user" | "assistant"
25
26interface ChatMessage {
27 id: number
28 role: MessageRole
29 content: string
30}
31
32const initialMessages: ChatMessage[] = [
33 {
34 id: 1,
35 role: "assistant",
36 content:
37 "Hi, I'm Acme Copilot. Ask me to draft, summarise, or plan something and I'll get to work.",
38 },
39 {
40 id: 2,
41 role: "user",
42 content: "What can you help me with on the Acme dashboard?",
43 },
44 {
45 id: 3,
46 role: "assistant",
47 content:
48 "Plenty. I can surface revenue trends, draft customer replies, generate release notes, and explain any metric you click on. Want me to start with a quick weekly summary?",
49 },
50]
51
52const cannedReplies: string[] = [
53 "Got it. Here's a quick take: your weekly active users are up 12% and trial conversion held steady at 4.8%. Want me to break this down by plan tier?",
54 "Done. I drafted three subject-line variants and a 90-word body for the launch email, each tuned for a slightly different audience. I can refine the tone if you'd like.",
55 "Sure thing. The top driver this week was the Acme Pro upgrade flow (+$18.4k). I can pull the full attribution report whenever you're ready.",
56 "Here's a starting outline with five sections and suggested owners. Let me know which part you'd like me to expand first.",
57]
58
59const suggestions: string[] = [
60 "Summarise This Week",
61 "Draft A Launch Email",
62 "Explain Churn Rate",
63]
64
65export default function AiChatBlock() {
66 const [messages, setMessages] = useState<ChatMessage[]>(initialMessages)
67 const [draft, setDraft] = useState("")
68// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • avatar
  • bubble
  • button
  • card
  • kbd
  • marker
  • message
  • message-scroller
  • separator
  • textarea

Files it writes

  • registry/blocks/ai-chat/3/ai-chat-block.tsx

Facts

Registry
7ovr
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-09
Last confirmed
today

Go to the source

7ovr.com Raw registry item This item as JSON

More from 7ovr

All 241 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Mission Statement With Statsabout-17ovrBlocksFree1 dep
Founder Story With Photoabout-27ovrBlocksFree1 dep
Values Card Gridabout-37ovrBlocksFree1 dep
Mission Vision Values Columnsabout-47ovrBlocksFree1 dep
Recent Activity Cardactivity-17ovrBlocksFree1 dep
Activity Grouped By Dayactivity-27ovrBlocksFree1 dep
Audit Log With Icon Tilesactivity-37ovrBlocksFree1 dep
Activity Tabs With Unreadactivity-47ovrBlocksFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex