mosaic
CommunityBuild Kotlin terminal UIs with Mosaic.
AuthorClankerGuru
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building rich terminal user interfaces in Kotlin can be error-prone and tedious when manual ANSI drawing and imperative updates are used. Mosaic provides a declarative runtime and a composable model to render terminal UIs reliably, with built-in state and effects management.
Core Features & Use Cases
- Declarative UI tree: Text, Row, Column, Box, Spacer, Filler, Static for structured, dynamic UIs.
- State and effects: remember, mutableStateOf, rememberCoroutineScope, LaunchedEffect, DisposableEffect for robust lifecycle management.
- Keyboard input and layout: LocalTerminal access and modifiers for interactive prompts, dashboards, and live tailers.
- Use cases: dashboards, progress renderers, live status displays, and CLI tools that need responsive UIs.
Quick Start
Create a Kotlin module, apply the Mosaic Gradle plugin, and run a simple dashboard using runMosaicBlocking to render the UI.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mosaic Download link: https://github.com/ClankerGuru/opsx/archive/main.zip#mosaic Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.