Measured entry

tripled-ai-chat-interface-shadcnui

chatminimal-flatmotion on file

A client-side React prompt composer with an auto-growing textarea, animated action menus, a model picker, and a send control. It ships as a shadcn registry component and relies on shadcn Button and Textarea primitives, Tailwind theme classes, Framer Motion, Lucide icons, React, and the supporting Radix stack.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-ai-chat-interface-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-ai-chat-interface-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-ai-chat-interface-shadcnui at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for tripled-ai-chat-interface-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal74.3 KB (139.7 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 55.29s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A capable visual starting point that builds and mounts cleanly in its intended environment, with responsive behavior and sensible reduced-motion handling. It is still a UI shell rather than a chat feature, and it needs a shadcn-style setup before it will work in a bare React project.

Use it if

  • You need a polished prompt composer shell for an AI chat screen and will wire its actions to your own application logic.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and the expected import aliases.
  • You want compact share, rewrite, history, and model menus in the composer itself.

Skip it if

  • You need a complete chat flow with message history, uploads, streaming responses, or a working send action.
  • You do not want Framer Motion and icon-library weight for a single prompt composer.
  • Your project cannot adopt shadcn-style primitives, Tailwind theme classes, and path aliases.
  • You need model choices and menu actions to come from live data without first replacing the hardcoded options and console-only handlers.

Install

Installation record for tripled-ai-chat-interface-shadcnui
Declared dependenciesframer-motion, react, radix-ui
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add the expected source alias and utility helper, shadcn-compatible Button and Textarea primitives, Tailwind configuration with the referenced theme tokens, global styles, Framer Motion, Lucide React, and any Radix dependencies used by those primitives. Then replace the placeholder logging and fixed model list with application behavior.

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.

Alternatives

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.