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-conversation

Aurora AI Conversation

aurora-dinglebear-ai/aurora-ai-conversation
FreeBlock

Aurora-native conversation parity surface from AI Elements.

Install it

npx shadcn@latest add https://aurora.dinglebear.ai/r/aurora-ai-conversation.json

Source

registry/aurora/blocks/ai/elements/conversation.tsxaurora.dinglebear.ai/r/aurora-ai-conversation.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { Avatar as AuroraAvatar } from "@/registry/aurora/ui/avatar"
5
6// ─── Types ──────────────────────────────────────────────────────────────────
7
8export type ConversationProps = React.HTMLAttributes<HTMLDivElement> & {
9 /** Caps the scroll height of the thread (px). Defaults to 520. */
10 maxHeight?: number
11}
12
13export interface MessageProps extends React.HTMLAttributes<HTMLElement> {
14 role?: "assistant" | "user" | "system"
15}
16
17export interface MessageAvatarProps extends React.HTMLAttributes<HTMLDivElement> {
18 label: string
19 /** Accent family for the avatar ring + glyph. */
20 tone?: "axon" | "cyan" | "rose" | "muted"
21}
22
23// ─── Conversation ─────────────────────────────────────────────────────────────
24
25const Conversation = ({ ref, className, style, maxHeight = 520, ...props }: ConversationProps & { ref?: React.Ref<HTMLDivElement> }) => (
26 <div
27 ref={ref}
28 role="log"
29 aria-live="polite"
30 aria-label="Conversation"
31 className={["grid gap-4 border p-4", className].filter(Boolean).join(" ")}
32 style={{
33 border: "1px solid var(--aurora-border-strong)",
34 borderRadius: "var(--aurora-radius-1)",
35 boxShadow: "var(--aurora-shadow-medium), var(--aurora-highlight-medium)",
36 background:
37 "linear-gradient(180deg, color-mix(in srgb, var(--aurora-panel-strong) 96%, transparent), var(--aurora-panel-medium))",
38 maxHeight,
39 overflowY: "auto",
40 ...style,
41 }}
42 {...props}
43 />
44 )
45Conversation.displayName = "Conversation"
46
47// ─── Message (row) ────────────────────────────────────────────────────────────
48
49const Message = ({ ref, className, role = "assistant", style, ...props }: MessageProps & { ref?: React.Ref<HTMLElement> }) => {
50 const isUser = role === "user"
51 return (
52 <article
53 ref={ref}
54 className={["flex gap-3", className].filter(Boolean).join(" ")}
55 data-role={role}
56 style={{
57 // User rows mirror: avatar moves to the right, bubble hugs the right edge.
58// … truncated

What it pulls in

npm packages

  • lucide-react@^0.487.0

Other registry items

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

Files it writes

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

Facts

Registry
aurora
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
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-actionauroraBlocksFree1 dep
Aurora AI Actionsaurora-ai-actionsauroraBlocksFree1 dep
Aurora AI Agentaurora-ai-agentauroraBlocksFree1 dep
Aurora AI Image Gridaurora-ai-ai-image-gridauroraBlocksFree1 dep
Aurora AI Attachmentsaurora-ai-attachmentsauroraBlocksFree1 dep
Aurora AI Audio Playeraurora-ai-audio-playerauroraBlocksFree1 dep
Aurora AI Branchaurora-ai-branchauroraBlocksFree1 dep
Aurora AI Canvasaurora-ai-canvasauroraBlocksFree1 dep
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex