Skip to main content
Layouts control the main content displayed on glasses screens. Use session.layouts to show text, cards, and structured information.

Available Layout Types

TextWall

Single block of text - most common layout:
Multi-line content:

DoubleTextWall

Two text blocks - top and bottom:
Common pattern for questions/answers:

ReferenceCard

Card with title and content:
Great for structured information:

Updating Layouts

Layouts replace previous content:
Progressive updates:

Clearing Layouts

Best Practices

Keep text concise:
Adapt to display capabilities:
Use appropriate layout type:

Common Patterns

Loading States

Multi-Step Flows

Adaptive Display

Layout Manager API

Display updates are automatically throttled to 1 per 300ms by MentraOS Cloud to prevent display desync.

Next Steps

Dashboard

Persistent status display

Hardware & Capabilities

Check display capabilities

Layout Manager

Complete API reference

Layout Types

Layout type definitions