Skip to main content

Agent Audio Visualizer – Grid

An audio visualization of a grid of particles.

Usage

This demo uses your device's microphone.

Features

  • Visualize an agent's audio track
  • Configure the speed, row and column size
  • Select from five sizes: icon, sm, md, lg, and xl
  • Responds to agent state with unique animations
  • Apply a transformer function to generate custom CSS properties for each grid cell

Installation

pnpm dlx shadcn@latest add @agents-ui/agent-audio-visualizer-grid

Props

Prop nameTypeDefault
radius?
number
interval?
number
100
rowCount?
number
5
columnCount?
number
5
className?
string
size?
enum
md
state?
enum
connecting
color?
`#${string}`
audioTrack?
LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder
children?
ReactNode
ref?
Ref<HTMLDivElement>
...props?
ComponentProps<'div'>