[{"data":1,"prerenderedAt":734},["ShallowReactive",2],{"navigation":3,"\u002Fguide\u002Fconcepts":252,"\u002Fguide\u002Fconcepts-surround":729},[4,89,128,171,213,217,248],{"title":5,"path":6,"stem":7,"children":8,"icon":88},"Guide","\u002Fguide","1.guide\u002F01.index",[9,10,14,18,22,26,30,34,38,42,73],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Install","\u002Fguide\u002Finstall","1.guide\u002F02.install",{"title":15,"path":16,"stem":17},"First widget","\u002Fguide\u002Ffirst-widget","1.guide\u002F03.first-widget",{"title":19,"path":20,"stem":21},"Concepts","\u002Fguide\u002Fconcepts","1.guide\u002F05.concepts",{"title":23,"path":24,"stem":25},"Apple data transport","\u002Fguide\u002Ftransport","1.guide\u002F06.transport",{"title":27,"path":28,"stem":29},"Doctor","\u002Fguide\u002Fdoctor","1.guide\u002F07.doctor",{"title":31,"path":32,"stem":33},"CLI","\u002Fguide\u002Fcli","1.guide\u002F08.cli",{"title":35,"path":36,"stem":37},"Core vs extended","\u002Fguide\u002Ftiers","1.guide\u002F09.tiers",{"title":39,"path":40,"stem":41},"Troubleshooting","\u002Fguide\u002Ftroubleshooting","1.guide\u002F10.troubleshooting",{"title":43,"path":44,"stem":45,"children":46,"icon":72},"Platform setup","\u002Fguide\u002Fsetup","1.guide\u002F12.setup\u002F1.index",[47,48,52,56,60,64,68],{"title":43,"path":44,"stem":45},{"title":49,"path":50,"stem":51},"Android setup","\u002Fguide\u002Fsetup\u002Fandroid","1.guide\u002F12.setup\u002F2.android",{"title":53,"path":54,"stem":55},"iOS setup","\u002Fguide\u002Fsetup\u002Fios","1.guide\u002F12.setup\u002F3.ios",{"title":57,"path":58,"stem":59},"macOS setup","\u002Fguide\u002Fsetup\u002Fmacos","1.guide\u002F12.setup\u002F4.macos",{"title":61,"path":62,"stem":63},"Windows setup","\u002Fguide\u002Fsetup\u002Fwindows","1.guide\u002F12.setup\u002F5.windows",{"title":65,"path":66,"stem":67},"Linux setup","\u002Fguide\u002Fsetup\u002Flinux","1.guide\u002F12.setup\u002F6.linux",{"title":69,"path":70,"stem":71},"Desktop webview","\u002Fguide\u002Fsetup\u002Fdesktop","1.guide\u002F12.setup\u002F7.desktop","i-lucide-monitor-smartphone",{"title":74,"icon":75,"path":76,"stem":77,"children":78,"page":87},"Recipes","i-lucide-chef-hat","\u002Fguide\u002Frecipes","1.guide\u002F13.recipes",[79,83],{"title":80,"path":81,"stem":82},"Multi-widget","\u002Fguide\u002Frecipes\u002Fmulti-widget","1.guide\u002F13.recipes\u002F4.multi-widget",{"title":84,"path":85,"stem":86},"Testing your widget","\u002Fguide\u002Frecipes\u002Ftesting","1.guide\u002F13.recipes\u002F5.testing",false,"i-lucide-rocket",{"title":90,"path":91,"stem":92,"children":93,"icon":127},"Elements","\u002Felements","2.elements\u002F1.index",[94,95,99,103,107,111,115,119,123],{"title":90,"path":91,"stem":92},{"title":96,"path":97,"stem":98},"Layout elements","\u002Felements\u002Flayout","2.elements\u002F2.layout",{"title":100,"path":101,"stem":102},"Text elements","\u002Felements\u002Ftext","2.elements\u002F3.text",{"title":104,"path":105,"stem":106},"Media elements","\u002Felements\u002Fmedia","2.elements\u002F4.media",{"title":108,"path":109,"stem":110},"Data elements","\u002Felements\u002Fdata","2.elements\u002F5.data",{"title":112,"path":113,"stem":114},"Interactive elements","\u002Felements\u002Finteractive","2.elements\u002F6.interactive",{"title":116,"path":117,"stem":118},"Spacing elements","\u002Felements\u002Fspacing","2.elements\u002F7.spacing",{"title":120,"path":121,"stem":122},"Style","\u002Felements\u002Fstyle","2.elements\u002F8.style",{"title":124,"path":125,"stem":126},"Colors","\u002Felements\u002Fcolors","2.elements\u002F9.colors","i-lucide-blocks",{"title":129,"path":130,"stem":131,"children":132,"icon":170},"Features","\u002Ffeatures","2.features\u002F01.index",[133,134,138,142,146,150,154,158,162,166],{"title":129,"path":130,"stem":131},{"title":135,"path":136,"stem":137},"Dynamic Island","\u002Ffeatures\u002Fdynamic-island","2.features\u002F02.dynamic-island",{"title":139,"path":140,"stem":141},"Interactive widgets","\u002Ffeatures\u002Finteractive","2.features\u002F03.interactive",{"title":143,"path":144,"stem":145},"Live activities","\u002Ffeatures\u002Flive-activities","2.features\u002F04.live-activities",{"title":147,"path":148,"stem":149},"Timelines and transitions","\u002Ffeatures\u002Ftimelines","2.features\u002F05.timelines",{"title":151,"path":152,"stem":153},"Remote data","\u002Ffeatures\u002Fremote-data","2.features\u002F06.remote-data",{"title":155,"path":156,"stem":157},"Widget updater","\u002Ffeatures\u002Fwidget-updater","2.features\u002F07.widget-updater",{"title":159,"path":160,"stem":161},"Instances","\u002Ffeatures\u002Finstances","2.features\u002F08.instances",{"title":163,"path":164,"stem":165},"Conditions, lists and templates","\u002Ffeatures\u002Fdynamic-content","2.features\u002F09.dynamic-content",{"title":167,"path":168,"stem":169},"Images","\u002Ffeatures\u002Fimages","2.features\u002F10.images","i-lucide-sparkles",{"title":172,"icon":173,"path":174,"stem":175,"children":176,"page":87},"API","i-lucide-file-code","\u002Fapi","3.api",[177,181,185,189,193,197,201,205,209],{"title":178,"path":179,"stem":180},"JavaScript API","\u002Fapi\u002Fjs","3.api\u002F1.js",{"title":182,"path":183,"stem":184},"JS reference","\u002Fapi\u002Freference","3.api\u002F2.reference",{"title":186,"path":187,"stem":188},"Rust API","\u002Fapi\u002Frust","3.api\u002F3.rust",{"title":190,"path":191,"stem":192},"Tauri commands","\u002Fapi\u002Fcommands","3.api\u002F4.commands",{"title":194,"path":195,"stem":196},"Plugin config","\u002Fapi\u002Fplugin-config","3.api\u002F5.plugin-config",{"title":198,"path":199,"stem":200},"Cargo features","\u002Fapi\u002Fcargo-features","3.api\u002F6.cargo-features",{"title":202,"path":203,"stem":204},"Environment variables","\u002Fapi\u002Fenv","3.api\u002F7.env",{"title":206,"path":207,"stem":208},"Permissions","\u002Fapi\u002Fpermissions","3.api\u002F8.permissions",{"title":210,"path":211,"stem":212},"JSON Schema","\u002Fapi\u002Fjson-schema","3.api\u002F9.json-schema",{"title":214,"path":215,"stem":216},"Showcase","\u002Fshowcase","4.showcase",{"title":218,"path":219,"stem":220,"children":221,"icon":247},"Contributing","\u002Fcontributing","5.contributing\u002F1.index",[222,223,227,231,235,239,243],{"title":218,"path":219,"stem":220},{"title":224,"path":225,"stem":226},"Development guide","\u002Fcontributing\u002Fdevelopment","5.contributing\u002F2.development",{"title":228,"path":229,"stem":230},"Render testing (config → geometry \u002F pixels)","\u002Fcontributing\u002Frender-testing","5.contributing\u002F3.render-testing",{"title":232,"path":233,"stem":234},"Visual stand (Level-2 pixels)","\u002Fcontributing\u002Fvisual-stand","5.contributing\u002F4.visual-stand",{"title":236,"path":237,"stem":238},"Linux harness (Docker)","\u002Fcontributing\u002Flinux-harness","5.contributing\u002F5.linux-harness",{"title":240,"path":241,"stem":242},"Windows surface split","\u002Fcontributing\u002Fwindows-surfaces","5.contributing\u002F6.windows-surfaces",{"title":244,"path":245,"stem":246},"Mutation testing","\u002Fcontributing\u002Fmutation-testing","5.contributing\u002F7.mutation-testing","i-lucide-git-pull-request",{"title":249,"path":250,"stem":251},"Changelog","\u002Fchangelog","6.changelog",{"id":253,"title":19,"body":254,"description":402,"extension":723,"generated":87,"links":724,"meta":725,"navigation":726,"path":20,"seo":727,"stem":21,"__hash__":728},"docs\u002F1.guide\u002F05.concepts.md",{"type":255,"value":256,"toc":711},"minimark",[257,273,278,281,292,308,333,347,352,363,378,382,393,396,481,491,516,522,527,585,598,605,626,630,642,646,653,657,670,674,707],[258,259,260,267],"p",{},[261,262],"img",{"alt":263,"className":264,"src":266},"One IR config mapped to five platform surfaces",[265],"dark:hidden","\u002Fillustrations\u002Fconcepts.light.svg",[261,268],{"alt":263,"className":269,"src":272},[270,271],"hidden","dark:block","\u002Fillustrations\u002Fconcepts.dark.svg",[274,275,277],"h2",{"id":276},"architecture-flowchart","Architecture flowchart",[258,279,280],{},"End-to-end data path: one IR write on the host, five possible render surfaces.",[258,282,283,288],{},[261,284],{"alt":285,"className":286,"src":287},"Architecture: app, plugin host and widget surfaces",[265],"\u002Fdiagrams\u002Farchitecture.light.svg",[261,289],{"alt":285,"className":290,"src":291},[270,271],"\u002Fdiagrams\u002Farchitecture.dark.svg",[258,293,294,298,299,303,304,307],{},[295,296,297],"strong",{},"Write path:"," ",[300,301,302],"code",{},"setWidgetConfig"," → validate → write ",[300,305,306],{},"config:{widgetId}"," (+ Apple transport \u002F Android prefs \u002F desktop file) → reload or pin update → renderer paints IR.",[258,309,310,298,313,316,317,320,321,324,325,328,329,332],{},[295,311,312],{},"Desktop shortcut:",[300,314,315],{},"createWidgetWindow"," without ",[300,318,319],{},"url"," loads the embedded page over ",[300,322,323],{},"widgetview","; that page calls ",[300,326,327],{},"getWidgetConfig"," itself — you do not copy ",[300,330,331],{},"widget.html",".",[258,334,335,338,339,342,343,346],{},[295,336,337],{},"Windows Board:"," same IR write also fills ",[300,340,341],{},"ac:template:{widgetId}"," \u002F ",[300,344,345],{},"ac:data:{widgetId}"," for the MSIX provider.",[258,348,349],{},[295,350,351],{},"Actions (tap → app):",[258,353,354,359],{},[261,355],{"alt":356,"className":357,"src":358},"How widget actions reach the app",[265],"\u002Fdiagrams\u002Factions-flow.light.svg",[261,360],{"alt":356,"className":361,"src":362},[270,271],"\u002Fdiagrams\u002Factions-flow.dark.svg",[258,364,365,366,369,370,374,375,332],{},"Apple host writes use ",[295,367,368],{},"one"," configured transport — see ",[371,372,373],"a",{"href":24},"Transport",". Platform setup: ",[371,376,377],{"href":44},"Choose a platform",[274,379,381],{"id":380},"intermediate-representation-ir","Intermediate representation (IR)",[258,383,384,385,388,389,392],{},"The IR source of truth is Rust (",[300,386,387],{},"src\u002Fmodels.rs","). TypeScript types are generated (",[300,390,391],{},"pnpm codegen","). Every platform renderer consumes the same JSON tree.",[258,394,395],{},"A config holds up to three size families:",[397,398,403],"pre",{"className":399,"code":400,"language":401,"meta":402,"style":402},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","interface WidgetConfig {\n  version?: number;\n  small?: WidgetElement;\n  medium?: WidgetElement;\n  large?: WidgetElement;\n}\n","ts","",[300,404,405,422,438,451,463,475],{"__ignoreMap":402},[406,407,410,414,418],"span",{"class":408,"line":409},"line",1,[406,411,413],{"class":412},"spNyl","interface",[406,415,417],{"class":416},"sBMFI"," WidgetConfig",[406,419,421],{"class":420},"sMK4o"," {\n",[406,423,425,429,432,435],{"class":408,"line":424},2,[406,426,428],{"class":427},"swJcz","  version",[406,430,431],{"class":420},"?:",[406,433,434],{"class":416}," number",[406,436,437],{"class":420},";\n",[406,439,441,444,446,449],{"class":408,"line":440},3,[406,442,443],{"class":427},"  small",[406,445,431],{"class":420},[406,447,448],{"class":416}," WidgetElement",[406,450,437],{"class":420},[406,452,454,457,459,461],{"class":408,"line":453},4,[406,455,456],{"class":427},"  medium",[406,458,431],{"class":420},[406,460,448],{"class":416},[406,462,437],{"class":420},[406,464,466,469,471,473],{"class":408,"line":465},5,[406,467,468],{"class":427},"  large",[406,470,431],{"class":420},[406,472,448],{"class":416},[406,474,437],{"class":420},[406,476,478],{"class":408,"line":477},6,[406,479,480],{"class":420},"}\n",[274,482,484,487,488],{"id":483},"group-and-widgetid",[300,485,486],{},"group"," and ",[300,489,490],{},"widgetId",[492,493,494,502],"ul",{},[495,496,497,501],"li",{},[295,498,499],{},[300,500,486],{}," — shared storage namespace (App Group on Apple, SharedPreferences name on Android, file namespace on desktop).",[495,503,504,508,509,342,511,342,513,332],{},[295,505,506],{},[300,507,490],{}," — logical identity of one widget UI inside that group. Required on ",[300,510,302],{},[300,512,327],{},[300,514,515],{},"startWidgetUpdater",[258,517,518,519,521],{},"Storage keys look like ",[300,520,306],{},". Multiple widgets can share a group and show different configs.",[258,523,524],{},[295,525,526],{},"Platform gotchas:",[492,528,529,551,571],{},[495,530,531,298,534,536,537,540,541,544,545,548,549,332],{},[295,532,533],{},"Apple:",[300,535,486],{}," must equal ",[300,538,539],{},"plugins.widgets.appGroup"," and the Xcode App Group. Swift ",[300,542,543],{},"TauriWidgetProvider(widgetId:)"," defaults to ",[300,546,547],{},"\"default\""," — keep it equal to the JS ",[300,550,490],{},[495,552,553,556,557,560,561,564,565,568,569,332],{},[295,554,555],{},"Android:"," default store name is the app ",[295,558,559],{},"package name"," (not an arbitrary ",[300,562,563],{},"group.com…"," string) unless you set ",[300,566,567],{},"tauri_widget_group"," meta-data. See ",[371,570,49],{"href":50},[495,572,573,576,577,580,581,584],{},[295,574,575],{},"Desktop webview:"," any stable string works for the embedded window; still set ",[300,578,579],{},"plugins.widgets"," when developing on a ",[295,582,583],{},"macOS"," host.",[258,586,587,588,590,591,594,595,597],{},"On Android, each home-screen instance maps to a logical ",[300,589,490],{}," (meta ",[300,592,593],{},"widgetId:{appWidgetId}","). Call ",[300,596,302],{}," per id after pinning.",[274,599,601,602,604],{"id":600},"desktop-renderer-widgethtml","Desktop renderer (",[300,603,331],{},")",[258,606,607,608,611,612,614,615,316,617,619,620,623,624,332],{},"On desktop, the default UI is ",[295,609,610],{},"not"," a file you add to the Vite\u002FWebpack root. The plugin embeds ",[300,613,331],{}," in the Rust crate and serves it via a custom URI scheme when you call ",[300,616,315],{},[300,618,319],{},". Install the crate\u002FJS package, push a config, open a window — nothing else to fetch. Optional custom pages and ",[300,621,622],{},"tauri.conf.json"," caveats: ",[371,625,69],{"href":70},[274,627,629],{"id":628},"transport-apple","Transport (Apple)",[258,631,632,633,635,636,639,640,332],{},"The host writes through ",[295,634,368],{}," configured driver (",[300,637,638],{},"plugins.widgets.transport","). Wrong transport fails plugin init loudly — empty widgets from a silent fallback are not expected. Details: ",[371,641,373],{"href":24},[274,643,645],{"id":644},"diagnostics-and-receipts","Diagnostics and receipts",[258,647,648,649,652],{},"Native renderers can report receipts. Use ",[300,650,651],{},"getWidgetDiagnostics(group)"," to inspect what the extension last rendered \u002F skipped. Receipts feed diagnostics — they do not select transport.",[274,654,656],{"id":655},"capability-warnings","Capability warnings",[258,658,659,660,663,664,667,668,332],{},"When a config ",[295,661,662],{},"changes",", the plugin logs degraded \u002F unsupported capability warnings for the ",[295,665,666],{},"current"," platform only. The full matrix is in ",[371,669,35],{"href":36},[274,671,673],{"id":672},"breaking-changes-in-04","Breaking changes in 0.4",[492,675,676,681,690,697],{},[495,677,678,680],{},[300,679,490],{}," required on config \u002F updater \u002F built-in window renderer",[495,682,683,684,686,687],{},"Storage keys renamed: ",[300,685,306],{},", ",[300,688,689],{},"pending_actions",[495,691,692,693,487,695],{},"Action payload includes ",[300,694,490],{},[300,696,486],{},[495,698,699,700,702,703,706],{},"iOS ",[300,701,486],{}," must start with ",[300,704,705],{},"group."," (no silent rewrite)",[708,709,710],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":402,"searchDepth":424,"depth":440,"links":712},[713,714,715,717,719,720,721,722],{"id":276,"depth":424,"text":277},{"id":380,"depth":424,"text":381},{"id":483,"depth":424,"text":716},"group and widgetId",{"id":600,"depth":424,"text":718},"Desktop renderer (widget.html)",{"id":628,"depth":424,"text":629},{"id":644,"depth":424,"text":645},{"id":655,"depth":424,"text":656},{"id":672,"depth":424,"text":673},"md",null,{},true,{"title":19,"description":402},"_ZJGyf3Khcz6BW9UdO_lwypTNry8jm4jEj-DVXlhL_I",[730,732],{"title":15,"path":16,"stem":17,"description":731,"children":-1},"Fastest path to something on screen: a desktop webview widget (no Xcode Widget Extension \u002F Android Studio).",{"title":23,"path":24,"stem":25,"description":733,"children":-1},"The host writes widget data through one transport. Leave transport unset and the plugin picks the one that works for a normal build:",1795184343132]