Measured entry

hextaui-ai-thinking

scroll-effectminimal-flatmotion on file

A client-side React status block that pairs an elapsed-time label with a card of automatically scrolling AI reasoning text. It ships as a HextaUI shadcn registry item and relies on React hooks, Tailwind theme utilities, the shared cn helper, and registry Card and Spinner components.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of hextaui-ai-thinking at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-ai-thinking at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-ai-thinking 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 hextaui-ai-thinking
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal30.6 KB (96.0 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 1m 55s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/blocks/ai/ai-thinking.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused AI waiting state with sensible reduced-motion behavior and reliable mounting in the prepared harness. It needs a shadcn-style setup, and the detected color-contrast issue should be fixed before production use. Replace the bundled sample reasoning with controlled application content.

Use it if

  • You need a compact, visible progress state while an AI response is being generated.
  • Your interface already uses shadcn-style aliases, theme tokens, Card, and Spinner primitives.
  • You want auto-scrolling process text with reduced-motion handling built in.

Skip it if

  • You cannot expose model reasoning or do not have safe status text to show in its place.
  • You need users to pause, inspect, or manually scroll the process log.
  • Your accessibility bar requires the supplied colors to pass contrast checks without modification.
  • You want a standalone package that works without project-specific aliases and registry components.

Install

Installation record for hextaui-ai-thinking
Declared dependenciesclass-variance-authority
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 cn utility and its path alias, recreate or replace the Card and Spinner imports, configure the referenced Tailwind theme classes and animations, install class-variance-authority if required by those primitives, and ensure the file runs as a React client component. Adjust foreground colors to meet contrast requirements.

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.

License
MIT
Record published
2026-08-14

Alternatives

Other published entries for the scroll-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.