Skip to content

AudioPlayer

Gen UI 2.0 standard

An audio player for an audio file URL, with the description above it.

One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use AudioPlayer. Standard catalog docs

Props

Read from standardUI.manifestComponents in the installed @copilotkit/react-core. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.

PropTypeRequiredDescription
urlstringYesThe URL of the audio file
descriptionstringNoA title or summary of the audio, shown above the player
weightnumberNoflex-grow in a Row or Column