UI Components

"/home/yossef/notes/git/projects/maplibra/modules/UI Components.md"

path: maplibra/modules/UI Components.md

- **fileName**: UI Components
- **Created on**: 2026-06-16 00:48:42

UI Components

Purpose: User-facing interface elements for search, floor selection, theme switching, and navigation.

Related: ../Home.md, ../Architecture.md, ./Layer Management.md, ./Pathfinding.md, ./Bootstrap System.md

What It Does

The UI layer provides interactive controls overlaid on the map. Most UI elements are rendered in index.html and controlled by JavaScript classes in src/ui/ and src/ui-manager.js.

Search (src/ui/SearchBox.js)

Theme Controller (src/ui/ThemeController.js)

Error Toast (src/ui/ErrorToast.js)

Floor Controls (src/ui-manager.js)

Drop Mode UI (src/pathfinding/drop-ui.js)

Settings Menu (index.html + script.js)

Important Files

How It Connects