Measured entry
ruixen-gradient-chat-input
chatgradient-glowmotion on file
A client-side chat composer with animated message bubbles, an optional canned auto-reply, synthesized send and receive chimes, and a spectrum glow after conversation starts. It ships as a shadcn registry component and relies on Motion, Lucide icons, shadcn Button and Input primitives, the cn utility, Tailwind theme tokens, and browser audio APIs.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 72.6 KB (138.0 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 47.60s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/gradient-chat-input.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A polished prototype-oriented composer with useful callbacks and configurable effects, but much of the conversation behavior is illustrative rather than application-ready. It needs a shadcn-style setup to build and mount, so adoption is easiest in an existing compatible codebase.
Use it if
- You want a self-contained chat demo or onboarding prototype with lively send feedback.
- Your app already uses shadcn conventions and can reuse its Button, Input, utility, and theme setup.
- You need a controlled send callback while keeping the sample bubble history and optional reply behavior local to the component.
Skip it if
- You need a production conversation view backed by persisted messages, streaming responses, delivery state, or retries.
- Your design system does not use shadcn aliases and Tailwind theme tokens, and you do not want to adapt those assumptions.
- You need the attachment control to open a picker without adding that behavior yourself.
- You want a quiet or motion-light composer by default, since the component enables synthesized sounds and animated effects unless configured otherwise.
Install
| Declared dependencies | lucide-react, motion, radix-ui |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Motion, Lucide React, and the required Radix-backed UI dependencies; provide compatible Button and Input primitives, a cn class-merging helper, the expected import aliases, Tailwind utilities and theme color tokens, and client-side React support. Wire the attachment action and real message transport separately.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/ruixenui/ruixen.comAlternatives
Other published entries for the chat pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hextaui-alertminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 26.8KB
- Bare
- fail
- Prov
- NO
- kibo-bannerminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 33.0KB
- Bare
- fail
- Prov
- NO
- ruixen-comment-threadunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 40.2KB
- Bare
- fail
- Prov
- NO
- ruixen-smart-paste-inputunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 44.4KB
- Bare
- fail
- Prov
- NO
- ruixen-faq-chat-accordionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 67.7KB
- Bare
- fail
- Prov
- NO
- tripled-ai-chat-interface-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 74.3KB
- Bare
- fail
- Prov
- NO