AI Agents Fancy Stable

ThinkingIndicator

Live agent status line with a shimmering activity label and an elapsed timer, as a bare inline row or a bordered status pill

Preview

Installation

pnpm add fancy-ui-svelte
import { ThinkingIndicator } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { ThinkingIndicator } from 'fancy-ui-svelte';
</script>

<ThinkingIndicator />

Examples

Basic Usage

Props

PropTypeDefaultDescription
status *string-What the agent is doing right now, e.g. "Reading files"
running booleantrueWhether the activity is in flight: drives the shimmer and the live timer
variant "inline" | "pill""inline"Bare text row, or a bordered chip with a leading pulse dot
since number-Epoch ms the activity started; the internal stopwatch ticks from it
elapsedMs number-Externally-driven elapsed time in ms; overrides the internal stopwatch
showElapsed booleantrueShow the elapsed duration alongside the status

Slots

SlotDescription
doneRendered instead of the status label once running is false