Miko.Simulator 0.0.40

There is a newer version of this package available.
See the version list below for details.
dotnet add package Miko.Simulator --version 0.0.40
                    
NuGet\Install-Package Miko.Simulator -Version 0.0.40
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Miko.Simulator" Version="0.0.40" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Miko.Simulator" Version="0.0.40" />
                    
Directory.Packages.props
<PackageReference Include="Miko.Simulator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Miko.Simulator --version 0.0.40
                    
#r "nuget: Miko.Simulator, 0.0.40"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Miko.Simulator@0.0.40
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Miko.Simulator&version=0.0.40
                    
Install as a Cake Addin
#tool nuget:?package=Miko.Simulator&version=0.0.40
                    
Install as a Cake Tool

Miko.Simulator

Device simulator host for Miko.

Miko.Simulator runs a Miko application inside a desktop window that emulates a mobile device. The window is split in two:

  • Left — the application, rendered into its own independent canvas sized to the simulated device's logical resolution (so the app sees the same viewport it would on a real phone), drawn inside a device bezel.
  • Right — a settings panel (device picker, orientation, safe-area toggle) that is itself built and rendered with the Miko engine.

Usage

A simulator startup project sits alongside the other platform heads:

MyApp
├── MyApp            # shared app (routes, layout, styles)
├── MyApp.Simulator  # this project
├── MyApp.Desktop
├── MyApp.iOS
└── MyApp.Android

Program.cs:

using Miko.Simulator;
using MyApp;

var context = App.CreateContext();
context.RunSimulator();

Configure the device list, initial device, or orientation:

context.RunSimulator(o =>
{
    o.InitialDevice = DeviceProfile.IPhoneSE;
    o.InitialOrientation = Orientation.Landscape;
    o.Devices = new[] { DeviceProfile.IPhone15Pro, DeviceProfile.Pixel7 };
});

The simulator drives the same platform-agnostic MikoInteractionController the real device hosts use, so pointer, scroll, keyboard, and safe-area behavior match what the app gets on-device.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Miko.Simulator:

Package Downloads
Miko.McpServer

MCP (Model Context Protocol) debug server for Miko. Exposes a running app's Simulator and DevTools capabilities (DOM, styles, box model, simulated clicks, device switching, screenshots) over standard MCP so AI agents like Claude Code can inspect and drive the app.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.42 0 7/24/2026
0.0.41 33 7/23/2026
0.0.40 35 7/22/2026
0.0.39 47 7/22/2026
0.0.38 38 7/21/2026
0.0.37 44 7/21/2026
0.0.36 90 7/20/2026
0.0.35 95 7/17/2026
0.0.34 88 7/17/2026
0.0.33 98 7/16/2026
0.0.32 92 7/16/2026
0.0.31 98 7/15/2026
0.0.30 91 7/14/2026
0.0.29 96 7/14/2026
0.0.28 95 7/13/2026
0.0.27 110 7/10/2026
0.0.26 96 7/9/2026
0.0.25 100 7/7/2026
0.0.24 96 7/7/2026
0.0.23 92 7/3/2026
Loading failed