Talisman LogoTalisman Logo Design System
Browse documentation
Components

Orb

A dotted globe that spins while the assistant is working, used as an activity indicator in agent interfaces.

Stableimport { Orb } from "@repo/ui/orb";Source
<Orb className="text-primary" label="Processando" />

When to use

  • To show that the assistant is thinking, running a tool or searching, without blocking the conversation.
  • Next to a short status text, such as “Analisando a petição inicial…”.

When not to use

  • Loading data for a table or a card. Use Skeleton.
  • A button that is saving. Use the isLoading prop of Button.
  • Progress with a known end. Use Progress.
  • The product logo. Use Logo, Logo colorful or Logo form.

Sizes

size is the edge length in px. The default is 20px. The 28px geometry is scaled to fit, so the dots shrink with it.

12px

16px

20px

28px

40px

Use 16px next to body text, 20px to 24px on its own in a message, and 28px or more in an empty state. Below 12px the dots merge.

Color

The dots use currentColor, so set the color with a text-* class. Use text-primary by default, text-secondary for a quieter indicator and text-brand for emphasis. Dots at the back of the globe fade, so keep the color on a solid background.

With text or alone

Next to visible status text, leave label empty: the orb is hidden from assistive technology and the text names the activity.

Analisando a petição inicial…

Alone, pass label, so the orb becomes an image with a name.

Content

  • Write the status as the work in progress, in the present: “Gerando contestação…”, not “Aguarde”.
  • Change the text when the step changes, for example from “Lendo documentos…” to “Redigindo resposta…”.
  • label is in the user’s language: “Processando”, not “Loading”.

Do and don’t

Analisando a petição inicial…

DoPair the orb with text that names the work. The orb stays decorative.

Analisando a petição inicial…

Don'tDon't repeat the text in `label`. Screen readers read the activity twice.

Accessibility

  • Without label, the orb sets aria-hidden="true" and has no role.
  • With label, it sets role="img" and aria-label. It does not announce changes by itself: it is not a live region. When the status matters, put the text in an element with role="status".
  • With prefers-reduced-motion: reduce, the spin stops (motion-reduce:animate-none) and a still frame of the globe stays visible.
  • The animation moves only translate and opacity, so it stays smooth on low-spec hardware over long sessions.
  • It is not interactive and has no focus behavior.

Code

import { Orb } from "@repo/ui/orb";

// Decorative, next to visible text
<div className="flex items-center gap-2">
  <Orb className="text-primary" size={16} />
  <span>Analisando a petição inicial…</span>
</div>

// Alone
<Orb label="Gerando contestação" size={24} />

Props

PropTypeDefaultDescription
classNamestring—Extra classes. Use `text-*` utilities to set the dot color
labelstring—Accessible name. Omit it when visible text next to the orb names the activity
sizeunknown20Rendered edge length in px

Known issues

Issue Effect
40 dots animate forever, even when the orb is off screen. With many orbs on one page the animation costs more on low-spec hardware.
The size is set with an inline style and a computed scale. Changing size through className has no effect, and the orb cannot follow a font size with em.
The keyframes live in tailwind.config.ts (orb-globe). An app that does not use the @repo/ui Tailwind preset shows a still globe.
Edit this page on GitHub