Create a Widget | AIUI | Rokid

A Widget is a compact, independent interface supplied by an agent. Declare its path and size family in app.json, using an .ink file as the entry.

Create a Widget

A Widget is a compact, independent interface supplied by an agent. Declare its path and size family in app.json, using an .ink file as the entry.

Complete the Example

A Widget is a compact, independent interface supplied by an agent. Declare its path and size family in app.json, using an .ink file as the entry.

{
  "pages": ["pages/index/index"],
  "widgets": [
    { "path": "widgets/quick-status/index", "family": "1x1" }
  ]
}

Keep the Widget layout relative with width: 100% and height: 100%. See Widget.