Dev Design Library

Chat Message

A single chat transcript entry with baked-in entrance and layout motion. Right-aligned accent bubble for the user, left-aligned muted bubble for the assistant, with optional file attachments. Adapts to the global shape setting.

Chat Message preview
Library
Fluid Functionalism
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add @fluid/chat-message
Files
  • registry/default/chat-message.tsx
  • registry/default/lib/utils.ts
  • registry/default/lib/springs.ts
  • registry/default/lib/shape-context.tsx
  • registry/default/hooks/use-touch-primary.tsx
  • registry/default/file-thumbnail.tsx
  • registry/default/lib/size-context.tsx
  • registry/default/lib/type-scale.ts
Source
https://github.com/mickadesign/fluid-functionalism

Categories

More from Fluid Functionalism