Schema Explorer

Choose element:

NEW

Are you building Copilot, Teams or Outlook scenarios powered by Adaptive Cards?

The Adaptive Card Documentation Hub is the new one-stop-shop for all your Adaptive Card needs! It has all the resources you're looking for, including complete documentation for many new features, such as Responsive layout, Icon, Badge, Carousel, Charts, and much more!

Important note about accessibility: In version 1.3 of the schema we introduced a label property on Inputs to improve accessibility. If the Host app you are targeting supports v1.3 you should use label instead of a TextBlock as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.

TargetElement

Represents an entry for Action.ToggleVisibility’s targetElements property

Property Type Required Description Version
elementId string Yes Element ID of element to toggle 1.0
isVisible boolean? No If true, always show target element. If false, always hide target element. If not supplied, toggle target element’s visibility. 1.0

Properties

elementId

Element ID of element to toggle

  • Type: string
  • Required: Yes

isVisible

If true, always show target element. If false, always hide target element. If not supplied, toggle target element's visibility.

  • Type: boolean?
  • Required: No