LabsPortfolio

Components

AI

Thinking Loader

An AI thinking pill that cycles shimmering phase labels — Searching, Reading, Writing — with blur slot-swaps and a spring-pop check on completion.

All components
Thinking

Installation

Coming soon. Components will be available via the registry once checkout goes live.

Usage

<ThinkingLoader
  phases={["Thinking", "Searching the web", "Reading sources", "Writing response"]}
  interval={2200}
  done={false}
/>

Props

PropTypeDefaultDescription
phasesstring[]Labels to cycle through. Defaults to a Thinking → Writing sequence.
intervalnumber2200Milliseconds each phase is shown.
loopbooleantrueRestart from the first phase after the last.
donebooleanfalseSettles the pill into a green check + Done state.
classNamestringTailwind classes on the pill.

Use cases

  • LLM response latency

    Keep users informed while a model thinks, searches, and writes.

  • Multi-step jobs

    Surface pipeline stages (uploading, processing, finishing) with real labels.

  • Agent activity

    Show what an autonomous agent is doing right now.

  • Search-in-progress

    A premium alternative to a spinner for RAG-backed search.