AI Orb Face
The portfolio’s animated agent mascot, with eight poses, reactive gaze and a waveform when it talks.
Last updated: November 28, 2026
Installation
npx smoothui-cli add ai-orb-faceFeatures
- Eight poses: idle, listening, thinking, speaking, paused, review, done and blocked
- Framerate-independent pointer gaze, reset on pointer exit or hidden tabs
- Speaking adds a synthetic waveform. The demo does not use the microphone or speech recognition.
- The orb stays pink and uses a clipped CSS material without a WebGL canvas
- Existing custom
expression,amplitudeand color props still use the original renderer; an explicitposeopts into the portfolio renderer
Usage
"use client";
import type { AIState } from "@/components/smoothui/ai-core";
import AIOrbFace from "@/components/smoothui/ai-orb-face";
export const Companion = ({ state }: { state: AIState }) => (
<AIOrbFace aria-label={`Assistant is ${state}`} size={96} state={state} />
);Turn the gaze off where many instances would compete for attention:
<AIOrbFace gaze={false} size={32} state={state} />Accessibility
Reduced Motion
Uses useReducedMotion. Reduced motion disables gestures and pointer tracking, and keeps the speech waveform static. Pose changes still communicate state.
Labelling
Without aria-label the character is aria-hidden. When it is the only status
indicator, pass a label that states the state in words — an expression is not
available to a screen reader.
Props
Created by
© 2026 SmoothUI