Here is a demo of AsyncAPI using sandpack to render the async-react component along side the code.
These examples can be run an any web environment, and also you could run this next to the AsyncAPI docs like the Example in React Docs
asyncapi: '2.2.0' info: title: Account Service version: 1.0.0 description: This service is in charge of processing user signups channels: user/signedup: subscribe: message: $ref: '#/components/messages/UserSignedUp' components: messages: UserSignedUp: payload: type: object properties: displayName: type: string description: Name of the user email: type: string format: email description: Email of the user