Skip to main content

Spaces

monodit is organized around spaces. Each space is a grid-based canvas that you can fill with widgets, arrange visually, and tailor to a specific use case or context.

You can maintain multiple spaces for different screen sizes, workflows, themes, or groups of widgets.

Display rule engine​

Which space is shown is determined by a display rule engine, not a fixed breakpoint assignment. The engine evaluates rules in order using the following pipeline:

  1. Condition — does the current context match this rule? (screen width, time, device, etc.)
  2. Select — which spaces are candidates? (filtered by space attributes such as grid column count)
  3. Pick — which candidate is actually shown? (fixed, last-used, or random strategy)

The first rule whose condition matches is used. If no rule matches, the engine falls back to the last-used space.

System-default rules​

Every account includes built-in system-default rules that map screen width ranges to spaces with a matching column count. A wide desktop viewport will show spaces configured for a wider column layout; a narrow viewport will show spaces configured for fewer columns.

These rules run automatically and require no configuration.

User-defined rules​

You can create additional rules with custom conditions, custom space selection queries, and custom resolution strategies. User-defined rules are evaluated before system-default rules.

Space switcher​

The space switcher in the edit toolbar shows spaces from the select stage of the currently matched rule — the same candidate pool the engine uses to pick the active space, minus the one currently shown.

Switching to a space from this list updates the last-used history for the current rule so the engine remembers your choice next time.

Adding a new space​

When you add a new space, it inherits its initial settings from the currently active space:

  • Grid columns — same as the active space (falls back to the desktop default if no space is active)
  • Theme — same as the active space (falls back to the account-level default theme if the active space has none)
  • Name — "New Space"
  • Icon — Layout (can be changed after creation)
  • Widgets — empty

Space groups​

Spaces can be grouped to keep related spaces organized together. Groups are useful when you maintain several spaces for different contexts and want to manage them as a set.

Groups sync widget additions, removals, and linked storage for widgets added after grouping. Existing widgets and buckets in spaces that were already in the group remain separate.

Shortcuts​

monodit supports space shortcuts, making it easier to move between spaces without relying only on the toolbar.