← All widgetsTier 1Creative

Flashcards

Flip-card study deck.

A deck of flip cards for studying — tap to reveal the back.

type · flashcards
Runs entirely in the shell — no backend needed.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
flashcards for Spanish greetings

Example

The agent returns this A2UI component (inside the components array of a /chat response):

flashcards.json
{
  "type": "flashcards",
  "cards": [
    {
      "front": "Hello",
      "back": "Hola"
    },
    {
      "front": "Goodbye",
      "back": "Adiós"
    }
  ]
}

Properties

PropTypeDescription
cards{front,back}[]Card set
colorcolorAccent color

Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.