BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Manifest UI/message-bubble

Message Bubble

manifest-ui/message-bubble
FreeBlock

Chat message bubbles with text, image, voice, and reaction variants.

Install it

npx shadcn@latest add https://ui.manifest.build/r/message-bubble.json

Source

registry/messaging/message-bubble.tsxui.manifest.build/r/message-bubble.json · first 6 KB
1'use client'
2
3import {
4 DropdownMenu,
5 DropdownMenuContent,
6 DropdownMenuTrigger
7} from '@/components/ui/dropdown-menu'
8import { cn } from '@/lib/utils'
9import { demoTextMessages, demoImageMessages, demoReactionMessage, demoVoiceMessage } from './demo/messaging'
10import { Check, CheckCheck, Smile } from 'lucide-react'
11import { useRef, useState } from 'react'
12
13/**
14 * Internal avatar component options.
15 * @interface InternalAvatarOptions
16 * @property {string} [src] - Avatar image URL
17 * @property {string} fallback - Fallback letter when image fails or is missing
18 * @property {string} [className] - Additional CSS classes
19 */
20interface InternalAvatarOptions {
21 src?: string
22 fallback: string
23 className?: string
24}
25
26function Avatar({ src, fallback, className }: InternalAvatarOptions) {
27 const [imgError, setImgError] = useState(false)
28
29 if (src && !imgError) {
30 return (
31 <img
32 src={src}
33 alt={fallback}
34 onError={() => setImgError(true)}
35 className={cn('h-8 w-8 rounded-full object-cover shrink-0', className)}
36 />
37 )
38 }
39
40 return (
41 <div
42 className={cn(
43 'h-8 w-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-xs font-semibold shrink-0',
44 className
45 )}
46 >
47 {fallback}
48 </div>
49 )
50}
51
52/**
53 * ═══════════════════════════════════════════════════════════════════════════
54 * MessageBubbleProps
55 * ═══════════════════════════════════════════════════════════════════════════
56 *
57 * Props for configuring a text message bubble in chat interfaces with avatar,
58 * delivery status, and own/other message styling.
59 */
60export interface MessageBubbleProps {
61 data?: {
62 /** Message text content to display. */
63 content?: string
64 /** URL for the sender's avatar image. */
65 avatarUrl?: string
66 /** Fallback letter to display when avatar image is unavailable. */
67 avatarFallback?: string
68 /** Display name of the message author. */
69 author?: string
70 /** Time display string (e.g., "10:30 AM"). */
71 time?: string
72 }
73 appearance?: {
74 /**
75 * Whether this message is from the current user.
76 * @default false
77 */
78 isOwn?: boolean
79 }
80// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • dropdown-menu

Files it writes

  • registry/messaging/message-bubble.tsx
  • registry/messaging/demo/messaging.ts

Facts

Registry
Manifest UI
Type
registry:block
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

ui.manifest.build Raw registry item This item as JSON

More from Manifest UI

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Amount Inputamount-inputManifest UIBlocksFree1 dep · 2 files
Chat Conversationchat-conversationManifest UIBlocksFree1 dep · 3 files
Contact Formcontact-formManifest UIBlocksFree1 dep · 3 files
Date & Time Pickerdate-time-pickerManifest UIBlocksFree1 dep · 2 files
Event Cardevent-cardManifest UIBlocksFree1 dep · 2 files
Event Confirmationevent-confirmationManifest UIBlocksFree1 dep · 2 files
Event Detailevent-detailManifest UIBlocksFree3 deps · 2 files
Event Listevent-listManifest UIBlocksFree3 deps · 2 files

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

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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