BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aurora/aurora-ai-message

Aurora AI Message

aurora-dinglebear-ai/aurora-ai-message
UnverifiedBlock

Aurora-native message parity surface from AI Elements.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-ai-message.json

Source

registry/aurora/blocks/ai/elements/message.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-ai-message.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { Avatar as AuroraAvatar } from "@/registry/aurora/ui/avatar"
5import { Button } from "@/registry/aurora/ui/button"
6
7// ─── Types ──────────────────────────────────────────────────────────────────
8
9export interface MessageProps extends React.HTMLAttributes<HTMLElement> {
10 role?: "assistant" | "user" | "system"
11 /** Timestamp shown in the hover-revealed meta row */
12 time?: React.ReactNode
13 /** Action buttons shown in the hover-revealed meta row */
14 actions?: React.ReactNode
15}
16
17export interface MessageAvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
18 label: string
19 tone?: "axon" | "cyan" | "rose" | "muted"
20 status?: "online" | "away" | "busy" | "offline"
21}
22
23export interface MessageContentProps extends React.HTMLAttributes<HTMLDivElement> {
24 tone?: MessageProps["role"]
25 /** Append a blinking caret to signal an in-progress stream */
26 streaming?: boolean
27}
28
29// Styles: registry/aurora/styles/aurora-components.css (@layer aurora-components).
30
31// ─── Message ─────────────────────────────────────────────────────────────────
32// Turn row: avatar + bubble, with a timestamp/actions meta row revealed on hover.
33
34const Message = ({ ref, className, role = "assistant", time, actions, style, children, ...props }: MessageProps & { ref?: React.Ref<HTMLElement> }) => {
35 const isUser = role === "user"
36 const hasMeta = time != null || actions != null
37
38 return (
39 <article
40 ref={ref}
41 className={["group/aurora-msg flex flex-col", className].filter(Boolean).join(" ")}
42 data-role={role}
43 style={{
44 color: "var(--aurora-text-primary)",
45 alignItems: isUser ? "flex-end" : "stretch",
46 ...style,
47 }}
48 {...props}
49 >
50 <div
51 className="flex gap-[10px]"
52 style={{ justifyContent: isUser ? "flex-end" : "flex-start", alignItems: "flex-start" }}
53 >
54 {children}
55 </div>
56 {hasMeta && (
57 <div
58 className="flex items-center gap-[6px] opacity-0 transition-opacity duration-150 ease-out group-hover/aurora-msg:opacity-100"
59 style={{
60 marginTop: 5,
61// … truncated

What it pulls in

npm packages

  • lucide-react@^0.487.0

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-ai-elements
  • @aurora/aurora-components
  • @aurora/aurora-avatar

Files it writes

  • registry/aurora/blocks/ai/elements/message.tsx

Facts

Registry
aurora
Type
registry:block
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

aurora.dinglebear.ai dinglebear-ai/aurora on GitHub Raw registry item This item as JSON

More from aurora

All 176 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora AI Actionaurora-ai-actionauroraBlocksUnverified1 dep
Aurora AI Actionsaurora-ai-actionsauroraBlocksUnverified1 dep
Aurora AI Agentaurora-ai-agentauroraBlocksUnverified1 dep
Aurora AI Image Gridaurora-ai-ai-image-gridauroraBlocksUnverified1 dep
Aurora AI Attachmentsaurora-ai-attachmentsauroraBlocksUnverified1 dep
Aurora AI Audio Playeraurora-ai-audio-playerauroraBlocksUnverified1 dep
Aurora AI Branchaurora-ai-branchauroraBlocksUnverified1 dep
Aurora AI Canvasaurora-ai-canvasauroraBlocksUnverified1 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