Search code examples
reactjsbotframeworkadaptive-cardsweb-chat

How to create custom cards (like adaptive cards) in botframework webchat using React.js?


I would like to create custom cards (like adaptive cards,hero card carousel model) in Botframework Webchat using Reactjs. Is it possible to create custom cards in webchat. If yes how can i achieve that. Any help would be really appreciated.


Solution

  • To use AdaptiveCards inside your own application, using any JS framework, the team behind cards made 3 packages available:

    You can fully implement Adaptive Cards functionality in your own apps outside of any Microsoft environment.

    The official guide around that can be found here: https://learn.microsoft.com/en-us/adaptive-cards/rendering-cards/getting-started

    Some further guides and examples can be found here:

    There also are quite a few tools for various JS Frameworks like Vue.JS or React or Flutter. Also Webcomponents. You can find most of the tools here: https://www.madewithcards.io/tools/