[{"data":1,"prerenderedAt":1172},["ShallowReactive",2],{"docs:\u002Fcomponents\u002Frange-reference":3,"docs-navigation:":632,"docs-locale-navigation":1089,"i-tabler:chevron-down":1165,"inrux-code-sfc:rs:let switch = Node::switch(\"Automatic sync\".into(), enabled, events.model(|state, value, _| state.sync = value));\nlet progress = Node::progress(\"Download progress\".into(), completed, 100.0);\nlet meter = Node::meter(\"Temperature\".into(), temperature, -10.0, 40.0);\n":1169,"inrux-code-sfc:css:.controls {\n    accent-color: #705bea;\n    gap: 16px 12px; \u002F* row, column *\u002F\n}\nProgress,\nMeter {\n    height: 8px;\n    background: #e4ebe7;\n    border-radius: 4px;\n}\n":1170,"inrux-code-sfc:xml:\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CSwitch label=\"Automatic sync\" model:checked={sync} \u002F>\n        \u003CProgress label=\"Download progress\" value={completed} max={100.0} class=\"range\" \u002F>\n        \u003CMeter label=\"Temperature\" value={temperature} min={-10.0} max={40.0} class=\"range\" \u002F>\n        \u003CText text={format!(\"Sync: {} | Progress: {}% | Temperature: {} C\", sync, completed, temperature)} \u002F>\n        \u003CRow class=\"actions\">\n            \u003CButton text=\"Advance values\" @click={advance} class=\"action\" \u002F>\n            \u003CButton text=\"Reset\" @click={reset} \u002F>\n        \u003C\u002FRow>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet sync: bool = false;\nlet completed: f64 = 0.0;\nlet temperature: f64 = 20.0;\n\n\u002F\u002F\u002F Keep values inside the finite ranges declared above.\nfn advance(state: &mut State, _: &Context\u003CState>) {\n    state.completed = (state.completed + 10.0).min(100.0);\n    state.temperature = (state.temperature + 2.0).min(40.0);\n}\n\u002F\u002F\u002F Restore the complete local state.\nfn reset(state: &mut State, _: &Context\u003CState>) {\n    state.sync = false;\n    state.completed = 0.0;\n    state.temperature = 20.0;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\n}\n.actions {\n    gap: 8px;\n}\n.action {\n    background: #b84200;\n    color: white;\n    padding: 12px;\n    border-radius: 6px;\n}\n.action:hover {\n    background: #913400;\n}\n.action:focus-visible {\n    border-width: 2px;\n    border-color: #262626;\n}\n.range {\n    height: 16px;\n    accent-color: #b84200;\n}\n\u003C\u002Fstyle>\n":1171},{"id":4,"title":5,"body":6,"description":621,"docs":622,"extension":623,"icon":622,"meta":624,"navigation":625,"path":627,"redirect":622,"seo":628,"space":629,"stem":630,"__hash__":631},"docs\u002F5.components\u002Frange-reference.md","Boolean and range reference",{"type":7,"value":8,"toc":609},"minimark",[9,18,23,48,58,62,67,312,316,464,467,471,505,529,543,546,554,560,564,572,581,584,588,591,598],[10,11,12,13,17],"p",{},"These shared components work with egui, Masonry and GPUI. Their constructors live in ",[14,15,16],"code",{},"inrux-components\u002Fsrc\u002Fcomponents\u002F\u003Cname>\u002F\u003Cname>.rs","; private engine bindings handle native input, painting and available accessibility integration. Applications use the same facade API with every engine.",[19,20,22],"h2",{"id":21},"usage","Usage",[10,24,25,26,29,30,35,36,39,40,43,44,47],{},"Replace ",[14,27,28],{},"src\u002FApp.iru"," in a ",[31,32,34],"a",{"href":33},"\u002Fgetting-started\u002Ffirst-app","scaffolded project"," with this complete file, then run ",[14,37,38],{},"cargo run",". Keep the scaffold's ",[14,41,42],{},"main.rs"," and ",[14,45,46],{},"build.rs","; the example includes its state, handlers and scoped styles.",[49,50,56],"pre",{"className":51,"code":53,"filename":28,"language":54,"meta":55},[52],"language-xml","\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CSwitch label=\"Automatic sync\" model:checked={sync} \u002F>\n        \u003CProgress label=\"Download progress\" value={completed} max={100.0} class=\"range\" \u002F>\n        \u003CMeter label=\"Temperature\" value={temperature} min={-10.0} max={40.0} class=\"range\" \u002F>\n        \u003CText text={format!(\"Sync: {} | Progress: {}% | Temperature: {} C\", sync, completed, temperature)} \u002F>\n        \u003CRow class=\"actions\">\n            \u003CButton text=\"Advance values\" @click={advance} class=\"action\" \u002F>\n            \u003CButton text=\"Reset\" @click={reset} \u002F>\n        \u003C\u002FRow>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet sync: bool = false;\nlet completed: f64 = 0.0;\nlet temperature: f64 = 20.0;\n\n\u002F\u002F\u002F Keep values inside the finite ranges declared above.\nfn advance(state: &mut State, _: &Context\u003CState>) {\n    state.completed = (state.completed + 10.0).min(100.0);\n    state.temperature = (state.temperature + 2.0).min(40.0);\n}\n\u002F\u002F\u002F Restore the complete local state.\nfn reset(state: &mut State, _: &Context\u003CState>) {\n    state.sync = false;\n    state.completed = 0.0;\n    state.temperature = 20.0;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\n}\n.actions {\n    gap: 8px;\n}\n.action {\n    background: #b84200;\n    color: white;\n    padding: 12px;\n    border-radius: 6px;\n}\n.action:hover {\n    background: #913400;\n}\n.action:focus-visible {\n    border-width: 2px;\n    border-color: #262626;\n}\n.range {\n    height: 16px;\n    accent-color: #b84200;\n}\n\u003C\u002Fstyle>\n","xml","",[14,57,53],{"__ignoreMap":55},[19,59,61],{"id":60},"api-reference","API Reference",[63,64,66],"h3",{"id":65},"props","Props",[68,69,70,92],"table",{},[71,72,73],"thead",{},[74,75,76,80,83,86,89],"tr",{},[77,78,79],"th",{},"Component",[77,81,82],{},"Prop",[77,84,85],{},"Type",[77,87,88],{},"Default",[77,90,91],{},"Description",[93,94,95,117,140,162,183,201,220,238,256,273,293],"tbody",{},[74,96,97,101,106,111,114],{},[98,99,100],"td",{},"Switch",[98,102,103],{},[14,104,105],{},"label",[98,107,108],{},[14,109,110],{},"String-like expression",[98,112,113],{},"Required",[98,115,116],{},"Visible label describing the setting.",[74,118,119,121,126,131,137],{},[98,120,100],{},[98,122,123],{},[14,124,125],{},"checked",[98,127,128],{},[14,129,130],{},"bool",[98,132,133,134],{},"Required without ",[14,135,136],{},"model:checked",[98,138,139],{},"Controlled on\u002Foff value.",[74,141,142,144,148,153,156],{},[98,143,100],{},[98,145,146],{},[14,147,136],{},[98,149,150],{},[14,151,152],{},"retained field: bool or Signal\u003Cbool>",[98,154,155],{},"Not set",[98,157,158,159,161],{},"Two-way checked binding; use instead of ",[14,160,125],{},".",[74,163,164,166,171,175,180],{},[98,165,100],{},[98,167,168],{},[14,169,170],{},"disabled",[98,172,173],{},[14,174,130],{},[98,176,177],{},[14,178,179],{},"false",[98,181,182],{},"Reject setting changes.",[74,184,185,188,192,196,198],{},[98,186,187],{},"Progress",[98,189,190],{},[14,191,105],{},[98,193,194],{},[14,195,110],{},[98,197,113],{},[98,199,200],{},"Nonempty description of the task.",[74,202,203,205,210,215,217],{},[98,204,187],{},[98,206,207],{},[14,208,209],{},"value",[98,211,212],{},[14,213,214],{},"f64",[98,216,113],{},[98,218,219],{},"Finite completion value, normalized to the declared range.",[74,221,222,224,229,233,235],{},[98,223,187],{},[98,225,226],{},[14,227,228],{},"max",[98,230,231],{},[14,232,214],{},[98,234,113],{},[98,236,237],{},"Finite positive upper bound; lower bound is zero.",[74,239,240,243,247,251,253],{},[98,241,242],{},"Meter",[98,244,245],{},[14,246,105],{},[98,248,249],{},[14,250,110],{},[98,252,113],{},[98,254,255],{},"Nonempty description of the measurement.",[74,257,258,260,264,268,270],{},[98,259,242],{},[98,261,262],{},[14,263,209],{},[98,265,266],{},[14,267,214],{},[98,269,113],{},[98,271,272],{},"Finite measurement, normalized to the declared range.",[74,274,275,277,282,286,288],{},[98,276,242],{},[98,278,279],{},[14,280,281],{},"min",[98,283,284],{},[14,285,214],{},[98,287,113],{},[98,289,290,291,161],{},"Finite lower bound, strictly below ",[14,292,228],{},[74,294,295,297,301,305,307],{},[98,296,242],{},[98,298,299],{},[14,300,228],{},[98,302,303],{},[14,304,214],{},[98,306,113],{},[98,308,309,310,161],{},"Finite upper bound, strictly above ",[14,311,281],{},[63,313,315],{"id":314},"common-props","Common props",[68,317,318,330],{},[71,319,320],{},[74,321,322,324,326,328],{},[77,323,82],{},[77,325,85],{},[77,327,88],{},[77,329,91],{},[93,331,332,348,364,381,397,415,431,448],{},[74,333,334,339,343,345],{},[98,335,336],{},[14,337,338],{},"id",[98,340,341],{},[14,342,110],{},[98,344,155],{},[98,346,347],{},"Style-selector identity; independent of retained mount identity.",[74,349,350,355,359,361],{},[98,351,352],{},[14,353,354],{},"class",[98,356,357],{},[14,358,110],{},[98,360,155],{},[98,362,363],{},"Whitespace-separated stylesheet classes.",[74,365,366,371,376,378],{},[98,367,368],{},[14,369,370],{},"style",[98,372,373],{},[14,374,375],{},"Style",[98,377,155],{},[98,379,380],{},"Explicit Rust style overrides for this node.",[74,382,383,388,392,394],{},[98,384,385],{},[14,386,387],{},"key",[98,389,390],{},[14,391,110],{},[98,393,155],{},[98,395,396],{},"Retained sibling identity; preserve it while reordering children.",[74,398,399,404,409,412],{},[98,400,401],{},[14,402,403],{},"width",[98,405,406],{},[14,407,408],{},"Size",[98,410,411],{},"Component style",[98,413,414],{},"Explicit width constraint; otherwise use the resolved style.",[74,416,417,422,426,428],{},[98,418,419],{},[14,420,421],{},"height",[98,423,424],{},[14,425,408],{},[98,427,411],{},[98,429,430],{},"Explicit height constraint; otherwise use the resolved style.",[74,432,433,438,443,445],{},[98,434,435],{},[14,436,437],{},"padding",[98,439,440],{},[14,441,442],{},"f32",[98,444,411],{},[98,446,447],{},"Uniform padding in logical pixels; otherwise use the resolved style.",[74,449,450,455,459,461],{},[98,451,452],{},[14,453,454],{},"gap",[98,456,457],{},[14,458,442],{},[98,460,411],{},[98,462,463],{},"Child spacing in logical pixels; otherwise use the resolved style.",[10,465,466],{},"“Component style” means the attribute is omitted and the normal style cascade supplies the value. Application styles can override framework defaults.",[63,468,470],{"id":469},"emits","Emits",[68,472,473,487],{},[71,474,475],{},[74,476,477,479,482,485],{},[77,478,79],{},[77,480,481],{},"Event",[77,483,484],{},"Payload",[77,486,91],{},[93,488,489],{},[74,490,491,493,498,502],{},[98,492,100],{},[98,494,495],{},[14,496,497],{},"@change",[98,499,500],{},[14,501,130],{},[98,503,504],{},"Requested on\u002Foff value. Required without a model; a model listener runs after assignment.",[10,506,507,508,511,512,43,515,518,519,522,523,525,526,161],{},"Bind events with ",[14,509,510],{},"@event={handler}",". Ordinary handlers receive ",[14,513,514],{},"&mut State",[14,516,517],{},"&Context\u003CState>","; controlled value handlers can also receive the listed payload. With ",[14,520,521],{},"model:value"," or ",[14,524,136],{},", the setter runs before the optional model listener, which reads the updated state. Stateless children forward a typed ",[14,527,528],{},"Emit\u003CT>",[10,530,531,532,43,535,538,539,542],{},"Switch also accepts ",[14,533,534],{},"checked={bool}",[14,536,537],{},"@change={handler}"," instead of a model, like Checkbox. Models accept plain boolean fields or ",[14,540,541],{},"Signal\u003Cbool>",". Pointer and Enter\u002FSpace activate enabled switches; disabled controls reject activation. State remains controlled by application updates. The label must be nonempty.",[10,544,545],{},"Rust constructors:",[49,547,552],{"className":548,"code":550,"language":551,"meta":55},[549],"language-rust","let switch = Node::switch(\"Automatic sync\".into(), enabled, events.model(|state, value, _| state.sync = value));\nlet progress = Node::progress(\"Download progress\".into(), completed, 100.0);\nlet meter = Node::meter(\"Temperature\".into(), temperature, -10.0, 40.0);\n","rust",[14,553,550],{"__ignoreMap":55},[10,555,556,557,559],{},"Progress reports completion from zero to a positive maximum. Meter reports a measurement between explicit minimum and maximum. Values and bounds are ",[14,558,214],{},"; they must be finite, strictly ordered, and contain the value. An empty label, invalid range, or overflow in the interval produces an adapter validation error before native rendering. Values are not silently clamped. Range indicators are read-only and do not join keyboard focus traversal.",[19,561,563],{"id":562},"styling","Styling",[49,565,570],{"className":566,"code":568,"language":569,"meta":55},[567],"language-css",".controls {\n    accent-color: #705bea;\n    gap: 16px 12px; \u002F* row, column *\u002F\n}\nProgress,\nMeter {\n    height: 8px;\n    background: #e4ebe7;\n    border-radius: 4px;\n}\n","css",[14,571,568],{"__ignoreMap":55},[10,573,574,577,578,161],{},[14,575,576],{},"accent-color"," inherits through the component tree and colors Checkbox selection, Switch tracks and range fills. A common contrast heuristic chooses the indicator mark\u002Fthumb color. It is not a contrast certification; choose accessible theme palettes. Rust parity is ",[14,579,580],{},"Style::new().accent_color(Color(112, 91, 234)).row_gap(16.0).column_gap(12.0)",[10,582,583],{},"Range defaults fill the available width at 8 logical pixels high with 4px rounding. Switch defaults to a 34×20 logical pixel track, overridable through public parts; labels inherit typography. Geometry remains shared across engines. CSS selector parsing and numeric range validation do not run on a frame animation timer; these controls do not create one.",[19,585,587],{"id":586},"current-limits-and-validation","Current limits and validation",[10,589,590],{},"Progress is determinate only. Meter has no low\u002Fhigh\u002Foptimum bands or editable slider behavior. These are separate semantics, not styles inferred from component names. egui and Masonry publish Switch\u002FMeter\u002FProgress roles and numeric range data through AccessKit. GPUI retains the existing limitation in platform accessibility delivery; shared labels and descriptors do not imply an OS accessibility bridge.",[10,592,593,594,597],{},"The three catalogue apps include controlled Switch, bounded increase\u002Fdecrease, reset and inherited violet-accent examples. Tests cover generated ",[14,595,596],{},".iru"," type checking, native input and disabled behavior, native range semantics, range validation, shared geometry and CSS cascade\u002Fsource order. No new startup, memory or frame-time performance claim is made by this increment.",[10,599,600,604,605,608],{},[31,601,603],{"href":602},"\u002Fstyling\u002Fparts-and-states","Public parts"," allow track\u002Fthumb\u002Flabel\u002Findicator styling without replacing native behavior. Owner ",[606,607],"hover",{},"\u002F:focus-visible\u002F:disabled\u002F:checked\u002F:unchecked paint rules are available across all three engines. The playground's 42×24 track is application styling, not a new framework default.",{"title":55,"searchDepth":610,"depth":610,"links":611},2,[612,613,619,620],{"id":21,"depth":610,"text":22},{"id":60,"depth":610,"text":61,"children":614},[615,617,618],{"id":65,"depth":616,"text":66},3,{"id":314,"depth":616,"text":315},{"id":469,"depth":616,"text":470},{"id":562,"depth":610,"text":563},{"id":586,"depth":610,"text":587},"Use controlled switches and validated progress and measurement ranges.",null,"md",{},{"icon":626},"tabler:adjustments-horizontal","\u002Fcomponents\u002Frange-reference",{"title":5,"description":621},false,"5.components\u002Frange-reference","MNPy5aVtFYtZ0fUi_zN-tA4LChI1P5AVWmR3Tw_CZqk",[633,687,719,793,831,1042],{"title":634,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":636,"stem":637,"children":638,"page":629},"Getting started",true,"\u002Fgetting-started","1.getting-started",[639,646,653,659,666,673,680],{"title":640,"path":641,"stem":642,"navigation":643,"description":645,"space":629,"icon":644,"docs":622,"redirect":622},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F01.introduction",{"icon":644},"tabler:book-2","Build native Rust interfaces with reusable .iru components.",{"title":647,"path":648,"stem":649,"navigation":650,"description":652,"space":629,"icon":651,"docs":622,"redirect":622},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F02.installation",{"icon":651},"tabler:download","Install the native build tools, clone Inrux and run your first application.",{"title":654,"path":33,"stem":655,"navigation":656,"description":658,"space":629,"icon":657,"docs":622,"redirect":622},"Your first application","1.getting-started\u002F03.first-app",{"icon":657},"tabler:rocket","Create a project, mount App.iru and connect a button to local state.",{"title":660,"path":661,"stem":662,"navigation":663,"description":665,"space":629,"icon":664,"docs":622,"redirect":622},"Project structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F04.project-structure",{"icon":664},"tabler:folders","Find the framework crates, native examples, editor tools and application folders.",{"title":667,"path":668,"stem":669,"navigation":670,"description":672,"space":629,"icon":671,"docs":622,"redirect":622},"Playgrounds","\u002Fgetting-started\u002Fplaygrounds","1.getting-started\u002F05.playgrounds",{"icon":671},"tabler:device-desktop","Run the same component catalogue with egui, Masonry or GPUI.",{"title":674,"path":675,"stem":676,"navigation":677,"description":679,"space":629,"icon":678,"docs":622,"redirect":622},"VS Code","\u002Fgetting-started\u002Fvscode","1.getting-started\u002F06.vscode",{"icon":678},"tabler:code","Set up .iru icons, completion, formatting, navigation and Rust support.",{"title":681,"path":682,"stem":683,"navigation":684,"description":686,"space":629,"icon":685,"docs":622,"redirect":622},"Alpha status","\u002Fgetting-started\u002Fstatus","1.getting-started\u002F07.status",{"icon":685},"tabler:flask","Check what works today and which features still need implementation or platform testing.",{"title":688,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":689,"stem":690,"children":691,"page":629},"Architecture","\u002Finternals","2.internals",[692,698,705,712],{"title":688,"path":693,"stem":694,"navigation":695,"description":697,"space":629,"icon":696,"docs":622,"redirect":622},"\u002Finternals\u002Farchitecture","2.internals\u002F01.architecture",{"icon":696},"tabler:sitemap","Follow compilation, state ownership, threads and the native adapter boundary.",{"title":699,"path":700,"stem":701,"navigation":702,"description":704,"space":629,"icon":703,"docs":622,"redirect":622},"Adapter services","\u002Finternals\u002Fadapter-services","2.internals\u002F02.adapter-services",{"icon":703},"tabler:plug","Understand provider contracts, capabilities, fallback selection and component prerequisites.",{"title":706,"path":707,"stem":708,"navigation":709,"description":711,"space":629,"icon":710,"docs":622,"redirect":622},"Text rendering","\u002Finternals\u002Ftext-rendering","2.internals\u002F03.text-rendering",{"icon":710},"tabler:typography","Learn how shared shaping and glyph rasterization reduce differences between engines.",{"title":713,"path":714,"stem":715,"navigation":716,"description":718,"space":629,"icon":717,"docs":622,"redirect":622},"Headless components","\u002Finternals\u002Fheadless-components","2.internals\u002F04.headless-components",{"icon":717},"tabler:components","Separate interaction behavior from application appearance and themes.",{"title":720,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":721,"stem":722,"children":723,"page":629},"Writing components","\u002Fauthoring","3.authoring",[724,731,737,744,751,758,765,772,779,786],{"title":725,"path":726,"stem":727,"navigation":728,"description":730,"space":629,"icon":729,"docs":622,"redirect":622},"The .iru format","\u002Fauthoring\u002Firu-format","3.authoring\u002F01.iru-format",{"icon":729},"tabler:file-code","Learn what goes in a component file, why Inrux uses SFCs and when to move code out.",{"title":732,"path":733,"stem":734,"navigation":735,"description":736,"space":629,"icon":717,"docs":622,"redirect":622},"Component contract","\u002Fauthoring\u002Fcomponent-contract","3.authoring\u002F02.component-contract",{"icon":717},"Write imports, props, events, models, keyed children and component state.",{"title":738,"path":739,"stem":740,"navigation":741,"description":743,"space":629,"icon":742,"docs":622,"redirect":622},"Props, events and models","\u002Fauthoring\u002Fprops-events-models","3.authoring\u002F03.props-events-models",{"icon":742},"tabler:arrows-exchange","Pass values down, send typed events up and bind controlled values.",{"title":745,"path":746,"stem":747,"navigation":748,"description":750,"space":629,"icon":749,"docs":622,"redirect":622},"State and computed values","\u002Fauthoring\u002Fstate-and-computed","3.authoring\u002F04.state-and-computed",{"icon":749},"tabler:bolt","Update local fields, share reactive handles and derive cached values.",{"title":752,"path":753,"stem":754,"navigation":755,"description":757,"space":629,"icon":756,"docs":622,"redirect":622},"Conditions, lists and dynamic components","\u002Fauthoring\u002Fcontrol-flow","3.authoring\u002F05.control-flow",{"icon":756},"tabler:git-branch","Render branches, preserve list identity and select imported components.",{"title":759,"path":760,"stem":761,"navigation":762,"description":764,"space":629,"icon":763,"docs":622,"redirect":622},"Children and layouts","\u002Fauthoring\u002Fchildren-and-layouts","3.authoring\u002F06.children-and-layouts",{"icon":763},"tabler:layout","Pass default child content through reusable application shells.",{"title":766,"path":767,"stem":768,"navigation":769,"description":771,"space":629,"icon":770,"docs":622,"redirect":622},"Separating business logic","\u002Fauthoring\u002Fbusiness-logic","3.authoring\u002F07.business-logic",{"icon":770},"tabler:briefcase","Keep component interactions nearby and domain behavior reusable in Rust modules.",{"title":773,"path":774,"stem":775,"navigation":776,"description":778,"space":629,"icon":777,"docs":622,"redirect":622},"Lifecycle and refs","\u002Fauthoring\u002Flifecycle-and-refs","3.authoring\u002F08.lifecycle-and-refs",{"icon":777},"tabler:refresh","Understand setup, mount identity, cleanup and the limits of native refs.",{"title":780,"path":781,"stem":782,"navigation":783,"description":785,"space":629,"icon":784,"docs":622,"redirect":622},"Background tasks","\u002Fauthoring\u002Fbackground-tasks","3.authoring\u002F09.background-tasks",{"icon":784},"tabler:cpu","Run slow work outside the coordinator and return typed results to component state.",{"title":787,"path":788,"stem":789,"navigation":790,"description":792,"space":629,"icon":791,"docs":622,"redirect":622},"Provide and inject","\u002Fauthoring\u002Fdependency-injection","3.authoring\u002F10.dependency-injection",{"icon":791},"tabler:plug-connected","Share typed services through a component subtree without prop drilling.",{"title":563,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":794,"stem":795,"children":796,"page":629},"\u002Fstyling","4.styling",[797,804,811,817,824],{"title":798,"path":799,"stem":800,"navigation":801,"description":803,"space":629,"icon":802,"docs":622,"redirect":622},"Styling basics","\u002Fstyling\u002Foverview","4.styling\u002F01.overview",{"icon":802},"tabler:palette","Style headless components with CSS-like rules or Rust values.",{"title":805,"path":806,"stem":807,"navigation":808,"description":810,"space":629,"icon":809,"docs":622,"redirect":622},"CSS reference","\u002Fstyling\u002Fcss-reference","4.styling\u002F02.css-reference",{"icon":809},"tabler:file-type-css","Use the supported selectors, properties, cascade and compiled style rules.",{"title":812,"path":602,"stem":813,"navigation":814,"description":816,"space":629,"icon":815,"docs":622,"redirect":622},"Parts and states","4.styling\u002F03.parts-and-states",{"icon":815},"tabler:puzzle","Style exposed control parts and interaction states without native widget handles.",{"title":818,"path":819,"stem":820,"navigation":821,"description":823,"space":629,"icon":822,"docs":622,"redirect":622},"Color values","\u002Fstyling\u002Fcolors","4.styling\u002F04.colors",{"icon":822},"tabler:color-swatch","Write literal CSS colors and understand alpha and color-space limits.",{"title":825,"path":826,"stem":827,"navigation":828,"description":830,"space":629,"icon":829,"docs":622,"redirect":622},"Themes and responsiveness","\u002Fstyling\u002Fthemes-and-responsiveness","4.styling\u002F05.themes-and-responsiveness",{"icon":829},"tabler:sun-moon","Compile complete theme sheets and respond to logical viewport dimensions.",{"title":832,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":833,"stem":834,"children":835,"page":629},"Components","\u002Fcomponents","5.components",[836,843,850,857,864,871,878,885,892,899,906,913,920,927,934,941,948,955,961,967,973,975,982,989,995,1002,1009,1016,1022,1028,1035],{"title":837,"path":838,"stem":839,"navigation":840,"description":842,"space":629,"icon":841,"docs":622,"redirect":622},"AspectRatio","\u002Fcomponents\u002Faspect-ratio","5.components\u002Faspect-ratio",{"icon":841},"tabler:aspect-ratio","Size a container around a positive width-to-height ratio.",{"title":844,"path":845,"stem":846,"navigation":847,"description":849,"space":629,"icon":848,"docs":622,"redirect":622},"Badge","\u002Fcomponents\u002Fbadge","5.components\u002Fbadge",{"icon":848},"tabler:badge","Display a short status label.",{"title":851,"path":852,"stem":853,"navigation":854,"description":856,"space":629,"icon":855,"docs":622,"redirect":622},"Box","\u002Fcomponents\u002Fbox","5.components\u002Fbox",{"icon":855},"tabler:box","Create a physical vertical container.",{"title":858,"path":859,"stem":860,"navigation":861,"description":863,"space":629,"icon":862,"docs":622,"redirect":622},"Button","\u002Fcomponents\u002Fbutton","5.components\u002Fbutton",{"icon":862},"tabler:hand-click","Trigger an action from a labeled control.",{"title":865,"path":866,"stem":867,"navigation":868,"description":870,"space":629,"icon":869,"docs":622,"redirect":622},"Card","\u002Fcomponents\u002Fcard","5.components\u002Fcard",{"icon":869},"tabler:id","Group related child content in a surface.",{"title":872,"path":873,"stem":874,"navigation":875,"description":877,"space":629,"icon":876,"docs":622,"redirect":622},"Center","\u002Fcomponents\u002Fcenter","5.components\u002Fcenter",{"icon":876},"tabler:align-box-center-middle","Center a group within available free space.",{"title":879,"path":880,"stem":881,"navigation":882,"description":884,"space":629,"icon":883,"docs":622,"redirect":622},"Checkbox","\u002Fcomponents\u002Fcheckbox","5.components\u002Fcheckbox",{"icon":883},"tabler:checkbox","Control a labeled boolean choice.",{"title":886,"path":887,"stem":888,"navigation":889,"description":891,"space":629,"icon":890,"docs":622,"redirect":622},"Column","\u002Fcomponents\u002Fcolumn","5.components\u002Fcolumn",{"icon":890},"tabler:layout-list","Arrange child nodes vertically.",{"title":893,"path":894,"stem":895,"navigation":896,"description":898,"space":629,"icon":897,"docs":622,"redirect":622},"Container","\u002Fcomponents\u002Fcontainer","5.components\u002Fcontainer",{"icon":897},"tabler:container","Constrain and center a reading or application column.",{"title":900,"path":901,"stem":902,"navigation":903,"description":905,"space":629,"icon":904,"docs":622,"redirect":622},"Content reference","\u002Fcomponents\u002Fcontent-reference","5.components\u002Fcontent-reference",{"icon":904},"tabler:file-description","Compose cards, badges and separators with shared component descriptions.",{"title":907,"path":908,"stem":909,"navigation":910,"description":912,"space":629,"icon":911,"docs":622,"redirect":622},"Dialog","\u002Fcomponents\u002Fdialog","5.components\u002Fdialog",{"icon":911},"tabler:message","Show an egui-only modal prototype.",{"title":914,"path":915,"stem":916,"navigation":917,"description":919,"space":629,"icon":918,"docs":622,"redirect":622},"Flex","\u002Fcomponents\u002Fflex","5.components\u002Fflex",{"icon":918},"tabler:layout-distribute-horizontal","Choose a flexible layout direction and wrapping policy.",{"title":921,"path":922,"stem":923,"navigation":924,"description":926,"space":629,"icon":925,"docs":622,"redirect":622},"Grid","\u002Fcomponents\u002Fgrid","5.components\u002Fgrid",{"icon":925},"tabler:layout-grid","Arrange direct children in equal-width columns.",{"title":928,"path":929,"stem":930,"navigation":931,"description":933,"space":629,"icon":932,"docs":622,"redirect":622},"Heartbeat","\u002Fcomponents\u002Fheartbeat","5.components\u002Fheartbeat",{"icon":932},"tabler:heartbeat","Inspect an egui-only UI-thread animation diagnostic.",{"title":935,"path":936,"stem":937,"navigation":938,"description":940,"space":629,"icon":939,"docs":622,"redirect":622},"Input","\u002Fcomponents\u002Finput","5.components\u002Finput",{"icon":939},"tabler:forms","Edit a controlled single-line string.",{"title":942,"path":943,"stem":944,"navigation":945,"description":947,"space":629,"icon":946,"docs":622,"redirect":622},"Layout reference","\u002Fcomponents\u002Flayout-reference","5.components\u002Flayout-reference",{"icon":946},"tabler:layout-dashboard","Understand sizing, centering, spacing, flex, grid and aspect-ratio behavior.",{"title":949,"path":950,"stem":951,"navigation":952,"description":954,"space":629,"icon":953,"docs":622,"redirect":622},"Markdown","\u002Fcomponents\u002Fmarkdown","5.components\u002Fmarkdown",{"icon":953},"tabler:markdown","Render a subset of CommonMark through existing native components.",{"title":242,"path":956,"stem":957,"navigation":958,"description":960,"space":629,"icon":959,"docs":622,"redirect":622},"\u002Fcomponents\u002Fmeter","5.components\u002Fmeter",{"icon":959},"tabler:gauge","Show a finite measurement within explicit bounds.",{"title":962,"path":963,"stem":964,"navigation":965,"description":966,"space":629,"icon":717,"docs":622,"redirect":622},"Component catalogue","\u002Fcomponents\u002Foverview","5.components\u002Foverview",{"icon":717},"Choose a portable control or layout primitive and check its current API.",{"title":187,"path":968,"stem":969,"navigation":970,"description":972,"space":629,"icon":971,"docs":622,"redirect":622},"\u002Fcomponents\u002Fprogress","5.components\u002Fprogress",{"icon":971},"tabler:progress","Show a finite amount of completed work.",{"title":5,"path":627,"stem":630,"navigation":974,"description":621,"space":629,"icon":626,"docs":622,"redirect":622},{"icon":626},{"title":976,"path":977,"stem":978,"navigation":979,"description":981,"space":629,"icon":980,"docs":622,"redirect":622},"Row","\u002Fcomponents\u002Frow","5.components\u002Frow",{"icon":980},"tabler:columns","Arrange child nodes horizontally.",{"title":983,"path":984,"stem":985,"navigation":986,"description":988,"space":629,"icon":987,"docs":622,"redirect":622},"ScrollArea","\u002Fcomponents\u002Fscroll-area","5.components\u002Fscroll-area",{"icon":987},"tabler:arrows-vertical","Clip and scroll bounded child content.",{"title":990,"path":991,"stem":992,"navigation":993,"description":994,"space":629,"icon":987,"docs":622,"redirect":622},"Scrolling reference","\u002Fcomponents\u002Fscrolling-reference","5.components\u002Fscrolling-reference",{"icon":987},"Use viewport commands, observations, clipping and native input direction.",{"title":996,"path":997,"stem":998,"navigation":999,"description":1001,"space":629,"icon":1000,"docs":622,"redirect":622},"Select","\u002Fcomponents\u002Fselect","5.components\u002Fselect",{"icon":1000},"tabler:selector","Choose a controlled string value from options.",{"title":1003,"path":1004,"stem":1005,"navigation":1006,"description":1008,"space":629,"icon":1007,"docs":622,"redirect":622},"Separator","\u002Fcomponents\u002Fseparator","5.components\u002Fseparator",{"icon":1007},"tabler:separator","Draw a decorative divider.",{"title":1010,"path":1011,"stem":1012,"navigation":1013,"description":1015,"space":629,"icon":1014,"docs":622,"redirect":622},"Spacer","\u002Fcomponents\u002Fspacer","5.components\u002Fspacer",{"icon":1014},"tabler:space","Consume free main-axis space in a Row or Column.",{"title":100,"path":1017,"stem":1018,"navigation":1019,"description":1021,"space":629,"icon":1020,"docs":622,"redirect":622},"\u002Fcomponents\u002Fswitch","5.components\u002Fswitch",{"icon":1020},"tabler:toggle-left","Turn a labeled setting on or off.",{"title":1023,"path":1024,"stem":1025,"navigation":1026,"description":1027,"space":629,"icon":710,"docs":622,"redirect":622},"Text","\u002Fcomponents\u002Ftext","5.components\u002Ftext",{"icon":710},"Display text with shared shaping and glyph pixels.",{"title":1029,"path":1030,"stem":1031,"navigation":1032,"description":1034,"space":629,"icon":1033,"docs":622,"redirect":622},"TextArea","\u002Fcomponents\u002Ftext-area","5.components\u002Ftext-area",{"icon":1033},"tabler:align-left","Edit multiline text with wrapping and caret scrolling.",{"title":1036,"path":1037,"stem":1038,"navigation":1039,"description":1041,"space":629,"icon":1040,"docs":622,"redirect":622},"Text editing reference","\u002Fcomponents\u002Ftext-editing-reference","5.components\u002Ftext-editing-reference",{"icon":1040},"tabler:text-wrap","Choose single-line Input or multiline TextArea and bind controlled text.",{"title":1043,"navigation":635,"description":622,"space":629,"icon":622,"docs":622,"redirect":622,"path":1044,"stem":1045,"children":1046,"page":629},"Tooling and contribution","\u002Ftooling","6.tooling",[1047,1054,1061,1068,1075,1082],{"title":1048,"path":1049,"stem":1050,"navigation":1051,"description":1053,"space":629,"icon":1052,"docs":622,"redirect":622},"CLI","\u002Ftooling\u002Fcli","6.tooling\u002F01.cli",{"icon":1052},"tabler:terminal-2","Scaffold, validate and run applications through Cargo.",{"title":1055,"path":1056,"stem":1057,"navigation":1058,"description":1060,"space":629,"icon":1059,"docs":622,"redirect":622},"Contributing","\u002Ftooling\u002Fcontributing","6.tooling\u002F02.contributing",{"icon":1059},"tabler:git-pull-request","Keep modules focused, preserve backend boundaries and run the relevant checks.",{"title":1062,"path":1063,"stem":1064,"navigation":1065,"description":1067,"space":629,"icon":1066,"docs":622,"redirect":622},"Working on this website","\u002Ftooling\u002Fdocumentation","6.tooling\u002F03.documentation",{"icon":1066},"tabler:notebook","Run, edit, validate and export the Nuxt documentation site.",{"title":1069,"path":1070,"stem":1071,"navigation":1072,"description":1074,"space":629,"icon":1073,"docs":622,"redirect":622},"Troubleshooting","\u002Ftooling\u002Ftroubleshooting","6.tooling\u002F04.troubleshooting",{"icon":1073},"tabler:bug","Resolve common compiler, native build and editor setup problems.",{"title":1076,"path":1077,"stem":1078,"navigation":1079,"description":1081,"space":629,"icon":1080,"docs":622,"redirect":622},"Rust API reference","\u002Ftooling\u002Frust-api","6.tooling\u002F05.rust-api",{"icon":1080},"tabler:api","Find the public Rust types, build local rustdoc and inspect individual package APIs.",{"title":1083,"path":1084,"stem":1085,"navigation":1086,"description":1088,"space":629,"icon":1087,"docs":622,"redirect":622},"License and notices","\u002Ftooling\u002Flicense","6.tooling\u002F06.license",{"icon":1087},"tabler:scale","Understand the license for Inrux code and the notices retained for dependencies and fonts.",[1090,1099,1105,1117,1124,1157],{"title":634,"space":629,"redirect":622,"path":636,"stem":637,"children":1091,"page":629},[1092,1093,1094,1095,1096,1097,1098],{"title":640,"path":641,"stem":642,"space":629,"redirect":622,"icon":644},{"title":647,"path":648,"stem":649,"space":629,"redirect":622,"icon":651},{"title":654,"path":33,"stem":655,"space":629,"redirect":622,"icon":657},{"title":660,"path":661,"stem":662,"space":629,"redirect":622,"icon":664},{"title":667,"path":668,"stem":669,"space":629,"redirect":622,"icon":671},{"title":674,"path":675,"stem":676,"space":629,"redirect":622,"icon":678},{"title":681,"path":682,"stem":683,"space":629,"redirect":622,"icon":685},{"title":688,"space":629,"redirect":622,"path":689,"stem":690,"children":1100,"page":629},[1101,1102,1103,1104],{"title":688,"path":693,"stem":694,"space":629,"redirect":622,"icon":696},{"title":699,"path":700,"stem":701,"space":629,"redirect":622,"icon":703},{"title":706,"path":707,"stem":708,"space":629,"redirect":622,"icon":710},{"title":713,"path":714,"stem":715,"space":629,"redirect":622,"icon":717},{"title":720,"space":629,"redirect":622,"path":721,"stem":722,"children":1106,"page":629},[1107,1108,1109,1110,1111,1112,1113,1114,1115,1116],{"title":725,"path":726,"stem":727,"space":629,"redirect":622,"icon":729},{"title":732,"path":733,"stem":734,"space":629,"redirect":622,"icon":717},{"title":738,"path":739,"stem":740,"space":629,"redirect":622,"icon":742},{"title":745,"path":746,"stem":747,"space":629,"redirect":622,"icon":749},{"title":752,"path":753,"stem":754,"space":629,"redirect":622,"icon":756},{"title":759,"path":760,"stem":761,"space":629,"redirect":622,"icon":763},{"title":766,"path":767,"stem":768,"space":629,"redirect":622,"icon":770},{"title":773,"path":774,"stem":775,"space":629,"redirect":622,"icon":777},{"title":780,"path":781,"stem":782,"space":629,"redirect":622,"icon":784},{"title":787,"path":788,"stem":789,"space":629,"redirect":622,"icon":791},{"title":563,"space":629,"redirect":622,"path":794,"stem":795,"children":1118,"page":629},[1119,1120,1121,1122,1123],{"title":798,"path":799,"stem":800,"space":629,"redirect":622,"icon":802},{"title":805,"path":806,"stem":807,"space":629,"redirect":622,"icon":809},{"title":812,"path":602,"stem":813,"space":629,"redirect":622,"icon":815},{"title":818,"path":819,"stem":820,"space":629,"redirect":622,"icon":822},{"title":825,"path":826,"stem":827,"space":629,"redirect":622,"icon":829},{"title":832,"space":629,"redirect":622,"path":833,"stem":834,"children":1125,"page":629},[1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156],{"title":837,"path":838,"stem":839,"space":629,"redirect":622,"icon":841},{"title":844,"path":845,"stem":846,"space":629,"redirect":622,"icon":848},{"title":851,"path":852,"stem":853,"space":629,"redirect":622,"icon":855},{"title":858,"path":859,"stem":860,"space":629,"redirect":622,"icon":862},{"title":865,"path":866,"stem":867,"space":629,"redirect":622,"icon":869},{"title":872,"path":873,"stem":874,"space":629,"redirect":622,"icon":876},{"title":879,"path":880,"stem":881,"space":629,"redirect":622,"icon":883},{"title":886,"path":887,"stem":888,"space":629,"redirect":622,"icon":890},{"title":893,"path":894,"stem":895,"space":629,"redirect":622,"icon":897},{"title":900,"path":901,"stem":902,"space":629,"redirect":622,"icon":904},{"title":907,"path":908,"stem":909,"space":629,"redirect":622,"icon":911},{"title":914,"path":915,"stem":916,"space":629,"redirect":622,"icon":918},{"title":921,"path":922,"stem":923,"space":629,"redirect":622,"icon":925},{"title":928,"path":929,"stem":930,"space":629,"redirect":622,"icon":932},{"title":935,"path":936,"stem":937,"space":629,"redirect":622,"icon":939},{"title":942,"path":943,"stem":944,"space":629,"redirect":622,"icon":946},{"title":949,"path":950,"stem":951,"space":629,"redirect":622,"icon":953},{"title":242,"path":956,"stem":957,"space":629,"redirect":622,"icon":959},{"title":962,"path":963,"stem":964,"space":629,"redirect":622,"icon":717},{"title":187,"path":968,"stem":969,"space":629,"redirect":622,"icon":971},{"title":5,"path":627,"stem":630,"space":629,"redirect":622,"icon":626},{"title":976,"path":977,"stem":978,"space":629,"redirect":622,"icon":980},{"title":983,"path":984,"stem":985,"space":629,"redirect":622,"icon":987},{"title":990,"path":991,"stem":992,"space":629,"redirect":622,"icon":987},{"title":996,"path":997,"stem":998,"space":629,"redirect":622,"icon":1000},{"title":1003,"path":1004,"stem":1005,"space":629,"redirect":622,"icon":1007},{"title":1010,"path":1011,"stem":1012,"space":629,"redirect":622,"icon":1014},{"title":100,"path":1017,"stem":1018,"space":629,"redirect":622,"icon":1020},{"title":1023,"path":1024,"stem":1025,"space":629,"redirect":622,"icon":710},{"title":1029,"path":1030,"stem":1031,"space":629,"redirect":622,"icon":1033},{"title":1036,"path":1037,"stem":1038,"space":629,"redirect":622,"icon":1040},{"title":1043,"space":629,"redirect":622,"path":1044,"stem":1045,"children":1158,"page":629},[1159,1160,1161,1162,1163,1164],{"title":1048,"path":1049,"stem":1050,"space":629,"redirect":622,"icon":1052},{"title":1055,"path":1056,"stem":1057,"space":629,"redirect":622,"icon":1059},{"title":1062,"path":1063,"stem":1064,"space":629,"redirect":622,"icon":1066},{"title":1069,"path":1070,"stem":1071,"space":629,"redirect":622,"icon":1073},{"title":1076,"path":1077,"stem":1078,"space":629,"redirect":622,"icon":1080},{"title":1083,"path":1084,"stem":1085,"space":629,"redirect":622,"icon":1087},{"left":1166,"top":1166,"width":1167,"height":1167,"rotate":1166,"vFlip":629,"hFlip":629,"body":1168},0,24,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>","\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> switch \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">switch\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Automatic sync\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">into\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> enabled\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> events\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">model\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-oper\">|\u003C\u002Fspan>state\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> value\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">|\u003C\u002Fspan> state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>sync \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> value));\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> progress \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">progress\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Download progress\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">into\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> completed\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">100.0\u003C\u002Fspan>);\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> meter \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">meter\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Temperature\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">into\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> temperature\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">-\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">10.0\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">40.0\u003C\u002Fspan>);\n","\u003Cspan class=\"shj-syn-var\">.controls\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">accent-color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#705bea\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">16\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">12\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>; \u003Cspan class=\"shj-syn-cmnt\">\u002F* row, column *\u002F\u003C\u002Fspan>\n}\nProgress,\nMeter {\n    \u003Cspan class=\"shj-syn-var\">height\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">8\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#e4ebe7\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">border-radius\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">4\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n","\u003Cspan class=\"shj-syn-tag\">&lt;view\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-tag\">&lt;Column\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"example\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Switch\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">label\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Automatic sync\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">model:checked\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{sync} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Progress\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">label\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Download progress\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">value\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{completed} \u003Cspan class=\"shj-syn-attr\">max\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{100.0} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"range\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Meter\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">label\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Temperature\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">value\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{temperature} \u003Cspan class=\"shj-syn-attr\">min\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{-10.0} \u003Cspan class=\"shj-syn-attr\">max\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{40.0} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"range\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Text\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{format!(\u003Cspan class=\"shj-syn-str\">\"Sync: {} | Progress: {}% | Temperature: {} C\"\u003C\u002Fspan>, sync, completed, temperature)} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Row\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"actions\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Button\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Advance values\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{advance} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"action\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Button\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Reset\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{reset} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;\u002FRow\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-tag\">&lt;\u002FColumn\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fview\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;rust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-kwd\">use\u003C\u002Fspan> inrux\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>prelude\u003Cspan class=\"shj-syn-oper\">::*\u003C\u002Fspan>;\n\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> sync\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> bool \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-kwd\">false\u003C\u002Fspan>;\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> completed\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> f64 \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0.0\u003C\u002Fspan>;\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> temperature\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> f64 \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">20.0\u003C\u002Fspan>;\n\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F Keep values inside the finite ranges declared above.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">advance\u003C\u002Fspan>(state\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">mut\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Context\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>) {\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>completed \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> (state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>completed \u003Cspan class=\"shj-syn-oper\">+\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">10.0\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">min\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">100.0\u003C\u002Fspan>);\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>temperature \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> (state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>temperature \u003Cspan class=\"shj-syn-oper\">+\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">2.0\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">min\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">40.0\u003C\u002Fspan>);\n}\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F Restore the complete local state.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">reset\u003C\u002Fspan>(state\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">mut\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Context\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>) {\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>sync \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-kwd\">false\u003C\u002Fspan>;\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>completed \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0.0\u003C\u002Fspan>;\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>temperature \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">20.0\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Frust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;style\u003C\u002Fspan> scoped\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-var\">.example\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">24\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">16\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.actions\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">8\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#b84200\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">white\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">12\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">border-radius\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">6\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">:hover\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#913400\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">:focus-visible\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">border-width\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">2\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">border-color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#262626\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.range\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">height\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">16\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">accent-color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#b84200\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fstyle\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n",1794980347695]