AiOrb

A living orb for voice and agent states: breathes, swells with sound, turns while thinking. AI.

Open playground

About

AiOrb is a React component in the AI category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { AiOrb } from "@ashutoshswamy/smoui" and set state, level, size.

Install

Terminal
npm i @ashutoshswamy/smoui

Usage

TSX
import { AiOrb } from "@ashutoshswamy/smoui";

<AiOrb state="listening" size={110} level={micLevel} />

Props 3

state

Current state.

"idle""listening""thinking""speaking"default "idle"
level

Real audio level 0-1. Without it a gentle simulated level is used.

number
size / palette

Diameter in px and mesh colors 0-7.

numberdefault 120 / 6