AI-04AI
AI Text Loading
AI thinking text with a soft wave through the letters and words that swap letter by letter.
motion
PROSlash Command Menu and more like it are in Kokonut UI Pro
Installation
AI Text Loading is a free, open-source React component in the Kokonut UI AI collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/ai-text-loading.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/ai-text-loadingOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/ai-text-loading.tsx.
npm install motionUsage
import AITextLoading from "@/components/kokonutui/ai-text-loading";
export default function Example() {
return <AITextLoading />;
}Props
textsstring[]Default [ "Thinking...", "Processing...", "Analyzing...…classNamestringExtra classes for the root element.
intervalnumberDefault 1500labelstringDefault "Loading"Stable status for screen readers; the cycling words are hidden from them.
showElapsedbooleanDefault falseShow the seconds spent so far next to the words.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
motion | ^12.23.25 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

