Skip to content

Packages ​

Miko ships as a small set of NuGet packages. Reference only the ones you need: the core engine, a component library, the platform host(s) for your targets, and (optionally) dev tools and templates.

PackageDescription
MikoCore rendering engine: DOM, styling, layout, and painting.
Miko.IonicIonic-style Razor component library (tabs, side menu, icons).
Miko.NativePreview — Native capability interfaces (camera, clipboard, filesystem, notifications, …). APIs may change.
Miko.DevToolsRuntime debugging tools: DOM and layout tree, console, and resource inspector. Development only.
Miko.SimulatorDevice simulator host for previewing mobile apps on desktop. Development only.
Miko.McpServerMCP debug server that exposes a running app over localhost. Development only.
Miko.ComponentsPreview — Extended components (native video player, danmaku, camera, barcode scanner, network camera with pan / tilt, VNC remote desktop). APIs may change.
Miko.ChartsPreview — Animated charts ported from LiveCharts2: cartesian, pie, polar and map. APIs may change. See Charts.
Miko.TestingPreview — Testing utilities. APIs may change.
Miko.Razor.CompilerSource generator that compiles .razor components and routes.
Miko.Templatesdotnet new templates for scaffolding Miko apps.

Platform host packages ​

The core Miko library is platform-agnostic. Each platform you target adds a thin host package that owns the window / surface / native input:

PackagePlatform
Miko.WindowingDesktop — Windows, Linux, macOS (Silk.NET).
Miko.AndroidAndroid.
Miko.iOSiOS.

A typical desktop app references Miko (+ optional Miko.Ionic / Miko.DevTools), Miko.Razor.Compiler, and Miko.Windowing. A cross-platform app references the platform host packages from each respective head project (see Project Structure).

Getting the packages ​

The quickest path is the templates package, which scaffolds a project with the right references already wired up:

bash
dotnet new install Miko.Templates::1.0.0-preview.1
dotnet new miko-razor -o MyApp

To add the engine to an existing project manually:

bash
dotnet add package Miko --prerelease
dotnet add package Miko.Windowing --prerelease   # for a desktop window

1.0.0-preview.1

This is a preview release. Packages must be installed with explicit version numbers (::1.0.0-preview.1) or the --prerelease flag. APIs may change before the stable 1.0 release.

Released under the MIT License.