AI thinking status with a sleek android helmet whose visor bars bounce like a voice meter beside shimmering text.
Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.
$pnpm dlx shadcn@latest add @nextui/thinking-bot
1{2"registries": {3"@nextui": {4"url": "https://nextui.dev/r/{name}.json",5"headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }6}7}8}
1import { ThinkingBot } from "@/components/nextui/thinking-bot";23export function ChatPending() {4return <ThinkingBot label="Writing a reply..." className="justify-start" />;5}
| Prop | Type | Default | Description |
|---|---|---|---|
| label | ReactNode | "Thinking..." | Text that shimmers beside the bot |
| className | string | – | Extra classes on the wrapper |
Sign in to see the code
Preview it freely. A free account copies code and prompts a few times a day.