Message
- from @localmode
- by LocalMode
Role-aware chat message (data-role) rendering string or ContentPart[] — markdown text, image thumbnails with a fullscreen dialog, and file download chips from local bytes — with contained/flat variants and an inter-message Checkpoint savepoint marker. Matches @localmode/react's message model.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/conversation/messageLive preview
No live preview has been built for this component yet.
Registry dependencies5
- @localmode/ui/lib/utils
- avatar
- button
- dialog
- @localmode/ui/lib/browser-utils
