Measured entry

kokonut-ai-text-loading

text-effectdark-futuristicmotion on file

A client-side React loading label that cycles through configurable status messages with a vertical swap and moving gradient. It ships as a shadcn registry component, uses Motion for animation, Tailwind utility classes for layout and color, and a local `cn` class-merging helper.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kokonut-ai-text-loading at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-ai-text-loading at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-ai-text-loading 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 kokonut-ai-text-loading
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal68.4 KB (133.8 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 2m 3s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/kokonutui/ai-text-loading.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused, easy-to-customize status effect for AI-style waiting states, but Motion is a sizable tradeoff for such a small element and reduced-motion behavior needs work. It needs a shadcn-style setup because the bare project cannot resolve its shared class utility.

Use it if

  • You need a compact visual status for AI generation, analysis, or other indeterminate work.
  • Your React app already uses Tailwind and Motion, so the component fits the existing stack.
  • You want to supply your own short status sequence and control how often the message changes.

Skip it if

  • You need loading progress that communicates completion or remaining work.
  • Your interface must avoid continuous motion or respect reduced-motion preferences without additional changes.
  • Your messages are long, localized, or user-generated, since the no-wrap layout can become awkward.
  • Adding Motion is too much dependency weight for a single animated label.

Install

Installation record for kokonut-ai-text-loading
Declared dependenciesmotion
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, install Motion, configure Tailwind for the component file, provide a `cn` class-merging helper at the expected import alias or change that import, and ensure the component runs on the client. Add a reduced-motion treatment if your product requires one.

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 text-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.