FlashcardFlip
Gen UI 2.0 standardA card that shows the front text. A click or the Enter key flips it to the back text, and again to the front.
One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use FlashcardFlip. 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.
| Prop | Type | Required | Description |
|---|---|---|---|
| front | string | No | The text on the front |
| back | string | No | The text on the back |
| hint | string | No | A small line under the front, for example "Click to flip" |