export default function TypingIndicator({ label = 'Streaming response' }) {
  return (
    <div className="flex items-center gap-1.5 px-1 py-2 text-muted-foreground" aria-label={label}>
      <div className="flex items-center gap-1.5">
        <span className="h-2 w-2 animate-pulse-soft rounded-full bg-accent" />
        <span className="h-2 w-2 animate-pulse-soft rounded-full bg-accent [animation-delay:160ms]" />
        <span className="h-2 w-2 animate-pulse-soft rounded-full bg-accent [animation-delay:320ms]" />
      </div>
    </div>
  )
}
