TypingIndicator
Three pulsing dots while the assistant prepares a reply.
Code
import * as React from 'react';
import { TypingIndicator } from '@fruit-labs/design';
export default function Demo() {
return <TypingIndicator />;
}Install
From npm:
npm install @fruit-labs/design
import { TypingIndicator } from '@fruit-labs/design';Or copy the TypeScript source into your project:
npx shadcn@latest add https://design.fruitlabs.online/r/typing-indicator.jsonGuidelines
- Replace with streamed text as soon as the first token arrives.
Props
| Prop | Type | Required |
|---|---|---|
label | string | No |
className | string | No |