81 Pro components and page blocks

Get Pro

AI Orb

New

Preview

Customize

Listening
Size240px
Ocean
Speed1.00×
Softness1.00×
Grain1.0×

Installation

npx shadcn@latest add https://uibrik.com/r/ai-orb.json
Adds the files to components/uibrik/ai-orb. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/ai-orb.

Usage

import { AiOrb } from "@/components/uibrik/ai-orb/ai-orb";​<AiOrb  mode="listening"  size={240}  palette="ocean"  speed={1}  softness={1}  grain={1}  followPointer  // level={0}  // label="…"/>

Props

AiOrb
mode
Type "rest" | "listening" | "thinking" | "speaking"
"listening"
What the assistant is doing. Clicking the demo orb steps through the modes too.
size
Type number
240
Diameter. Shrinks to fit its container.
palette
Type "ocean" | "violet" | "rose" | "ember" | "amber" | "emerald" | "teal" | "graphite" | "custom"
"ocean"
A one-hue theme in hand-picked shades, or Custom for several hues.
colors
Type string[]
["#0e0a2c","#ff3d7f","#ff9a3c","#ffe066","#33e0c4","#5b6cff"]
A base colour, then up to five pools, in any hues. Overrides the palette.
speed
Type number
1
Motion speed.
softness
Type number
1
How widely the colours blend into each other.
grain
Type number
1
Film grain. 0 is perfectly smooth.
followPointer
Type boolean
true
Lean the colours and highlight toward the pointer (mouse and trackpad only).
level
Type number
–
Live voice level 0–1, e.g. microphone volume, for listening and speaking. Omit to simulate speech.
label
Type string
–
Read out to screen readers. Defaults to Assistant plus the mode.
className
Type string
–
Classes for the wrapper.