ComponentsAI & agents
Thinking Glyph
A small animated glyph and a label with a passing band of light that say what an agent is doing right now.
"use client";
import { ThinkingGlyph } from "@/components/miyuki-ui/thinking-glyph";
export default function ThinkingGlyphDemo() {
return (
<div className="flex flex-col gap-5">
<ThinkingGlyph variant="thinking" label="Thinking" showElapsed />
<ThinkingGlyph variant="searching" label="Searching the bulletins" />
<ThinkingGlyph variant="reading" label="Reading 6 files" />
<ThinkingGlyph variant="writing" label="Writing the route" showElapsed />
</div>
);
}Install
npx shadcn@latest add @miyuki-ui/thinking-glyphThis needs the @miyuki-ui registry in your components.json. See Using the shadcn CLI.
Props
ThinkingGlyph
Prop
Type
Streaming Ink
Streamed text that is written rather than typed: each new word inks in from left to right with a wet sheen that dries, led by a small brush that lifts when the answer is done.
Voice Orb
A sphere of water that shows a voice assistant's state: it breathes when idle, ripples with the input level while listening, turns with a slow current while thinking and sends rings outward while speaking.