Measured entry

tripled-floating-chat-widget-shadcnui

chatminimal-flatmotion on file

A client-side floating chat mock with an animated launcher, agent picker, canned conversation, typing indicator, and controlled message field. It ships as a shadcn registry component and relies on React, Framer Motion, Lucide icons, Tailwind theme classes, shadcn Avatar, Button, and Select primitives, plus the usual class-name utility. It does not connect to a chat service.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-floating-chat-widget-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-floating-chat-widget-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-floating-chat-widget-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-floating-chat-widget-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal105.9 KB (171.3 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 50.85s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-shadcn/src/components/components/chat/floating-chat-widget.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible visual starting point for an agent chooser, but not a complete chat feature. It mounts cleanly in the prepared harness, yet needs a shadcn-style setup and an accessibility pass before production use; you must also supply all messaging behavior.

Use it if

  • You need a polished prototype shell for an AI assistant and will wire the submit flow to your own service.
  • Your app already uses shadcn primitives, Tailwind theme tokens, Lucide icons, and Framer Motion.
  • You want users to switch among several assistant personas from the widget header.

Skip it if

  • You need production chat behavior out of the box, since the conversation is static and submitting only clears the field.
  • You cannot fix unlabeled icon-only controls before release; the verified widget has a critical accessible-name failure.
  • You want a dependency-light launcher without shadcn primitives, Tailwind styling, or animation support.

Install

Installation record for tripled-floating-chat-widget-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 compatible Avatar, Button, and Select primitives, a class-name merge helper at the expected alias, Tailwind theme tokens and utilities, Lucide React icons, Framer Motion, React, and client-component support. Add accessible labels to the launcher, close, and send controls, then connect form submission to your chat backend.

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.