Skip to Content
Developer and interface design guide

Design the interface.
Let VivoCube render it.

A2UI is the application-driven interface layer for VivoCube. Your application describes what the user needs to see and do. The framework delivers that description, and VivoCube renders it on its fixed 240 × 240 display and returns physical-button input as UI events.

2-inch OLED · 240 × 240 square Fixed component system Physical-button interaction English UI content
01 / The A2UI model

Build with components, not pixels.

VivoCube is not a miniature general-purpose screen. It uses a defined set of UI components and layout rules designed for a small, square display and physical-button input. Applications provide the interface content; the device renders it within those rules.

UI Definition

Describes the screen structure, component types, content and available actions. It establishes what the interface contains.

UI State

Describes the current values and presentation state, such as text, visibility, progress and status.

UI Event

Reports a physical interaction, such as a button press, back to the active application session.

The interaction loop

Application creates UI

Build a definition for the current task.

Framework receives it

Submit through the shared UI framework.

CoreBAR routes it

Check the target device, permission and focus.

VivoCube renders it

Render the supported components on the display.

User presses a button

Physical input becomes a standard UI Event.

Framework routes input

Route the event using device and session context.

Application acts

Perform the requested application action.

UI is updated

Send updated state or a new definition.

Keep the roles separate. The application owns the task and business logic. The framework manages delivery, session and event routing. VivoCube renders the supported interface and reports physical input.
02 / Screen and layout

Design for the safe area, not the full panel.

The panel is square, but the usable content area is smaller. Keep important text and controls inside the defined safe area so they remain readable and are not clipped by the panel edges.

Illustrative layout only — not a pixel-perfect renderer preview.

Display dimensions

Canvas240 × 240 px
Safe area216 × 202 px
Left / right inset12 px each
Top inset12 px
Bottom inset26 px with page dots
Bottom inset12 px without page dots
  • Keep all essential content within the safe area.
  • Allow no more than 3 text lines in a content block.
  • Use a 46 px line block with 6 px spacing where the defined row layout applies.
  • Use a black screen background.
  • Horizontal page switching is supported; do not design animated transitions.
03 / Component-based UI

Use the supported building blocks.

Design around the component families identified for the current A2UI guide. Keep each screen focused on one task and avoid treating the display as a free-form canvas.

Text and title

Use short labels and a clear heading to establish context. The title should explain the task, not repeat long instructions.

Key–value parameters

Show a small number of important settings or values, such as a parameter name and its current value.

Status

Communicate a concise state such as waiting, completed or failed.

Progress

Show progress for a task that is underway. Keep accompanying text brief.

Options

Present a short list of choices that can be selected using physical buttons.

Confirm / cancel

Make the result of each action explicit. Use confirmation for consequential actions where appropriate.

Simple icons

Use only icons from the supplied internal icon library. Do not introduce arbitrary image assets.

Component catalog confirmation required. The source material refers to a nine-component set, but the supplied description explicitly names only the component families shown here. Confirm the complete component names, properties and supported combinations with the engineering team before publishing a definitive nine-item catalog. Do not invent a ninth component.
04 / Interaction and states

Make the current selection unmistakable.

Because interaction is driven by physical buttons, the interface must make the current state and the result of an action easy to understand at a glance.

Default

The normal, unselected presentation of a component.

Start task

Selected

The currently focused option. Use the defined active treatment so the selection is visible.

Start taskSelected

Confirmed

The action has been accepted or completed. Show a clear result rather than leaving the selection ambiguous.

Confirmed

State color examples

Use consistent visual meaning for waiting, successful confirmation and cancellation or error.

Waiting / pending Confirmed / success Cancelled / error
Interaction rule: every selectable item needs a clearly distinguishable default and selected state. After confirmation, provide a visible outcome. Do not rely on color alone where a short label can make the state clearer.
05 / Colors and typography

Use the defined palette and type scale.

The display uses a restricted visual system. Keep the interface high-contrast, restrained and consistent with the palette below.

Approved color palette

Black#000000
Panel#1C1E26
Border#343845
Primary text#E6E8EC
Secondary text#9BA0AC
Accent#E8B33C
Accent surface#2A2109
Success surface#0C2417
Success#4ADE80
Error#E05252

Typography

Small text14 pxMaximum 26 characters per line
Large text36 pxMaximum 9 characters per line
  • Use the 14 px style for supporting text and labels.
  • Reserve 36 px for a short, high-priority value or message.
  • Keep wording concise; do not shrink text to fit long copy.
Opacity implementation needs engineering confirmation. The source notes that alpha/transparency may be discarded by the renderer, while also referring to a 20% opacity active-state treatment. Confirm how that active treatment is implemented in the actual renderer. Until confirmed, use the specified solid active-state colors and do not rely on arbitrary alpha values.
06 / Design workflow

Design for a task, then document the behavior.

Prepare the required screens and annotate the interface so the implementation team can understand the intended layout, content limits and physical interaction.

Required screen mockups

  1. Entry: the initial screen or starting point for the task.
  2. Execution progress: the task in progress, including its current status.
  3. Confirmation: a clear confirmation or result screen.
  4. Task list: a short list of available or pending tasks.
  5. Empty state: what the user sees when there is no content or task to show.

Annotate every mockup

  • Component name and component parameters.
  • Exact English UI copy and character count where relevant.
  • Default, Selected and Confirmed interaction states.
  • Physical button mapping and the action triggered.
  • Any page indicator and the horizontal page-switching behavior.

Example: a compact parameter control

The following is a conceptual example to explain the relationship between displayed content and physical actions. It is not a frozen API schema or a guaranteed payload format.

{
  "screen": "brush_size",
  "title": "Brush Size",
  "value": 24,
  "unit": "px",
  "actions": [
    { "button": "left",  "action": "decrease_value" },
    { "button": "right", "action": "increase_value" },
    { "button": "center","action": "confirm" }
  ]
}
07 / Display limitations

Keep the interface simple and predictable.

These constraints are part of the current display and rendering model. Design within them instead of relying on effects or content types that the device does not support.

Supported design approach

  • Solid colors from the defined palette.
  • Short English text using the specified type sizes.
  • Basic component layouts and simple iconography from the internal library.
  • Short task flows with clear physical-button actions.
  • Horizontal page switching without animated transitions.

Do not design around

  • Gradients, shadows, glow or blur effects.
  • Glassmorphism or translucent layered surfaces.
  • Photos, JPG/PNG assets or custom logos.
  • Complex tables, dense charts or long scrolling content.
  • Multi-level navigation or touch-first form interactions.
  • Chinese UI copy: the available Chinese font coverage is limited (approximately 510 characters).

Why English-only UI?

The current Chinese font set is limited to approximately 510 characters. To avoid missing glyphs or inconsistent rendering, prepare user-facing interface copy in English for this design target. This is a current implementation constraint, not a statement about future language support.

08 / Design handoff

Deliver a design the team can implement.

Use Figma for the visual source of truth and include a compact parameter sheet. The canvas must match the hardware display exactly.

01 — Figma file

Set every screen frame to exactly 240 × 240 px. Keep the safe-area guide visible in the working file.

02 — Parameter sheet

List component types, values, text, colors, state variants, visibility and layout parameters.

03 — Interaction map

Document each physical button, the action it triggers, and the expected UI response.

Final review checklist

  • All five required mockup types are included.
  • Every frame is 240 × 240 px and respects the safe area.
  • Text follows the 14 px / 26-character and 36 px / 9-character limits.
  • Only approved colors and supported component families are used.
  • Default, Selected and Confirmed states are documented.
  • Physical button actions and resulting UI feedback are clear.
  • No unsupported images, gradients, shadows, blur or animated transitions are required.
  • Any uncertain component or rendering behavior is flagged for engineering confirmation.
Before implementation: confirm the final component catalog, component parameters, exact button mapping and renderer behavior with the VivoCube engineering team. This guide describes the current design constraints; it is not a substitute for a versioned SDK or protocol specification.
09 / Integration reference

What the framework passes, and what it owns.

The design rules above are one half of the contract. This is the other half: the four objects an application works with, who owns which field, and the route a press takes back to the app.

Four objects

ObjectOwned byCarriesLifetime
UI DefinitionApplicationLayout, component list, which key maps to which actionReplaced whenever the task changes
UI StateApplicationValues, visibility, text, progress, versionSent on every change that should show
UI EventFrameworkbutton_id, action_id, sequenceOne per press, delivered to the session owner
UI SessionFrameworksession_id, owner, focus, priority, expires_atEnds when the app closes, focus moves, or the timeout passes
The application never talks to the panel directly, and the receiver never interprets what a screen means. Drawing and routing belong to the framework; meaning belongs to the app.

Session and focus rules

  • One screen has one owner at a time. A second app waits rather than splitting the screen.
  • Focus decides who receives presses, not who is visible. An urgent confirm may jump the queue.
  • Sessions expire. A stale session is closed, never resumed.
  • Only plugins authorised in the project can open a session on the device.
  • Replacing hardware requires pairing again; going offline does not.

Route of one press

  • Scan and debounce — the key handler turns contact into one deliberate press.
  • Identify — the press becomes a key id, then a button_id in the current definition.
  • Address — the event carries session_id and sequence, so a duplicate can be dropped.
  • Act — the owning app runs its action and sends back state or a new definition.
A press that arrives for a closed session is not replayed later. Design the app so that a missed press is safe, not queued forever.

A definition, at the smallest useful size

{
  "device_id": "vc_001",
  "session_id": "session_photoshop_01",
  "definition_version": 12,
  "layout": "parameter_with_actions",
  "components": [
    { "id": "title", "type": "text", "value": "Brush Size" },
    { "id": "value", "type": "number", "value": 24, "unit": "px" }
  ],
  "actions": [
    { "button_id": "button_1", "action_id": "decrease_brush_size" },
    { "button_id": "button_2", "action_id": "increase_brush_size" }
  ]
}
Field names and nesting follow the V1 wire format; the catalog may grow, the shape does not. Version the definition, not the screen.
Device-level material — pairing, firmware, recovery, what to send support — lives on the support page. This page covers only what an application and its designer control.
VivoCube A2UI Developer Guide · Design reference for the 240 × 240 display.
For implementation-level questions, confirm the current component and renderer behavior with the engineering team.