Desktop components
@getcortexlabs/mavis-desktop draws Mavis components with native views: AppKit on the Mac and XAML on Windows. A shared screen imports them from #mavis, the same alias the Web and mobile hosts use, so the file is not rewritten for the desktop.
Availability
The package is published from Mavis 0.1.0-rc.19 and is experimental. Hosts generated by @getcortexlabs/create-mavis@0.1.0-rc.18 or earlier carry their own copy of an earlier, smaller set of twelve components.
The desktop guide covers creating, running and packaging a host. This page is about what a screen can use once it runs there.
What is here
MScreen, MColumn, MRow, MBox, MGrid, MText, MSpan, MIcon, MInput, MReveal, MButton, MLink, MCard, MAlert, MEmptyState, MThemeProvider, MStack, MSeparator, MPlatform, MMasonry, MResizablePanels, MListDetail, MVirtualList, MCollapsibleHeader, MRefreshControl, MImage, MAvatar, MAvatarGroup, MImageViewer, MImageCompare, MImageCropper, MCarousel, MBadge, MChip, MProgress, MSkeleton, MToast, MTooltip, MNotificationCenter, MSheet, MDialog, MPopover, MMenu, MCommandPalette, MTour, MTourTarget, MSpeedDial, MCheckbox, MSwitch, MRadioGroup, MSegmentedControl, MSlider, MRangeSlider, MNumberInput, MRating, MPinInput, MFormGroup, MFormErrors, MSelect, MMultiSelect, MCombobox, MTreeSelect, MTagInput, MSearchBar, MColorPicker, MFilePicker, MComposer, MTransferList, MAppBar, MTabBar, MTabs, MNavigationRail, MBreadcrumb, MPagination, MSteps, MListItem, MAccordion, MTimeline, MDataTable, MTreeView, MKanban, MSortableList, MSwipeActions, MSwipeDeck, MCalendar, MDatePicker, MDateRangePicker, MTimePicker, MScheduler, MChart, MDonutChart, MSparkline, MHeatmap, MGauge, MAnimatedText, MNumberFlow, MMarquee, MConfetti, MParticleField and MGradientBackground. A Mavis component missing from this list has no desktop implementation yet; the parity index tracks the rest by family.
The components are written once for both systems. Each host supplies a few native primitives (a view, a scrolling view, a pressable control, text, a text editor, a progress ring, a picture and a vector shape), and the components are built from those. What opens above the screen, such as a toast, a tooltip or a picture viewer, is drawn in the window and keeps the keyboard while it is open. Layout is computed by one engine, so a row, a column or a grid has the same frames on the Mac and on Windows.
Layout
Rows, columns, boxes and grids follow the rules of the Web and mobile renderers:
- A column stretches its children across its width and keeps their natural height. A row sizes each child from its content; it does not divide the width evenly.
gap,padding,paddingX,paddingY,justify,align,wrap,grow,shrink,widthandheightmean what they mean elsewhere. Space tokens and numbers are both accepted; a width may be a percentage.- Text wraps to the width it is given. In a row, give text
width="0"andgrow(orshrink) to let it take the remaining space and wrap. - MBox overlaps its children. A layer without a size fills the box; a layer with a size stays at the top left.
- MGrid uses
columns,minColumnWidthor both. A child can take more than one column withcolumnSpan. - MListDetail measures its own width: list and detail side by side from
breakpoint, one pane with a Back button below it. The detail keeps its views across the change, the hidden pane leaves the keyboard order, Back takes the keyboard when the list hides and returns it to the row it came from. - MScreen with
scrollscrolls vertically;scrollAxis="horizontal"scrolls sideways. Theoverlayslot stays above the content and does not take pointer input.
The window can be resized freely. Layout runs again for the new width and the native views keep their identity, so a focused editor keeps its text and selection.
MVirtualList
Only the rows in view, plus overscan, exist as native views, keyed by item. With a fixed rowHeight each row is clipped to it. With rowHeight="auto" and an estimatedRowHeight, a row takes the height the layout gives its content at the list's width, and that height is kept by key. Inserting, removing or reordering rows above the one you are reading, a row above it growing, or a new window width keeps that row and its offset in place; while you scroll, new heights move the rows and the scroll position is corrected when you stop. scrollToKey(key, { align }) reaches a row that was never on screen and lands it at the start, center or end once its neighbours are measured. animated and motionScroll are accepted and have no effect yet.
Attributes only on desktop
| Attribute | On | What it does | Why only here |
|---|---|---|---|
shortcut | MButton | mod+s, mod+shift+k, f5, enter. mod is Command on the Mac and Control on Windows. | A phone has no keyboard to take it, and on the Web a page-wide key listener would compete with the browser and the page's own shortcuts. |
selectable | MText | Lets the pointer select and copy the text. | Web text is already selectable, and the iOS label cannot select text without becoming a text view. |
testId | any | An identifier for a check to find the native view by, when the element has no id. | id already identifies an element on all three hosts; the Web and NativeScript take their own test attributes (data-testid, testID) on the element. |
maxLines on MText, columnSpan on a child of MGrid and @escape on MInput started here and are now part of the shared contract: see Text, Grid and Input.
One screen for Web, mobile and desktop
A screen written with Mavis components and their properties runs on every host as it is. This one has no element, class or style of its own, and each host draws it with its own controls: HTML in the browser, NativeScript views on a phone, AppKit and XAML here.
<script setup lang="ts">
import { ref } from 'vue'
import { MScreen, MColumn, MRow, MText, MInput, MButton, MCard } from '#mavis'
const name = ref('')
const guests = ref<string[]>([])
function add() {
if (!name.value.trim()) return
guests.value.push(name.value.trim())
name.value = ''
}
</script>
<template>
<MScreen scroll>
<MColumn padding="lg" gap="md">
<MText variant="title" as="h1">Guests</MText>
<MRow gap="sm" align="end">
<MInput v-model="name" label="Name" :grow="1" :width="0" @submit="add" />
<MButton text="Add" icon="plus" :disabled="!name.trim()" @click="add" />
</MRow>
<MCard v-for="guest in guests" :key="guest" padding="md" elevation="sm">
<MText>{{ guest }}</MText>
</MCard>
</MColumn>
</MScreen>
</template>#mavis resolves to the renderer of the app that bundles the file: @getcortexlabs/mavis-web, @getcortexlabs/mavis/vue or @getcortexlabs/mavis-desktop. Create all of them at once with create-mavis my-app --targets web,native,macos,windows.
Styles, classes and HTML in a shared file
There is no CSS engine on the desktop. The decision for what a shared file already carries is:
| In the file | On desktop | What the checks report |
|---|---|---|
| Component properties, theme tokens | Applied | Nothing |
class, :class, data-* | Ignored | A note that counts them; it does not block the host |
<style> block | Not applied | A note with the properties that replace its declarations |
Inline style, :style | Refused | A finding with the properties that say the same thing |
| HTML elements | Refused: no desktop control | A finding that names the Mavis component to use |
| A component outside the list above | Refused until it is rendered | A finding; the index says which issue has it |
So a screen styled for the Web keeps its classes and its <style> block and still opens on the desktop, where it gets its look from the theme. An inline style or an HTML element stops it, because ignoring either would change the layout of the screen instead of only its paint.
The declarations with a direct replacement:
| CSS | Write instead |
|---|---|
padding, padding-inline, padding-block | padding, paddingX, paddingY |
gap | gap |
display: flex, flex-direction | MRow or MColumn |
justify-content, align-items, flex-wrap | justify, align, wrap |
flex-grow, flex-shrink, width, height | grow, shrink, width, height |
grid-template-columns, grid-column | columns or minColumnWidth, columnSpan |
background-color, border-radius | backgroundColor, radius |
border-width, border-color | borderWidth, borderColor on MBox |
box-shadow | elevation on MCard |
color, font-size, font-weight, text-align | tone, variant, weight, align on MText |
-webkit-line-clamp, user-select | maxLines, selectable on MText |
Anything else belongs in the theme (defineTheme), or stays a Web-only refinement in the class.
create-mavis --check-portability reports the same cases for a whole shared folder, each with its replacement, so a file can move one step at a time. create-mavis --add-macos reports them for the entry and what it imports.
Two more rules apply at runtime:
- Properties that only make sense elsewhere are accepted and do nothing: form attributes (
name,form,typeon a button), software keyboard hints (inputmode,returnKey,autocapitalize,dismissKeyboard),targetandrel. The tables below mark them. - An attribute a component does not have stops the screen with an error naming the component and the attribute, instead of being dropped silently.
Themes and appearance
The host installs the same theme objects as the other renderers:
app.use(createMavis({ host, theme: mavis, darkTheme: midnight }))appearance defaults to system: the app follows the operating system and switches while it runs. useMavisTheme() and MThemeProvider work as they do on the Web, including a scoped theme for part of a screen. Colours, typography (family, size, weight, line height, letter spacing), control sizes, radii and the button, input and card component tokens are read from the theme. Card elevation is drawn as a shadow on the Mac; Windows draws the border without the shadow for now (#478).
A theme made with defineTheme is installed the same way, and the app is told when the system or its own choice changes: the values useMavisTheme() returns are reactive.
const brand = defineTheme({ name: 'brand', colors: { primary: '#0055AA' }, radius: { md: 9 } })
const brandNight = defineTheme({ name: 'brand-night', appearance: 'dark' })
app.use(createMavis({ host, theme: brand, darkTheme: brandNight }))
// In a component:
const { theme, appearance, systemAppearance, setAppearance } = useMavisTheme()
watch(systemAppearance, (next) => console.log('the system is now', next))
setAppearance('dark') // 'light', 'dark', or 'system' to follow the system againA font family written per platform may name the desktop too: { web, ios, android, macos, windows }. Without macos the Mac uses the ios name; without windows, Windows uses its system font. See Typography.
useMavisPlatform() reports macos on the Mac host and windows on Windows; isDesktop is true on both, and MPlatform only="desktop" addresses both systems.
Navigation and commands
createDesktopNavigation(host, router, options) wraps a Vue Router for createMavis({ navigation }). The window takes the route's meta.title (or options.title(route)), the title of an MAppBar or useWindowTitle(title) when one is shown, and options.name otherwise. Back and Forward are Command-[ and Command-] in a Navigate menu on the Mac and Alt with the arrows on Windows; history: false turns them off.
useDesktopCommands(menu, commands) declares commands while a component is mounted; addDesktopCommands(host, menu, commands) does the same from the host entry and returns { update, remove }. A command is { label, shortcut?, disabled?, action }. On the Mac the commands join the menu bar; Windows has no menu bar in this host and reaches them by their shortcuts. A shortcut both hosts cannot read, or one used twice, throws.
useSharedNavigation().navigate() runs the route and resolves { status: 'unavailable', reason: 'unsupported' }, as the Web does without support: there are no shared element flights on the desktop.
Motion
MReveal and a declared motion surface on MBox, MText, MIcon, MButton or MCard run through the Jolt desktop drivers: Core Animation on the Mac and XAML storyboards on Windows. A surface animates opacity, translation, scale and rotation in the plane. With reduced motion turned on in the system, a change settles at once.
Since Jolt 0.1.0-rc.19 the drivers scale and rotate around the centre of the element, play springs that start from the presented value and velocity, and move several properties under one handle. Buttons and interactive cards scale down while pressed and spring back with the theme's press tokens; a control whose motionSurface belongs to the application dims instead, so the press does not fight the application's motion. Progress and toast fills grow from their leading edge.
Regions
A motion region declared with motionRegion on MScreen, MColumn, MRow, MBox, MGrid or MStack becomes available on desktop, so shared code behind region.onAvailable or whenMotionAvailable runs there. Mavis lays the window out itself and knows where every child was and is, so the region plays through the same drivers:
animateLayout(change, options). After the synchronous change, keyed direct children glide from their previous frame to the new one. Withsize: 'scale', the default, a child whose size changed scales from its previous size around its centre; withsize: falseit keeps its top edge and takes its new size at once. New children fade in (enter, on by default). Withexit, a removed child stays where it was, out of the layout, takes no pointer, keyboard or screen reader, and fades or moves away before its view is released;maxSnapshotPixelscaps the area, in points, that leaves at the same time, and a child beyond it goes at once. A change that interrupts a glide starts from the pose the driver presents.viewportEnter(surfaces, options). Jolt observes each surface inside the window and its enclosing scroll views. Userootto select themotionScrollof an MScreen or MVirtualList. Surfaces arriving together stagger in group order. An isolated arrival starts immediately. The defaults are a 450 ms fade and rise, with 70 ms between arrivals.sequence,timelineandstates. A step whose start is known is handed to the driver at once with that delay; a step that follows a spring without a duration, or a playback, starts when that one arrives. A later view takes its first keyframe right away. A timeline pauses and resumes, and knows its duration when every step does. Named states move each target with its own transition, and an attached surface takes the current state.- What rests.
sharedLayoutruns the change and resolves{ status: 'unavailable', reason: 'unsupported-target' };seekableTimelineplaces every track at its last keyframe and does not seek;physicsWorldstays paused, with its bodies where they are declared;onKeyboardreports no keyboard;scrollHeaderstays expanded, andreordermoves nothing whilemoveUp,moveDownandmovestill commit the change;diagnosticsreportslifecycle-only.
With Jolt RC.22, pointerFollow publishes the pointer position and presence inside the region on macOS and Windows. Leaving the region restores the resting coordinates. Turning on reduced motion or hiding the window suspends the input. On AppKit, numeric motion values can tween to a target and spring followers report their velocity. Windows applies scalar targets immediately. Both hosts bind these values to opacity, translation, scale and rotation.
An endless loop pauses when its view leaves a still-visible window. Reattaching the view resumes the loop. An explicit pause survives reattachment until the app calls play().
Pass a createMotionScrollSource() to a scrolling MScreen or MVirtualList through motionScroll. Use the same source with a surface's scrollLinked and an offset range, or with MAppBar's condenseDistance. Desktop repeats with repeat: Infinity run on one native animation handle until stopped. Reduced motion places the view at its resting pose.
Contract by component
The tables come from desktopComponents in @getcortexlabs/mavis-desktop/contract, the description the components, the adoption check and create-mavis --capabilities --json all read.
On every component: id, testId, role, accessibilityLabel, accessibilityHidden, class. On a child of MGrid: columnSpan.
MScreen
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
scroll | Yes | Yes | |
scrollAxis | Yes | Yes | |
dismissKeyboard | Accepted, no effect | Accepted, no effect | A desktop has no software keyboard to put away. |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
motionScroll | Yes | Yes |
MColumn
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
gap | Yes | Yes | |
justify | Yes | Yes | |
align | Yes | Yes | |
wrap | Yes | Yes | |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
MRow
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
gap | Yes | Yes | |
justify | Yes | Yes | |
align | Yes | Yes | |
wrap | Yes | Yes | |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
MBox
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
borderWidth | Yes | Yes | |
borderColor | Yes | Yes | |
motionSurface | Yes | Yes | |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
perspective | Accepted, no effect | Accepted, no effect | The desktop drivers animate in the plane only. |
sharedTag | Accepted, no effect | Accepted, no effect | Shared navigation flights have no desktop driver yet (#472). |
MGrid
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
gap | Yes | Yes | |
columns | Yes | Yes | |
minColumnWidth | Yes | Yes | |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
MText
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
text | Yes | Yes | |
as | Yes | Yes | |
variant | Yes | Yes | |
tone | Yes | Yes | |
weight | Yes | Yes | |
align | Yes | Yes | |
wrap | Yes | Yes | |
motionSurface | Yes | Yes | |
maxLines | Yes | Yes | |
selectable | Yes | Yes |
MSpan
| Property | Mac | Windows | Note |
|---|---|---|---|
text | Yes | Yes | |
weight | Yes | Yes | |
tone | Yes | Yes | |
emphasis | Yes | Yes |
MIcon
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
name | Yes | Yes | |
size | Yes | Yes | |
tone | Yes | Yes | |
label | Yes | Yes | |
motionSurface | Yes | Yes | |
systemName | Accepted, no effect | Accepted, no effect | SF Symbols are an iOS artwork source; the portable name is drawn. |
replace | Accepted, no effect | Accepted, no effect | Symbol replacement is an iOS effect; the glyph changes at once. |
MInput
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
label | Yes | Yes | |
floatingLabel | Accepted, no effect | Accepted, no effect | The label stays above the field. |
placeholder | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
type | Yes | Yes | |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
autocomplete | Yes | Yes | The Mac maps it to a content type; Windows keeps its own suggestions. |
required | Yes | Yes | |
inputmode | Accepted, no effect | Accepted, no effect | A hardware keyboard has one layout. |
form | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
multiline | Yes | Yes | |
rows | Yes | Yes | |
maxLength | Yes | Yes | |
autocapitalize | Accepted, no effect | Accepted, no effect | A hardware keyboard does not capitalize for the user. |
autocorrect | Yes | Yes | The Mac turns spelling correction on or off; Windows turns spell checking. |
returnKey | Accepted, no effect | Accepted, no effect | The Return key has one caption. |
trailingAction | Yes | Yes | |
icon | Yes | Yes | |
trailingIcon | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@submit | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes | |
@action | Yes | Yes | |
@escape | Yes | Yes |
MReveal
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
gap | Yes | Yes | |
justify | Yes | Yes | |
align | Yes | Yes | |
wrap | Yes | Yes | |
show | Yes | Yes |
MButton
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
href | Yes | Yes | |
navigate | Yes | Yes | |
target | Accepted, no effect | Accepted, no effect | A destination outside the app always opens in the system browser. |
rel | Accepted, no effect | Accepted, no effect | Link relations belong to the browser. |
text | Yes | Yes | |
variant | Yes | Yes | |
size | Yes | Yes | |
icon | Yes | Yes | |
trailingIcon | Yes | Yes | |
disabled | Yes | Yes | |
loading | Yes | Yes | |
loadingText | Yes | Yes | |
loadingIndicator | Yes | Yes | Every indicator other than none is the system progress ring. |
motionSurface | Yes | Yes | |
type | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
value | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
form | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
reorderHandle | Refused | Refused | Retained reorder has no desktop driver yet (#470). |
shortcut | Yes | Yes | mod is Command on the Mac and Control on Windows. |
@click | Yes | Yes | |
@error | Yes | Yes |
MLink
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
href | Yes | Yes | |
navigate | Yes | Yes | |
target | Accepted, no effect | Accepted, no effect | A destination outside the app always opens in the system browser. |
rel | Accepted, no effect | Accepted, no effect | Link relations belong to the browser. |
text | Yes | Yes | |
disabled | Yes | Yes | |
inline | Yes | Yes | |
@click | Yes | Yes | |
@error | Yes | Yes |
MCard
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
href | Yes | Yes | |
navigate | Yes | Yes | |
target | Accepted, no effect | Accepted, no effect | A destination outside the app always opens in the system browser. |
rel | Accepted, no effect | Accepted, no effect | Link relations belong to the browser. |
gap | Yes | Yes | |
elevation | Yes | Yes | Windows draws the border without the shadow. |
interactive | Yes | Yes | |
disabled | Yes | Yes | |
motionSurface | Yes | Yes | |
sharedTag | Accepted, no effect | Accepted, no effect | Shared navigation flights have no desktop driver yet (#472). |
@click | Yes | Yes | |
@error | Yes | Yes |
MAlert
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
title | Yes | Yes | |
description | Yes | Yes | |
tone | Yes | Yes | |
dismissible | Yes | Yes | |
closeLabel | Yes | Yes | |
announce | Yes | Yes | |
open | Yes | Yes | |
@close | Yes | Yes | |
@update:open | Yes | Yes |
MEmptyState
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
title | Yes | Yes | |
description | Yes | Yes | |
icon | Yes | Yes | |
tone | Yes | Yes | |
compact | Yes | Yes | |
titleAs | Yes | Yes | |
animated | Accepted, no effect | Accepted, no effect | The artwork is still on desktop (#455). |
MThemeProvider
| Property | Mac | Windows | Note |
|---|---|---|---|
theme | Yes | Yes | |
themePair | Yes | Yes | |
darkTheme | Yes | Yes | |
appearance | Yes | Yes | |
@update:theme | Yes | Yes | |
@update:themePair | Yes | Yes | |
@update:appearance | Yes | Yes |
MStack
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
gap | Yes | Yes | |
justify | Yes | Yes | |
align | Yes | Yes | |
wrap | Yes | Yes | |
motionRegion | Yes | Yes | Layout changes, entering and leaving children, viewport entrances, sequences, timelines and named states move on both hosts. Pointer input follows hover on both hosts. Physics, scroll headers, retained reorder, shared layout and seekable scenes rest at their final pose. |
direction | Yes | Yes | |
responsive | Yes | Yes |
MSeparator
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
orientation | Yes | Yes | |
length | Yes | Yes | |
spacing | Yes | Yes | |
inset | Yes | Yes |
MPlatform
| Property | Mac | Windows | Note |
|---|---|---|---|
only | Yes | Yes |
MMasonry
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
minColumnWidth | Yes | Yes | |
columns | Yes | Yes | |
gap | Yes | Yes | |
animated | Yes | Yes | |
emptyLabel | Yes | Yes |
MResizablePanels
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
step | Yes | Yes | |
snap | Yes | Yes | |
orientation | Yes | Yes | The Mac shows a resize cursor over the divider; Windows keeps the arrow. |
direction | Yes | Yes | |
height | Yes | Yes | |
collapsible | Yes | Yes | |
disabled | Yes | Yes | |
primaryLabel | Yes | Yes | |
secondaryLabel | Yes | Yes | |
collapseLabel | Yes | Yes | |
expandLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@resize | Yes | Yes |
MListDetail
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
selected | Yes | Yes | |
layout | Yes | Yes | |
initialLayout | Yes | Yes | |
breakpoint | Yes | Yes | |
listWidth | Yes | Yes | |
height | Yes | Yes | |
grow | Yes | Yes | |
direction | Yes | Yes | |
animated | Yes | Yes | |
listLabel | Yes | Yes | |
detailLabel | Yes | Yes | |
backLabel | Yes | Yes | |
@update:selected | Yes | Yes | |
@layout | Yes | Yes |
MVirtualList
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
itemKey | Yes | Yes | |
rowHeight | Yes | Yes | |
estimatedRowHeight | Yes | Yes | |
height | Yes | Yes | |
overscan | Yes | Yes | |
initialIndex | Yes | Yes | |
animated | Accepted, no effect | Accepted, no effect | The virtual list places recycled rows directly at their measured offsets. |
emptyLabel | Yes | Yes | |
motionScroll | Yes | Yes |
MCollapsibleHeader
| Property | Mac | Windows | Note |
|---|---|---|---|
itemKeys | Yes | Yes | |
sourceKey | Yes | Yes | |
id | Yes | Yes | |
height | Yes | Yes | |
title | Yes | Yes | |
subtitle | Yes | Yes | |
image | Yes | Yes | |
expandedHeight | Yes | Yes | |
collapsedHeight | Yes | Yes | |
sectionHeight | Yes | Yes | |
parallax | Yes | Yes | |
backLabel | Yes | Yes | |
back | Yes | Yes | |
topLabel | Yes | Yes | |
@back | Yes | Yes |
MRefreshControl
| Property | Mac | Windows | Note |
|---|---|---|---|
itemKeys | Yes | Yes | |
sourceKey | Yes | Yes | |
id | Yes | Yes | |
height | Yes | Yes | |
label | Yes | Yes | |
refresh | Yes | Yes | The key is Command-R on the Mac and Control-R on Windows; Windows does not announce the state (#478). |
disabled | Yes | Yes | |
threshold | Accepted, no effect | Accepted, no effect | A desktop has no pull gesture: the content is refreshed from a button or a key. |
refreshLabel | Yes | Yes | |
refreshingLabel | Yes | Yes | |
successLabel | Yes | Yes | |
errorLabel | Yes | Yes | |
retryLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
@stateChange | Yes | Yes | |
@error | Yes | Yes |
MImage
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
padding | Yes | Yes | |
paddingX | Yes | Yes | |
paddingY | Yes | Yes | |
radius | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
backgroundColor | Yes | Yes | |
motionSurface | Yes | Yes | |
src | Yes | Yes | |
alt | Yes | Yes | |
aspectRatio | Yes | Yes | |
fit | Yes | Yes | |
loadingLabel | Yes | Yes | |
errorLabel | Yes | Yes | |
reveal | Yes | Yes | |
zoom | Accepted, no effect | Accepted, no effect | Pinch and double-tap zoom have no desktop gesture: the photo stays fitted. MImageViewer zooms. |
gesture | Accepted, no effect | Accepted, no effect | The photo has no zoom recognizers on desktop to relate. |
sharedTag | Accepted, no effect | Accepted, no effect | Shared navigation flights have no desktop driver yet (#472). |
returnEntry | Accepted, no effect | Accepted, no effect | Shared navigation flights have no desktop driver yet (#472). |
srcset | Accepted, no effect | Accepted, no effect | A Web hint for choosing and fetching a picture; the hosts load src off the drawing thread. |
sizes | Accepted, no effect | Accepted, no effect | A Web hint for choosing and fetching a picture; the hosts load src off the drawing thread. |
loading | Accepted, no effect | Accepted, no effect | A Web hint for choosing and fetching a picture; the hosts load src off the drawing thread. |
decoding | Accepted, no effect | Accepted, no effect | A Web hint for choosing and fetching a picture; the hosts load src off the drawing thread. |
fetchpriority | Accepted, no effect | Accepted, no effect | A Web hint for choosing and fetching a picture; the hosts load src off the drawing thread. |
@load | Yes | Yes | |
@error | Yes | Yes | |
@update:src | Accepted, no effect | Accepted, no effect | Image effects that commit a new source have no desktop driver; it never fires. |
MAvatar
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
src | Yes | Yes | |
name | Yes | Yes | |
size | Yes | Yes | |
shape | Yes | Yes |
MAvatarGroup
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
members | Yes | Yes | |
maxVisible | Yes | Yes | |
size | Yes | Yes |
MImageViewer
| Property | Mac | Windows | Note |
|---|---|---|---|
label | Yes | Yes | |
images | Yes | Yes | |
modelValue | Yes | Yes | |
open | Yes | Yes | |
maxZoom | Yes | Yes | |
disabled | Yes | Yes | |
closeLabel | Yes | Yes | |
previousLabel | Yes | Yes | |
nextLabel | Yes | Yes | |
zoomInLabel | Yes | Yes | |
zoomOutLabel | Yes | Yes | |
resetLabel | Yes | Yes | |
errorLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:open | Yes | Yes | |
@close | Yes | Yes | |
@error | Yes | Yes |
MImageCompare
| Property | Mac | Windows | Note |
|---|---|---|---|
label | Yes | Yes | |
before | Yes | Yes | |
after | Yes | Yes | |
beforeLabel | Yes | Yes | |
afterLabel | Yes | Yes | |
modelValue | Yes | Yes | |
step | Yes | Yes | |
aspectRatio | Yes | Yes | |
orientation | Yes | Yes | |
disabled | Yes | Yes | |
hint | Yes | Yes | |
@update:modelValue | Yes | Yes |
MImageCropper
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
src | Yes | Yes | |
modelValue | Yes | Yes | The Mac measures a picture in points: one whose file declares a resolution other than 72 dpi is cropped in points, not pixels. |
aspectRatio | Yes | Yes | |
animated | Yes | Yes | |
disabled | Yes | Yes | |
output | Accepted, no effect | Accepted, no effect | The hosts draw pictures and do not encode them: there is no export button, and export() reports an error with stage export. The crop rectangle in modelValue is the result. |
zoomLabel | Yes | Yes | |
rotateLabel | Accepted, no effect | Accepted, no effect | The hosts do not rotate a picture yet: there is no rotate button, and a crop with a rotation is reported through error. |
resetLabel | Yes | Yes | |
exportLabel | Accepted, no effect | Accepted, no effect | There is no export button on desktop. |
loadingLabel | Yes | Yes | |
moveLabel | Yes | Yes | |
leftLabel | Yes | Yes | |
rightLabel | Yes | Yes | |
upLabel | Yes | Yes | |
downLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@export | Accepted, no effect | Accepted, no effect | No picture is exported on desktop, so it never fires. |
@load | Yes | Yes | |
@error | Yes | Yes |
MCarousel
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
itemKey | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
loop | Yes | Yes | |
previousLabel | Yes | Yes | |
nextLabel | Yes | Yes | |
slideLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
gesture | Accepted, no effect | Accepted, no effect | The swipe between slides has no recognizer on desktop to relate. |
@update:modelValue | Yes | Yes |
MBadge
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
text | Yes | Yes | |
size | Yes | Yes | |
tone | Yes | Yes | |
visible | Yes | Yes | |
appear | Yes | Yes | |
pulse | Yes | Yes |
MChip
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
label | Yes | Yes | |
icon | Yes | Yes | |
tone | Yes | Yes | |
selectable | Yes | Yes | |
modelValue | Yes | Yes | |
removable | Yes | Yes | |
removeLabel | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@remove | Yes | Yes |
MProgress
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
value | Yes | Yes | |
max | Yes | Yes | |
indeterminate | Yes | Yes | |
label | Yes | Yes | |
indeterminateLabel | Yes | Yes | |
size | Yes | Yes | |
tone | Yes | Yes | |
celebrate | Accepted, no effect | Accepted, no effect | Confetti has no desktop driver; reaching max is shown by the full bar. |
MSkeleton
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
height | Yes | Yes | |
radius | Yes | Yes | |
animated | Yes | Yes | |
effect | Yes | Yes | shimmer sweeps a highlight across the shape on the Mac; Windows, which does not clip a view to its corners yet (#478), pulses instead. |
loading | Yes | Yes | |
index | Yes | Yes |
MToast
| Property | Mac | Windows | Note |
|---|---|---|---|
controller | Yes | Yes | The Mac announces each notification as it arrives; Windows does not announce yet (#478). |
closeLabel | Yes | Yes | |
countdown | Yes | Yes | |
swipeable | Yes | Yes |
MTooltip
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
text | Yes | Yes | |
triggerLabel | Yes | Yes | |
icon | Yes | Yes | |
variant | Yes | Yes | |
disabled | Yes | Yes | |
delay | Yes | Yes | |
placement | Yes | Yes |
MNotificationCenter
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
animated | Accepted, no effect | Accepted, no effect | The desktop notification list places its entries directly at their new positions. |
filter | Yes | Yes | |
allLabel | Yes | Yes | |
unreadLabel | Yes | Yes | |
readLabel | Yes | Yes | |
unreadActionLabel | Yes | Yes | |
readAllLabel | Yes | Yes | |
dismissLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
ungroupedLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:filter | Yes | Yes | |
@action | Yes | Yes |
MSheet
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
open | Yes | Yes | |
title | Yes | Yes | |
dismissible | Yes | Yes | |
fullscreen | Yes | Yes | |
closeLabel | Yes | Yes | |
padding | Yes | Yes | |
gap | Yes | Yes | |
align | Yes | Yes | |
gesture | Accepted, no effect | Accepted, no effect | A desktop sheet has no drag gesture to hand to the slot. |
returnFocus | Accepted, no effect | Accepted, no effect | Web only in the published contract. On desktop the keyboard returns to the control that opened the panel. |
@update:open | Yes | Yes | |
@close | Yes | Yes | |
@opened | Yes | Yes |
MDialog
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
open | Yes | Yes | |
title | Yes | Yes | |
description | Yes | Yes | |
confirmLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
loadingLabel | Yes | Yes | |
tone | Yes | Yes | |
loading | Yes | Yes | |
dismissible | Yes | Yes | |
interactive | Accepted, no effect | Accepted, no effect | Dragging the title down is a touch gesture; Escape and Cancel close the dialog. |
@update:open | Yes | Yes | |
@confirm | Yes | Yes | |
@close | Yes | Yes |
MPopover
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
open | Yes | Yes | |
label | Yes | Yes | |
triggerLabel | Yes | Yes | |
icon | Yes | Yes | |
variant | Yes | Yes | |
disabled | Yes | Yes | |
placement | Yes | Yes | |
width | Yes | Yes | |
padding | Yes | Yes | |
role | Yes | Yes | |
@update:open | Yes | Yes | |
@close | Yes | Yes | |
@opened | Yes | Yes |
MMenu
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
open | Yes | Yes | |
label | Yes | Yes | |
triggerLabel | Yes | Yes | |
icon | Yes | Yes | |
variant | Yes | Yes | |
disabled | Yes | Yes | |
placement | Yes | Yes | |
width | Yes | Yes | |
padding | Accepted, no effect | Accepted, no effect | The rows of a menu bring their own padding, as on the other renderers. |
role | Accepted, no effect | Accepted, no effect | A menu always has the keyboard of a menu, as on the other renderers. |
items | Yes | Yes | |
@update:open | Yes | Yes | |
@select | Yes | Yes | |
@close | Yes | Yes |
MCommandPalette
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
open | Yes | Yes | |
items | Yes | Yes | |
query | Yes | Yes | |
disabled | Yes | Yes | |
loading | Yes | Yes | |
shortcut | Yes | Yes | Command-K on the Mac and Control-K on Windows. |
searchLabel | Yes | Yes | |
placeholder | Yes | Yes | |
emptyLabel | Yes | Yes | |
loadingLabel | Yes | Yes | |
closeLabel | Yes | Yes | |
returnFocus | Accepted, no effect | Accepted, no effect | Web only in the published contract. On desktop the keyboard returns to the control that opened the panel. |
@update:open | Yes | Yes | |
@update:query | Yes | Yes | |
@select | Yes | Yes |
MTour
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
steps | Yes | Yes | |
modelValue | Yes | Yes | |
animated | Yes | Yes | |
spotlight | Yes | Yes | |
nextLabel | Yes | Yes | |
backLabel | Yes | Yes | |
skipLabel | Yes | Yes | |
finishLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@finish | Yes | Yes | |
@missing | Yes | Yes |
MTourTarget
| Property | Mac | Windows | Note |
|---|---|---|---|
name | Yes | Yes |
MSpeedDial
| Property | Mac | Windows | Note |
|---|---|---|---|
material | Accepted, no effect | Accepted, no effect | Desktop uses the solid theme surface. |
id | Yes | Yes | |
label | Yes | Yes | |
open | Yes | Yes | |
disabled | Yes | Yes | |
actions | Yes | Yes | |
icon | Yes | Yes | |
closeLabel | Yes | Yes | |
direction | Yes | Yes | |
@update:open | Yes | Yes | |
@select | Yes | Yes | |
@close | Yes | Yes |
MCheckbox
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
indeterminate | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
indeterminateLabel | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:indeterminate | Yes | Yes |
MSwitch
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes |
MRadioGroup
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
options | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes |
MSegmentedControl
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
options | Yes | Yes | |
modelValue | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
wrap | Yes | Yes | |
@update:modelValue | Yes | Yes |
MSlider
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
modelValue | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
step | Yes | Yes | |
disabled | Yes | Yes | |
label | Yes | Yes | |
showValue | Yes | Yes | |
formatValue | Yes | Yes | |
ticks | Yes | Yes | |
@update:modelValue | Yes | Yes |
MRangeSlider
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
modelValue | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
step | Yes | Yes | |
disabled | Yes | Yes | |
label | Yes | Yes | |
showValue | Yes | Yes | |
formatValue | Yes | Yes | |
ticks | Yes | Yes | |
@update:modelValue | Yes | Yes | |
lowerLabel | Yes | Yes | |
upperLabel | Yes | Yes | |
readonly | Yes | Yes |
MNumberInput
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
modelValue | Yes | Yes | |
draft | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
step | Yes | Yes | |
locale | Yes | Yes | |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
placeholder | Yes | Yes | |
incrementLabel | Yes | Yes | |
decrementLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:draft | Yes | Yes | |
@validityChange | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes |
MRating
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
max | Yes | Yes | |
step | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
clearable | Yes | Yes | |
clearLabel | Yes | Yes | |
formatValue | Yes | Yes | |
@update:modelValue | Yes | Yes |
MPinInput
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
length | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
required | Yes | Yes | |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
form | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
error | Yes | Yes | |
helperText | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@complete | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes |
MFormGroup
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
description | Yes | Yes |
MFormErrors
| Property | Mac | Windows | Note |
|---|---|---|---|
form | Yes | Yes | |
title | Yes | Yes | |
announce | Yes | Yes | |
@focus | Yes | Yes |
MSelect
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
options | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
disabled | Yes | Yes | |
placeholder | Yes | Yes | |
error | Yes | Yes | |
closeLabel | Accepted, no effect | Accepted, no effect | The list closes with Escape or a click outside it; it has no close button. |
emptyText | Yes | Yes | |
@update:modelValue | Yes | Yes |
MMultiSelect
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
modelValue | Yes | Yes | |
options | Yes | Yes | |
maxSelected | Yes | Yes | |
placeholder | Yes | Yes | |
searchLabel | Yes | Yes | |
closeLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
removeLabel | Yes | Yes | |
@update:modelValue | Yes | Yes |
MCombobox
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
modelValue | Yes | Yes | |
query | Yes | Yes | |
selectedOption | Yes | Yes | |
search | Yes | Yes | |
initialResults | Yes | Yes | |
debounce | Yes | Yes | |
minQueryLength | Yes | Yes | |
maxResults | Yes | Yes | |
label | Yes | Yes | |
placeholder | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
disabled | Yes | Yes | |
clearable | Yes | Yes | |
clearLabel | Yes | Yes | |
closeLabel | Accepted, no effect | Accepted, no effect | The results close with Escape or when the field loses the keyboard. |
loadingText | Yes | Yes | |
emptyText | Yes | Yes | |
searchErrorText | Yes | Yes | |
retryLabel | Yes | Yes | |
idleText | Yes | Yes | |
limitedText | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:query | Yes | Yes | |
@select | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes |
MTreeSelect
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
nodes | Yes | Yes | |
modelValue | Yes | Yes | |
expanded | Yes | Yes | |
multiple | Yes | Yes | |
disabled | Yes | Yes | |
animated | Yes | Yes | |
placeholder | Yes | Yes | |
searchLabel | Yes | Yes | |
clearLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
expandLabel | Yes | Yes | |
collapseLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:expanded | Yes | Yes |
MTagInput
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
placeholder | Yes | Yes | |
disabled | Yes | Yes | |
modelValue | Yes | Yes | |
addLabel | Yes | Yes | |
removeLabel | Yes | Yes | |
maxTags | Yes | Yes | |
@update:modelValue | Yes | Yes |
MSearchBar
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
placeholder | Yes | Yes | |
disabled | Yes | Yes | |
modelValue | Yes | Yes | |
clearLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
showCancel | Yes | Yes | |
searching | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@submit | Yes | Yes | |
@clear | Yes | Yes | |
@cancel | Yes | Yes |
MColorPicker
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
alpha | Yes | Yes | |
animated | Accepted, no effect | Accepted, no effect | The desktop draws the change at once; it has no driver for this motion yet (#472). |
palette | Yes | Yes | |
colorLabel | Yes | Yes | |
hueLabel | Yes | Yes | |
saturationLabel | Yes | Yes | |
brightnessLabel | Yes | Yes | |
alphaLabel | Yes | Yes | |
paletteLabel | Yes | Yes | |
invalidLabel | Yes | Yes | |
@update:modelValue | Yes | Yes |
MFilePicker
| Property | Mac | Windows | Note |
|---|---|---|---|
selection | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
chooseLabel | Yes | Yes | |
dropLabel | Yes | Yes | |
dropActiveLabel | Yes | Yes | |
hint | Yes | Yes | |
uploadLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
retryLabel | Yes | Yes | |
removeLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
pendingLabel | Yes | Yes | |
statusLabels | Yes | Yes | |
errorLabels | Yes | Yes | |
formatSize | Yes | Yes | |
celebrate | Accepted, no effect | Accepted, no effect | Confetti has no desktop driver yet (#472). |
MComposer
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
placeholder | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
loading | Yes | Yes | |
maxLength | Yes | Yes | |
rows | Yes | Yes | |
error | Yes | Yes | |
attachments | Yes | Yes | |
attachable | Yes | Yes | |
attachLabel | Yes | Yes | |
removeLabel | Yes | Yes | |
sendLabel | Yes | Yes | |
sendingLabel | Yes | Yes | |
followKeyboard | Accepted, no effect | Accepted, no effect | A desktop has no software keyboard to follow. |
keyboardOffset | Accepted, no effect | Accepted, no effect | A desktop has no software keyboard to follow. |
shortcut | Yes | Yes | Command-Return sends on the Mac and Control-Enter on Windows. |
counter | Yes | Yes | |
counterLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:attachments | Yes | Yes | |
@submit | Yes | Yes | |
@attach | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes |
MTransferList
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
options | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
animated | Yes | Yes | |
availableLabel | Yes | Yes | |
selectedLabel | Yes | Yes | |
searchLabel | Yes | Yes | |
addLabel | Yes | Yes | |
removeLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
@update:modelValue | Yes | Yes |
MAppBar
| Property | Mac | Windows | Note |
|---|---|---|---|
material | Accepted, no effect | Accepted, no effect | Desktop uses the solid theme surface. |
id | Yes | Yes | |
title | Yes | Yes | |
subtitle | Yes | Yes | |
back | Yes | Yes | |
backLabel | Yes | Yes | |
navigateBack | Yes | Yes | |
condensed | Yes | Yes | |
motionScroll | Yes | Yes | |
condenseDistance | Yes | Yes | |
@back | Yes | Yes | |
@error | Yes | Yes |
MTabBar
| Property | Mac | Windows | Note |
|---|---|---|---|
material | Accepted, no effect | Accepted, no effect | Desktop uses the solid theme surface. |
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
items | Yes | Yes | |
disabled | Yes | Yes | |
currentLabel | Yes | Yes | |
safeArea | Accepted, no effect | Accepted, no effect | A window has no viewport inset of its own; MScreen keeps the host insets. |
@error | Yes | Yes |
MTabs
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
keepAlive | Yes | Yes | |
modelValue | Yes | Yes | |
tabs | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes |
MNavigationRail
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
groups | Yes | Yes | |
modelValue | Yes | Yes | |
collapsed | Yes | Yes | |
disabled | Yes | Yes | |
collapsible | Yes | Yes | |
collapseLabel | Yes | Yes | |
expandLabel | Yes | Yes | |
currentLabel | Yes | Yes | |
@update:collapsed | Yes | Yes | |
@error | Yes | Yes |
MBreadcrumb
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
maxItems | Yes | Yes | |
expandLabel | Yes | Yes | |
@error | Yes | Yes |
MPagination
| Property | Mac | Windows | Note |
|---|---|---|---|
modelValue | Yes | Yes | |
total | Yes | Yes | |
pageSize | Yes | Yes | |
siblingCount | Yes | Yes | |
label | Yes | Yes | |
previousLabel | Yes | Yes | |
nextLabel | Yes | Yes | |
pageLabel | Yes | Yes | |
currentLabel | Yes | Yes | |
statusText | Yes | Yes | |
emptyLabel | Yes | Yes | |
invalidPageLabel | Yes | Yes | |
loading | Yes | Yes | |
disabled | Yes | Yes | |
@update:modelValue | Yes | Yes |
MSteps
| Property | Mac | Windows | Note |
|---|---|---|---|
steps | Yes | Yes | |
modelValue | Yes | Yes | |
label | Yes | Yes | |
disabled | Yes | Yes | |
loading | Yes | Yes | |
currentLabel | Yes | Yes | |
completeLabel | Yes | Yes | |
errorLabel | Yes | Yes | |
@update:modelValue | Yes | Yes |
MListItem
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityLabel | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
title | Yes | Yes | |
description | Yes | Yes | |
interactive | Yes | Yes | |
disabled | Yes | Yes | |
@click | Yes | Yes |
MAccordion
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
items | Yes | Yes | |
modelValue | Yes | Yes | |
multiple | Yes | Yes | |
disabled | Yes | Yes | |
label | Yes | Yes | |
expandedLabel | Yes | Yes | |
collapsedLabel | Yes | Yes | |
@update:modelValue | Yes | Yes |
MTimeline
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
emptyLabel | Yes | Yes | |
statusLabels | Yes | Yes |
MDataTable
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
itemKey | Yes | Yes | |
columns | Yes | Yes | |
sort | Yes | Yes | |
selected | Yes | Yes | |
selectable | Yes | Yes | |
disabled | Yes | Yes | |
loading | Yes | Yes | |
rowDisabled | Yes | Yes | |
rowLabel | Yes | Yes | |
selectLabel | Yes | Yes | |
selectAllLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
loadingLabel | Yes | Yes | |
selectionLabel | Yes | Yes | |
commitCell | Yes | Yes | The editor is a native field: an NSTextField on the Mac, a TextBox on Windows. Tab, Shift-Tab, Escape and Command/Control-Return reach the table before the field; keys an input method is composing with stay with it on the Mac. |
editLabel | Yes | Yes | The edit hint is the tooltip of the cell button. |
saveLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
retryLabel | Yes | Yes | |
savingLabel | Yes | Yes | |
savedLabel | Yes | Yes | |
failedLabel | Yes | Yes | |
changedLabel | Yes | Yes | |
@update:sort | Yes | Yes | |
@update:selected | Yes | Yes |
MTreeView
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
nodes | Yes | Yes | |
modelValue | Yes | Yes | |
expanded | Yes | Yes | |
loadingKeys | Yes | Yes | |
disabled | Yes | Yes | |
emptyLabel | Yes | Yes | |
loadingLabel | Yes | Yes | |
expandedLabel | Yes | Yes | |
collapsedLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:expanded | Yes | Yes | |
@load | Yes | Yes |
MKanban
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
columns | Yes | Yes | |
modelValue | Yes | Yes | |
query | Yes | Yes | |
disabled | Yes | Yes | |
animated | Yes | Yes | |
draggable | Yes | Yes | |
moveLabel | Yes | Yes | |
upLabel | Yes | Yes | |
downLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
fullLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@move | Yes | Yes |
MSortableList
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
itemKey | Yes | Yes | |
itemLabel | Yes | Yes | |
height | Yes | Yes | |
orientation | Yes | Yes | |
gridColumns | Yes | Yes | |
direction | Accepted, no effect | Accepted, no effect | Right-to-left order is not mirrored on desktop yet; the list reads left to right. |
disabled | Yes | Yes | |
handleLabel | Yes | Yes | |
moveUpLabel | Yes | Yes | |
moveDownLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
gesture | Accepted, no effect | Accepted, no effect | Gesture relations coordinate touch recognizers; a desktop drag has one pointer. |
@update:modelValue | Yes | Yes | |
@reorder | Yes | Yes |
MSwipeActions
| Property | Mac | Windows | Note |
|---|---|---|---|
label | Yes | Yes | |
gesture | Accepted, no effect | Accepted, no effect | Gesture relations coordinate touch recognizers; a desktop drag has one pointer. |
modelValue | Yes | Yes | |
start | Yes | Yes | |
end | Yes | Yes | |
disabled | Yes | Yes | |
actionWidth | Yes | Yes | |
direction | Yes | Yes | |
actionsLabel | Yes | Yes | |
closeLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@action | Yes | Yes |
MSwipeDeck
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
animated | Yes | Yes | |
height | Yes | Yes | |
threshold | Yes | Yes | |
acceptLabel | Yes | Yes | |
rejectLabel | Yes | Yes | |
undoLabel | Yes | Yes | |
canUndo | Yes | Yes | |
emptyLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@decide | Yes | Yes | |
@undo | Yes | Yes |
MCalendar
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
mode | Yes | Yes | |
modelValue | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
unavailableDates | Yes | Yes | |
locale | Yes | Yes | |
firstDayOfWeek | Yes | Yes | |
today | Yes | Yes | |
initialMonth | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
invalidRangeLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@invalid | Yes | Yes |
MDatePicker
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
unavailableDates | Yes | Yes | |
locale | Yes | Yes | |
firstDayOfWeek | Yes | Yes | |
today | Yes | Yes | |
initialMonth | Yes | Yes | |
dateFormat | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
clearable | Yes | Yes | |
clearLabel | Yes | Yes | |
calendarLabel | Yes | Yes | |
closeLabel | Yes | Yes | |
draft | Yes | Yes | |
modelValue | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:draft | Yes | Yes | |
@validityChange | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes | |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
MDateRangePicker
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
accessibilityHidden | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
width | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
unavailableDates | Yes | Yes | |
locale | Yes | Yes | |
firstDayOfWeek | Yes | Yes | |
today | Yes | Yes | |
initialMonth | Yes | Yes | |
dateFormat | Yes | Yes | |
label | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
clearable | Yes | Yes | |
clearLabel | Yes | Yes | |
calendarLabel | Yes | Yes | |
closeLabel | Yes | Yes | |
draft | Yes | Yes | |
modelValue | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:draft | Yes | Yes | |
@validityChange | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes | |
startLabel | Yes | Yes | |
endLabel | Yes | Yes | |
startName | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
endName | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
MTimePicker
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
width | Yes | Yes | |
grow | Yes | Yes | |
shrink | Yes | Yes | |
modelValue | Yes | Yes | |
draft | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
minuteStep | Yes | Yes | |
locale | Yes | Yes | |
hourCycle | Yes | Yes | |
name | Accepted, no effect | Accepted, no effect | HTML form participation has no meaning outside the browser. |
disabled | Yes | Yes | |
readonly | Yes | Yes | |
required | Yes | Yes | |
helperText | Yes | Yes | |
error | Yes | Yes | |
placeholder | Yes | Yes | |
chooseLabel | Yes | Yes | |
confirmLabel | Yes | Yes | |
cancelLabel | Yes | Yes | |
clearLabel | Yes | Yes | |
hourLabel | Yes | Yes | |
minuteLabel | Yes | Yes | |
periodLabel | Yes | Yes | |
invalidLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:draft | Yes | Yes | |
@validityChange | Yes | Yes | |
@focus | Yes | Yes | |
@blur | Yes | Yes |
MScheduler
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
modelValue | Yes | Yes | |
date | Yes | Yes | |
timeZone | Yes | Yes | |
days | Yes | Yes | |
startHour | Yes | Yes | |
endHour | Yes | Yes | |
slotMinutes | Yes | Yes | |
hourHeight | Yes | Yes | |
dayWidth | Yes | Yes | |
now | Yes | Yes | |
animated | Yes | Yes | |
disabled | Yes | Yes | |
disambiguation | Yes | Yes | |
previousLabel | Yes | Yes | |
nextLabel | Yes | Yes | |
moveLabel | Yes | Yes | |
resizeLabel | Yes | Yes | |
earlierLabel | Yes | Yes | |
laterLabel | Yes | Yes | |
previousDayLabel | Yes | Yes | |
nextDayLabel | Yes | Yes | |
shorterLabel | Yes | Yes | |
longerLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
@update:modelValue | Yes | Yes | |
@update:date | Yes | Yes | |
@change | Yes | Yes | |
@error | Yes | Yes | |
@select | Yes | Yes |
MChart
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
description | Yes | Yes | |
categories | Yes | Yes | |
series | Yes | Yes | |
type | Yes | Yes | |
domain | Yes | Yes | |
height | Yes | Yes | |
modelValue | Yes | Yes | |
disabled | Yes | Yes | |
hiddenSeries | Yes | Yes | |
animated | Yes | Yes | |
formatValue | Yes | Yes | |
showData | Yes | Yes | |
showDataLabel | Yes | Yes | |
hideDataLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
missingLabel | Yes | Yes | |
clearLabel | Yes | Yes | |
categoryLabel | Accepted, no effect | Accepted, no effect | The arrow keys move between the points of the plot itself; there is no list to label. |
seriesLabel | Accepted, no effect | Accepted, no effect | The arrow keys move between the points of the plot itself; there is no list to label. |
@update:modelValue | Yes | Yes | |
@update:hiddenSeries | Yes | Yes |
MDonutChart
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
segments | Yes | Yes | |
modelValue | Yes | Yes | |
size | Yes | Yes | |
strokeWidth | Yes | Yes | |
animated | Yes | Yes | |
animateNumber | Accepted, no effect | Accepted, no effect | The number changes at once; rolling digits have no desktop driver yet. |
disabled | Yes | Yes | |
totalLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
formatValue | Yes | Yes | |
@update:modelValue | Yes | Yes |
MSparkline
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
points | Yes | Yes | |
domain | Yes | Yes | |
height | Yes | Yes | |
color | Yes | Yes | |
animated | Yes | Yes | |
marker | Yes | Yes | |
showData | Yes | Yes | |
dataLabel | Yes | Yes | |
emptyLabel | Yes | Yes | |
formatValue | Yes | Yes |
MHeatmap
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
start | Yes | Yes | |
end | Yes | Yes | |
values | Yes | Yes | |
modelValue | Yes | Yes | |
colors | Yes | Yes | |
cellSize | Yes | Yes | |
weekStartsOn | Yes | Yes | |
locale | Yes | Yes | |
animated | Yes | Yes | |
disabled | Yes | Yes | |
missingLabel | Yes | Yes | |
dataLabel | Yes | Yes | |
lessLabel | Yes | Yes | |
moreLabel | Yes | Yes | |
formatValue | Yes | Yes | |
@update:modelValue | Yes | Yes |
MGauge
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
value | Yes | Yes | |
min | Yes | Yes | |
max | Yes | Yes | |
size | Yes | Yes | |
strokeWidth | Yes | Yes | |
semi | Yes | Yes | |
animated | Yes | Yes | |
animateNumber | Accepted, no effect | Accepted, no effect | The number changes at once; rolling digits have no desktop driver yet. |
color | Yes | Yes | |
zones | Yes | Yes | |
suffix | Yes | Yes | |
formatValue | Yes | Yes |
MAnimatedText
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
text | Yes | Yes | |
variant | Yes | Yes | |
tone | Yes | Yes | |
by | Yes | Yes | |
duration | Yes | Yes | |
stagger | Yes | Yes | |
distance | Yes | Yes | |
animated | Yes | Yes | |
appear | Yes | Yes | |
replayKey | Yes | Yes | |
delay | Yes | Yes | |
settle | Yes | Yes | |
gradient | Accepted, no effect | Accepted, no effect | The hosts have no fill clipped to glyphs; the text keeps its tone. |
MNumberFlow
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
value | Yes | Yes | |
locale | Yes | Yes | |
format | Yes | Yes | |
formatValue | Yes | Yes | |
label | Yes | Yes | |
variant | Yes | Yes | |
tone | Yes | Yes | |
duration | Yes | Yes | |
animated | Yes | Yes | |
announce | Yes | Yes | Windows makes no announcement yet (#478); the name of the number still changes. |
direction | Yes | Yes | |
bounce | Yes | Yes | |
trend | Yes | Yes |
MMarquee
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
label | Yes | Yes | |
items | Yes | Yes | |
autoplay | Yes | Yes | Windows does not clip a view yet (#478): what moves can be drawn past its edges. |
paused | Yes | Yes | |
speed | Yes | Yes | |
direction | Yes | Yes | |
itemWidth | Yes | Yes | |
gap | Yes | Yes | |
playLabel | Yes | Yes | |
pauseLabel | Yes | Yes | |
fade | Accepted, no effect | Accepted, no effect | The edges stay hard on desktop, as on NativeScript. |
@update:paused | Yes | Yes |
MConfetti
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
colors | Yes | Yes | |
trigger | Yes | Yes | |
count | Yes | Yes | |
disabled | Yes | Yes | |
@burst | Yes | Yes | |
@skipped | Yes | Yes |
MParticleField
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
colors | Yes | Yes | |
height | Yes | Yes | |
radius | Yes | Yes | |
active | Yes | Yes | |
density | Yes | Yes | |
speed | Yes | Yes | Windows does not clip a view yet (#478): what moves can be drawn past its edges. |
lifetime | Yes | Yes | |
duration | Yes | Yes | |
size | Yes | Yes | |
shape | Yes | Yes | |
backgroundColor | Yes | Yes |
MGradientBackground
| Property | Mac | Windows | Note |
|---|---|---|---|
id | Yes | Yes | |
colors | Yes | Yes | |
height | Yes | Yes | |
radius | Yes | Yes | |
angle | Yes | Yes | |
animated | Yes | Yes | |
active | Yes | Yes | |
duration | Yes | Yes |
Check a screen before it runs
create-mavis --add-macos --entry src/shared/Home.vue # preview, writes nothing
create-mavis --capabilities --json # the contract as dataThe preview reads the entry and the files it imports, and reports components, properties, slots and imports the desktop does not have, grouped by file with their lines. A refused property comes with its reason. See Add a desktop host.