Skip to content
Agentmart
Submit a tool

agentic-webdesign-shadcn-chat

Use shadcn/ui chat interface components — MessageScroller, Message, Bubble, Attachment, Marker.

Skill by S3YED

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/s3yed-agentic-webdesign-shadcn-chat

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use shadcn/ui chat interface components — MessageScroller, Message, Bubble, Attachment, Marker. Composable primitives for building streaming chat UIs. Use when building AI chat interfaces, support inboxes, or any conversation UI with shadcn/ui.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agentic-webdesign-shadcn-chat

What's inside

Skill name
agentic-webdesign-shadcn-chat
Description
Use shadcn/ui chat interface components — MessageScroller, Message, Bubble, Attachment, Marker. Composable primitives for building streaming chat UIs. Use when building AI chat interfaces, support inboxes, or any conversation UI with shadcn/ui.
License
MIT
Metadata
source: shadcn/ui June 2026 changelog (shadcn@4.12.0) · created: 2026-07-13
Instructions
90 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# shadcn/ui Chat Interface Components

A set of composable primitives for building streaming chat UIs. The scroll behavior, accessibility, and streaming edge cases are handled for you. You bring the content.

## Install

```bash
npx shadcn@latest add message-scroller message bubble attachment marker
```

## Component Overview

### MessageScroller
The scroll container for a conversation. Handles:
- **Anchored turns** — pin a user message near the top
- **Streamed replies** — auto-scroll only when user is at the bottom
- **Thread restore** — saved scroll position on navigation
- **Prepend history** — preserve position when history loads above
- **Jump-to-message** and scroll controls
- **Visibility tracking**

Headless version available: `@shadcn/react/message-scroller`

Structure:
```
MessageScrollerProvider
  └── MessageScroller
       └── MessageScrollerViewport
            └── MessageScrollerContent (role="log", aria-relevant="additions")
```

### Message
Row layout with avatar, alignment, header, content, footer, and grouped messages.

### Bubble
Message surface with variants, alignment, reactions, links, buttons, and collapsible content.

### Attachment
Files and images with media, metadata, upload state, actions, and full-card trigger.

### Marker
Status updates, system notes, bordered rows, labeled separators — streaming state, tool activity, date breaks.

## CSS Utilities (included with shadcn/tailwind.css)

### scroll-fade
Scroll-aware edge fades. No overlays or JS listeners.

```tsx
<div className="h-72 scroll-fade scrollbar-none overflow-y-auto">
  {...items}
</div>
```

### shimmer
Text shimmer animation for live status:

```tsx
<p className="shimmer text-sm text-muted-foreground">
  Generating response…
</p>
```

## AI Agent Integration

Works with Vercel AI SDK:

```tsx
import { useChat } from '@ai-sdk/react'

const { messages, sendMessage, isLoading } = useChat({
  transport: chat.transport({ chunkDelayMs: 20 })
})
```

## Why This Helps AI Agents

1. **Scroll behavior lives in code** — agents don't need to handle anchor logic in prompts
2. **Small, single-purpose** — each component does one thing, reducing composition errors
3. **Accessibility built-in** — `role="log"`, `aria-relevant`, `aria-busy`, screen reader announcements
4. **Headless option** — `@shadcn/react` decouples behavior from style
5. **Streaming-aware** — auto-scroll only when pinned to bottom, respects user scroll position

## Pitfalls

- MessageScroller owns scroll behavior but NOT your messages, AI state, transport, or persistence
- Use `scrollAnchor` on user messages for anchored turns
- For streaming, set `aria-busy` during active generation
- The `scroll-fade` and `shimmer` utilities only work with projects initialized via `npx shadcn@latest init`

From S3YED/appie-kit, MIT.

More from S3YED/appie-kit

Signals

Stars
12
Forks
2
Open issues
0
Last commit (this folder)
Jul 14, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
weblyfe.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from S3YED

Cite this page

agentic-webdesign-shadcn-chat skill. Agent Mart. https://agentmart.dev/skills/s3yed-agentic-webdesign-shadcn-chat (last updated 2026-10-24)