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.BootstrapBootstrap-style Razor component library and styles.
Miko.IonicIonic-style Razor component library (tabs, side menu, icons).
Miko.DevToolsRuntime debugging tools for the DOM and layout tree.
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.Bootstrap / 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
dotnet new miko-razor -o MyApp

To add the engine to an existing project manually:

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

Versioning

Miko is experimental; packages are published with development versions and APIs may change between releases.

Released under the MIT License.