[{"data":1,"prerenderedAt":710},["ShallowReactive",2],{"docs:\u002Fgetting-started\u002Ffirst-app":3,"docs-navigation:":168,"docs-locale-navigation":626,"i-tabler:chevron-down":702,"inrux-code-sfc:sh:cargo run -p inrux-cli -- new ..\u002Fhello-inrux --framework-path . --backend egui\ncd ..\u002Fhello-inrux\ncargo run\n":706,"inrux-code-sfc:rs:fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    inrux_compiler::build_app(\"src\u002FApp.iru\", std::env::var(\"OUT_DIR\")?)?;\n    Ok(())\n}\n":707,"inrux-code-sfc:sh:cargo check\ncargo run\n":708,"inrux-code-sfc:xml:\u003Cview>\n    \u003CColumn gap={16.0} padding={24.0}>\n        \u003CText text={format!(\"Count: {}\", count)} \u002F>\n        \u003CButton text=\"Increment\" @click={increment} \u002F>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet count: u32 = 0;\n\n\u002F\u002F\u002F Apply the click on the application coordinator.\nfn increment(state: &mut State, _: &Context\u003CState>) {\n    state.count += 1;\n}\n\u003C\u002Frust>\n":709},{"id":4,"title":5,"body":6,"description":157,"docs":158,"extension":159,"icon":158,"meta":160,"navigation":161,"path":163,"redirect":158,"seo":164,"space":165,"stem":166,"__hash__":167},"docs\u002F1.getting-started\u002F03.first-app.md","Your first application",{"type":7,"value":8,"toc":150},"minimark",[9,14,18,29,46,50,64,71,79,86,90,96,105,116,120,126,143],[10,11,13],"h2",{"id":12},"create-the-project","Create the project",[15,16,17],"p",{},"Run these commands from the Inrux checkout. The destination must not exist.",[19,20,26],"pre",{"className":21,"code":23,"language":24,"meta":25},[22],"language-sh","cargo run -p inrux-cli -- new ..\u002Fhello-inrux --framework-path . --backend egui\ncd ..\u002Fhello-inrux\ncargo run\n","sh","",[27,28,23],"code",{"__ignoreMap":25},[15,30,31,32,35,36,39,40,45],{},"The scaffold uses local path dependencies. Keep the Inrux checkout while using the generated project. You can choose ",[27,33,34],{},"masonry"," or ",[27,37,38],{},"gpui"," instead; review ",[41,42,44],"a",{"href":43},"\u002Fgetting-started\u002Finstallation","native prerequisites"," first.",[10,47,49],{"id":48},"find-the-entry-point","Find the entry point",[15,51,52,53,56,57,60,61,63],{},"Cargo starts ",[27,54,55],{},"src\u002Fmain.rs",". The generated entry point includes the compiler output, loads global styles and mounts ",[27,58,59],{},"App.iru",". ",[27,62,59],{}," is the root UI component, not the process entry point.",[15,65,66,67,70],{},"The scaffold's ",[27,68,69],{},"build.rs"," calls:",[19,72,77],{"className":73,"code":75,"filename":69,"language":76,"meta":25},[74],"language-rust","fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    inrux_compiler::build_app(\"src\u002FApp.iru\", std::env::var(\"OUT_DIR\")?)?;\n    Ok(())\n}\n","rust",[27,78,75],{"__ignoreMap":25},[15,80,81,82,85],{},"Cargo compiles the generated Rust and your ordinary modules together. Do not edit generated files under ",[27,83,84],{},"target\u002F",".",[10,87,89],{"id":88},"replace-the-root-with-a-counter","Replace the root with a counter",[15,91,92,93,95],{},"Use this complete ",[27,94,59],{}," in the generated project:",[19,97,103],{"className":98,"code":100,"filename":101,"language":102,"meta":25},[99],"language-xml","\u003Cview>\n    \u003CColumn gap={16.0} padding={24.0}>\n        \u003CText text={format!(\"Count: {}\", count)} \u002F>\n        \u003CButton text=\"Increment\" @click={increment} \u002F>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet count: u32 = 0;\n\n\u002F\u002F\u002F Apply the click on the application coordinator.\nfn increment(state: &mut State, _: &Context\u003CState>) {\n    state.count += 1;\n}\n\u003C\u002Frust>\n","src\u002FApp.iru","xml",[27,104,100],{"__ignoreMap":25},[15,106,107,108,111,112,115],{},"Clicking the button calls ",[27,109,110],{},"increment",". The handler updates ",[27,113,114],{},"count",", and Inrux publishes the updated component description. You do not write a render loop or an effect to copy this value into Text.",[10,117,119],{"id":118},"check-and-rebuild","Check and rebuild",[19,121,124],{"className":122,"code":123,"language":24,"meta":25},[22],"cargo check\ncargo run\n",[27,125,123],{"__ignoreMap":25},[15,127,128,129,133,134,138,139,142],{},"You can use ",[41,130,132],{"href":131},"\u002Ftooling\u002Fcli","the CLI"," for a rebuild\u002Frestart watcher. It restarts the application and loses in-memory state. Set up ",[41,135,137],{"href":136},"\u002Fgetting-started\u002Fvscode","VS Code"," for ",[27,140,141],{},".iru"," formatting, completion and navigation.",[15,144,145,146,85],{},"Next, extract a reusable component using the ",[41,147,149],{"href":148},"\u002Fauthoring\u002Fcomponent-contract","component contract",{"title":25,"searchDepth":151,"depth":151,"links":152},2,[153,154,155,156],{"id":12,"depth":151,"text":13},{"id":48,"depth":151,"text":49},{"id":88,"depth":151,"text":89},{"id":118,"depth":151,"text":119},"Create a project, mount App.iru and connect a button to local state.",null,"md",{},{"icon":162},"tabler:rocket","\u002Fgetting-started\u002Ffirst-app",{"title":5,"description":157},false,"1.getting-started\u002F03.first-app","gGAUqkE743CMRCaVr6xcayH0smlGJjWA4GyKBzpwwuI",[169,216,248,321,361,580],{"title":170,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":172,"stem":173,"children":174,"page":165},"Getting started",true,"\u002Fgetting-started","1.getting-started",[175,182,188,190,197,204,209],{"title":176,"path":177,"stem":178,"navigation":179,"description":181,"space":165,"icon":180,"docs":158,"redirect":158},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F01.introduction",{"icon":180},"tabler:book-2","Build native Rust interfaces with reusable .iru components.",{"title":183,"path":43,"stem":184,"navigation":185,"description":187,"space":165,"icon":186,"docs":158,"redirect":158},"Installation","1.getting-started\u002F02.installation",{"icon":186},"tabler:download","Install the native build tools, clone Inrux and run your first application.",{"title":5,"path":163,"stem":166,"navigation":189,"description":157,"space":165,"icon":162,"docs":158,"redirect":158},{"icon":162},{"title":191,"path":192,"stem":193,"navigation":194,"description":196,"space":165,"icon":195,"docs":158,"redirect":158},"Project structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F04.project-structure",{"icon":195},"tabler:folders","Find the framework crates, native examples, editor tools and application folders.",{"title":198,"path":199,"stem":200,"navigation":201,"description":203,"space":165,"icon":202,"docs":158,"redirect":158},"Playgrounds","\u002Fgetting-started\u002Fplaygrounds","1.getting-started\u002F05.playgrounds",{"icon":202},"tabler:device-desktop","Run the same component catalogue with egui, Masonry or GPUI.",{"title":137,"path":136,"stem":205,"navigation":206,"description":208,"space":165,"icon":207,"docs":158,"redirect":158},"1.getting-started\u002F06.vscode",{"icon":207},"tabler:code","Set up .iru icons, completion, formatting, navigation and Rust support.",{"title":210,"path":211,"stem":212,"navigation":213,"description":215,"space":165,"icon":214,"docs":158,"redirect":158},"Alpha status","\u002Fgetting-started\u002Fstatus","1.getting-started\u002F07.status",{"icon":214},"tabler:flask","Check what works today and which features still need implementation or platform testing.",{"title":217,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":218,"stem":219,"children":220,"page":165},"Architecture","\u002Finternals","2.internals",[221,227,234,241],{"title":217,"path":222,"stem":223,"navigation":224,"description":226,"space":165,"icon":225,"docs":158,"redirect":158},"\u002Finternals\u002Farchitecture","2.internals\u002F01.architecture",{"icon":225},"tabler:sitemap","Follow compilation, state ownership, threads and the native adapter boundary.",{"title":228,"path":229,"stem":230,"navigation":231,"description":233,"space":165,"icon":232,"docs":158,"redirect":158},"Adapter services","\u002Finternals\u002Fadapter-services","2.internals\u002F02.adapter-services",{"icon":232},"tabler:plug","Understand provider contracts, capabilities, fallback selection and component prerequisites.",{"title":235,"path":236,"stem":237,"navigation":238,"description":240,"space":165,"icon":239,"docs":158,"redirect":158},"Text rendering","\u002Finternals\u002Ftext-rendering","2.internals\u002F03.text-rendering",{"icon":239},"tabler:typography","Learn how shared shaping and glyph rasterization reduce differences between engines.",{"title":242,"path":243,"stem":244,"navigation":245,"description":247,"space":165,"icon":246,"docs":158,"redirect":158},"Headless components","\u002Finternals\u002Fheadless-components","2.internals\u002F04.headless-components",{"icon":246},"tabler:components","Separate interaction behavior from application appearance and themes.",{"title":249,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":250,"stem":251,"children":252,"page":165},"Writing components","\u002Fauthoring","3.authoring",[253,260,265,272,279,286,293,300,307,314],{"title":254,"path":255,"stem":256,"navigation":257,"description":259,"space":165,"icon":258,"docs":158,"redirect":158},"The .iru format","\u002Fauthoring\u002Firu-format","3.authoring\u002F01.iru-format",{"icon":258},"tabler:file-code","Learn what goes in a component file, why Inrux uses SFCs and when to move code out.",{"title":261,"path":148,"stem":262,"navigation":263,"description":264,"space":165,"icon":246,"docs":158,"redirect":158},"Component contract","3.authoring\u002F02.component-contract",{"icon":246},"Write imports, props, events, models, keyed children and component state.",{"title":266,"path":267,"stem":268,"navigation":269,"description":271,"space":165,"icon":270,"docs":158,"redirect":158},"Props, events and models","\u002Fauthoring\u002Fprops-events-models","3.authoring\u002F03.props-events-models",{"icon":270},"tabler:arrows-exchange","Pass values down, send typed events up and bind controlled values.",{"title":273,"path":274,"stem":275,"navigation":276,"description":278,"space":165,"icon":277,"docs":158,"redirect":158},"State and computed values","\u002Fauthoring\u002Fstate-and-computed","3.authoring\u002F04.state-and-computed",{"icon":277},"tabler:bolt","Update local fields, share reactive handles and derive cached values.",{"title":280,"path":281,"stem":282,"navigation":283,"description":285,"space":165,"icon":284,"docs":158,"redirect":158},"Conditions, lists and dynamic components","\u002Fauthoring\u002Fcontrol-flow","3.authoring\u002F05.control-flow",{"icon":284},"tabler:git-branch","Render branches, preserve list identity and select imported components.",{"title":287,"path":288,"stem":289,"navigation":290,"description":292,"space":165,"icon":291,"docs":158,"redirect":158},"Children and layouts","\u002Fauthoring\u002Fchildren-and-layouts","3.authoring\u002F06.children-and-layouts",{"icon":291},"tabler:layout","Pass default child content through reusable application shells.",{"title":294,"path":295,"stem":296,"navigation":297,"description":299,"space":165,"icon":298,"docs":158,"redirect":158},"Separating business logic","\u002Fauthoring\u002Fbusiness-logic","3.authoring\u002F07.business-logic",{"icon":298},"tabler:briefcase","Keep component interactions nearby and domain behavior reusable in Rust modules.",{"title":301,"path":302,"stem":303,"navigation":304,"description":306,"space":165,"icon":305,"docs":158,"redirect":158},"Lifecycle and refs","\u002Fauthoring\u002Flifecycle-and-refs","3.authoring\u002F08.lifecycle-and-refs",{"icon":305},"tabler:refresh","Understand setup, mount identity, cleanup and the limits of native refs.",{"title":308,"path":309,"stem":310,"navigation":311,"description":313,"space":165,"icon":312,"docs":158,"redirect":158},"Background tasks","\u002Fauthoring\u002Fbackground-tasks","3.authoring\u002F09.background-tasks",{"icon":312},"tabler:cpu","Run slow work outside the coordinator and return typed results to component state.",{"title":315,"path":316,"stem":317,"navigation":318,"description":320,"space":165,"icon":319,"docs":158,"redirect":158},"Provide and inject","\u002Fauthoring\u002Fdependency-injection","3.authoring\u002F10.dependency-injection",{"icon":319},"tabler:plug-connected","Share typed services through a component subtree without prop drilling.",{"title":322,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":323,"stem":324,"children":325,"page":165},"Styling","\u002Fstyling","4.styling",[326,333,340,347,354],{"title":327,"path":328,"stem":329,"navigation":330,"description":332,"space":165,"icon":331,"docs":158,"redirect":158},"Styling basics","\u002Fstyling\u002Foverview","4.styling\u002F01.overview",{"icon":331},"tabler:palette","Style headless components with CSS-like rules or Rust values.",{"title":334,"path":335,"stem":336,"navigation":337,"description":339,"space":165,"icon":338,"docs":158,"redirect":158},"CSS reference","\u002Fstyling\u002Fcss-reference","4.styling\u002F02.css-reference",{"icon":338},"tabler:file-type-css","Use the supported selectors, properties, cascade and compiled style rules.",{"title":341,"path":342,"stem":343,"navigation":344,"description":346,"space":165,"icon":345,"docs":158,"redirect":158},"Parts and states","\u002Fstyling\u002Fparts-and-states","4.styling\u002F03.parts-and-states",{"icon":345},"tabler:puzzle","Style exposed control parts and interaction states without native widget handles.",{"title":348,"path":349,"stem":350,"navigation":351,"description":353,"space":165,"icon":352,"docs":158,"redirect":158},"Color values","\u002Fstyling\u002Fcolors","4.styling\u002F04.colors",{"icon":352},"tabler:color-swatch","Write literal CSS colors and understand alpha and color-space limits.",{"title":355,"path":356,"stem":357,"navigation":358,"description":360,"space":165,"icon":359,"docs":158,"redirect":158},"Themes and responsiveness","\u002Fstyling\u002Fthemes-and-responsiveness","4.styling\u002F05.themes-and-responsiveness",{"icon":359},"tabler:sun-moon","Compile complete theme sheets and respond to logical viewport dimensions.",{"title":362,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":363,"stem":364,"children":365,"page":165},"Components","\u002Fcomponents","5.components",[366,373,380,387,394,401,408,415,422,429,436,443,450,457,464,471,478,485,492,498,505,512,519,526,532,539,546,553,560,566,573],{"title":367,"path":368,"stem":369,"navigation":370,"description":372,"space":165,"icon":371,"docs":158,"redirect":158},"AspectRatio","\u002Fcomponents\u002Faspect-ratio","5.components\u002Faspect-ratio",{"icon":371},"tabler:aspect-ratio","Size a container around a positive width-to-height ratio.",{"title":374,"path":375,"stem":376,"navigation":377,"description":379,"space":165,"icon":378,"docs":158,"redirect":158},"Badge","\u002Fcomponents\u002Fbadge","5.components\u002Fbadge",{"icon":378},"tabler:badge","Display a short status label.",{"title":381,"path":382,"stem":383,"navigation":384,"description":386,"space":165,"icon":385,"docs":158,"redirect":158},"Box","\u002Fcomponents\u002Fbox","5.components\u002Fbox",{"icon":385},"tabler:box","Create a physical vertical container.",{"title":388,"path":389,"stem":390,"navigation":391,"description":393,"space":165,"icon":392,"docs":158,"redirect":158},"Button","\u002Fcomponents\u002Fbutton","5.components\u002Fbutton",{"icon":392},"tabler:hand-click","Trigger an action from a labeled control.",{"title":395,"path":396,"stem":397,"navigation":398,"description":400,"space":165,"icon":399,"docs":158,"redirect":158},"Card","\u002Fcomponents\u002Fcard","5.components\u002Fcard",{"icon":399},"tabler:id","Group related child content in a surface.",{"title":402,"path":403,"stem":404,"navigation":405,"description":407,"space":165,"icon":406,"docs":158,"redirect":158},"Center","\u002Fcomponents\u002Fcenter","5.components\u002Fcenter",{"icon":406},"tabler:align-box-center-middle","Center a group within available free space.",{"title":409,"path":410,"stem":411,"navigation":412,"description":414,"space":165,"icon":413,"docs":158,"redirect":158},"Checkbox","\u002Fcomponents\u002Fcheckbox","5.components\u002Fcheckbox",{"icon":413},"tabler:checkbox","Control a labeled boolean choice.",{"title":416,"path":417,"stem":418,"navigation":419,"description":421,"space":165,"icon":420,"docs":158,"redirect":158},"Column","\u002Fcomponents\u002Fcolumn","5.components\u002Fcolumn",{"icon":420},"tabler:layout-list","Arrange child nodes vertically.",{"title":423,"path":424,"stem":425,"navigation":426,"description":428,"space":165,"icon":427,"docs":158,"redirect":158},"Container","\u002Fcomponents\u002Fcontainer","5.components\u002Fcontainer",{"icon":427},"tabler:container","Constrain and center a reading or application column.",{"title":430,"path":431,"stem":432,"navigation":433,"description":435,"space":165,"icon":434,"docs":158,"redirect":158},"Content reference","\u002Fcomponents\u002Fcontent-reference","5.components\u002Fcontent-reference",{"icon":434},"tabler:file-description","Compose cards, badges and separators with shared component descriptions.",{"title":437,"path":438,"stem":439,"navigation":440,"description":442,"space":165,"icon":441,"docs":158,"redirect":158},"Dialog","\u002Fcomponents\u002Fdialog","5.components\u002Fdialog",{"icon":441},"tabler:message","Show an egui-only modal prototype.",{"title":444,"path":445,"stem":446,"navigation":447,"description":449,"space":165,"icon":448,"docs":158,"redirect":158},"Flex","\u002Fcomponents\u002Fflex","5.components\u002Fflex",{"icon":448},"tabler:layout-distribute-horizontal","Choose a flexible layout direction and wrapping policy.",{"title":451,"path":452,"stem":453,"navigation":454,"description":456,"space":165,"icon":455,"docs":158,"redirect":158},"Grid","\u002Fcomponents\u002Fgrid","5.components\u002Fgrid",{"icon":455},"tabler:layout-grid","Arrange direct children in equal-width columns.",{"title":458,"path":459,"stem":460,"navigation":461,"description":463,"space":165,"icon":462,"docs":158,"redirect":158},"Heartbeat","\u002Fcomponents\u002Fheartbeat","5.components\u002Fheartbeat",{"icon":462},"tabler:heartbeat","Inspect an egui-only UI-thread animation diagnostic.",{"title":465,"path":466,"stem":467,"navigation":468,"description":470,"space":165,"icon":469,"docs":158,"redirect":158},"Input","\u002Fcomponents\u002Finput","5.components\u002Finput",{"icon":469},"tabler:forms","Edit a controlled single-line string.",{"title":472,"path":473,"stem":474,"navigation":475,"description":477,"space":165,"icon":476,"docs":158,"redirect":158},"Layout reference","\u002Fcomponents\u002Flayout-reference","5.components\u002Flayout-reference",{"icon":476},"tabler:layout-dashboard","Understand sizing, centering, spacing, flex, grid and aspect-ratio behavior.",{"title":479,"path":480,"stem":481,"navigation":482,"description":484,"space":165,"icon":483,"docs":158,"redirect":158},"Markdown","\u002Fcomponents\u002Fmarkdown","5.components\u002Fmarkdown",{"icon":483},"tabler:markdown","Render a subset of CommonMark through existing native components.",{"title":486,"path":487,"stem":488,"navigation":489,"description":491,"space":165,"icon":490,"docs":158,"redirect":158},"Meter","\u002Fcomponents\u002Fmeter","5.components\u002Fmeter",{"icon":490},"tabler:gauge","Show a finite measurement within explicit bounds.",{"title":493,"path":494,"stem":495,"navigation":496,"description":497,"space":165,"icon":246,"docs":158,"redirect":158},"Component catalogue","\u002Fcomponents\u002Foverview","5.components\u002Foverview",{"icon":246},"Choose a portable control or layout primitive and check its current API.",{"title":499,"path":500,"stem":501,"navigation":502,"description":504,"space":165,"icon":503,"docs":158,"redirect":158},"Progress","\u002Fcomponents\u002Fprogress","5.components\u002Fprogress",{"icon":503},"tabler:progress","Show a finite amount of completed work.",{"title":506,"path":507,"stem":508,"navigation":509,"description":511,"space":165,"icon":510,"docs":158,"redirect":158},"Boolean and range reference","\u002Fcomponents\u002Frange-reference","5.components\u002Frange-reference",{"icon":510},"tabler:adjustments-horizontal","Use controlled switches and validated progress and measurement ranges.",{"title":513,"path":514,"stem":515,"navigation":516,"description":518,"space":165,"icon":517,"docs":158,"redirect":158},"Row","\u002Fcomponents\u002Frow","5.components\u002Frow",{"icon":517},"tabler:columns","Arrange child nodes horizontally.",{"title":520,"path":521,"stem":522,"navigation":523,"description":525,"space":165,"icon":524,"docs":158,"redirect":158},"ScrollArea","\u002Fcomponents\u002Fscroll-area","5.components\u002Fscroll-area",{"icon":524},"tabler:arrows-vertical","Clip and scroll bounded child content.",{"title":527,"path":528,"stem":529,"navigation":530,"description":531,"space":165,"icon":524,"docs":158,"redirect":158},"Scrolling reference","\u002Fcomponents\u002Fscrolling-reference","5.components\u002Fscrolling-reference",{"icon":524},"Use viewport commands, observations, clipping and native input direction.",{"title":533,"path":534,"stem":535,"navigation":536,"description":538,"space":165,"icon":537,"docs":158,"redirect":158},"Select","\u002Fcomponents\u002Fselect","5.components\u002Fselect",{"icon":537},"tabler:selector","Choose a controlled string value from options.",{"title":540,"path":541,"stem":542,"navigation":543,"description":545,"space":165,"icon":544,"docs":158,"redirect":158},"Separator","\u002Fcomponents\u002Fseparator","5.components\u002Fseparator",{"icon":544},"tabler:separator","Draw a decorative divider.",{"title":547,"path":548,"stem":549,"navigation":550,"description":552,"space":165,"icon":551,"docs":158,"redirect":158},"Spacer","\u002Fcomponents\u002Fspacer","5.components\u002Fspacer",{"icon":551},"tabler:space","Consume free main-axis space in a Row or Column.",{"title":554,"path":555,"stem":556,"navigation":557,"description":559,"space":165,"icon":558,"docs":158,"redirect":158},"Switch","\u002Fcomponents\u002Fswitch","5.components\u002Fswitch",{"icon":558},"tabler:toggle-left","Turn a labeled setting on or off.",{"title":561,"path":562,"stem":563,"navigation":564,"description":565,"space":165,"icon":239,"docs":158,"redirect":158},"Text","\u002Fcomponents\u002Ftext","5.components\u002Ftext",{"icon":239},"Display text with shared shaping and glyph pixels.",{"title":567,"path":568,"stem":569,"navigation":570,"description":572,"space":165,"icon":571,"docs":158,"redirect":158},"TextArea","\u002Fcomponents\u002Ftext-area","5.components\u002Ftext-area",{"icon":571},"tabler:align-left","Edit multiline text with wrapping and caret scrolling.",{"title":574,"path":575,"stem":576,"navigation":577,"description":579,"space":165,"icon":578,"docs":158,"redirect":158},"Text editing reference","\u002Fcomponents\u002Ftext-editing-reference","5.components\u002Ftext-editing-reference",{"icon":578},"tabler:text-wrap","Choose single-line Input or multiline TextArea and bind controlled text.",{"title":581,"navigation":171,"description":158,"space":165,"icon":158,"docs":158,"redirect":158,"path":582,"stem":583,"children":584,"page":165},"Tooling and contribution","\u002Ftooling","6.tooling",[585,591,598,605,612,619],{"title":586,"path":131,"stem":587,"navigation":588,"description":590,"space":165,"icon":589,"docs":158,"redirect":158},"CLI","6.tooling\u002F01.cli",{"icon":589},"tabler:terminal-2","Scaffold, validate and run applications through Cargo.",{"title":592,"path":593,"stem":594,"navigation":595,"description":597,"space":165,"icon":596,"docs":158,"redirect":158},"Contributing","\u002Ftooling\u002Fcontributing","6.tooling\u002F02.contributing",{"icon":596},"tabler:git-pull-request","Keep modules focused, preserve backend boundaries and run the relevant checks.",{"title":599,"path":600,"stem":601,"navigation":602,"description":604,"space":165,"icon":603,"docs":158,"redirect":158},"Working on this website","\u002Ftooling\u002Fdocumentation","6.tooling\u002F03.documentation",{"icon":603},"tabler:notebook","Run, edit, validate and export the Nuxt documentation site.",{"title":606,"path":607,"stem":608,"navigation":609,"description":611,"space":165,"icon":610,"docs":158,"redirect":158},"Troubleshooting","\u002Ftooling\u002Ftroubleshooting","6.tooling\u002F04.troubleshooting",{"icon":610},"tabler:bug","Resolve common compiler, native build and editor setup problems.",{"title":613,"path":614,"stem":615,"navigation":616,"description":618,"space":165,"icon":617,"docs":158,"redirect":158},"Rust API reference","\u002Ftooling\u002Frust-api","6.tooling\u002F05.rust-api",{"icon":617},"tabler:api","Find the public Rust types, build local rustdoc and inspect individual package APIs.",{"title":620,"path":621,"stem":622,"navigation":623,"description":625,"space":165,"icon":624,"docs":158,"redirect":158},"License and notices","\u002Ftooling\u002Flicense","6.tooling\u002F06.license",{"icon":624},"tabler:scale","Understand the license for Inrux code and the notices retained for dependencies and fonts.",[627,636,642,654,661,694],{"title":170,"space":165,"redirect":158,"path":172,"stem":173,"children":628,"page":165},[629,630,631,632,633,634,635],{"title":176,"path":177,"stem":178,"space":165,"redirect":158,"icon":180},{"title":183,"path":43,"stem":184,"space":165,"redirect":158,"icon":186},{"title":5,"path":163,"stem":166,"space":165,"redirect":158,"icon":162},{"title":191,"path":192,"stem":193,"space":165,"redirect":158,"icon":195},{"title":198,"path":199,"stem":200,"space":165,"redirect":158,"icon":202},{"title":137,"path":136,"stem":205,"space":165,"redirect":158,"icon":207},{"title":210,"path":211,"stem":212,"space":165,"redirect":158,"icon":214},{"title":217,"space":165,"redirect":158,"path":218,"stem":219,"children":637,"page":165},[638,639,640,641],{"title":217,"path":222,"stem":223,"space":165,"redirect":158,"icon":225},{"title":228,"path":229,"stem":230,"space":165,"redirect":158,"icon":232},{"title":235,"path":236,"stem":237,"space":165,"redirect":158,"icon":239},{"title":242,"path":243,"stem":244,"space":165,"redirect":158,"icon":246},{"title":249,"space":165,"redirect":158,"path":250,"stem":251,"children":643,"page":165},[644,645,646,647,648,649,650,651,652,653],{"title":254,"path":255,"stem":256,"space":165,"redirect":158,"icon":258},{"title":261,"path":148,"stem":262,"space":165,"redirect":158,"icon":246},{"title":266,"path":267,"stem":268,"space":165,"redirect":158,"icon":270},{"title":273,"path":274,"stem":275,"space":165,"redirect":158,"icon":277},{"title":280,"path":281,"stem":282,"space":165,"redirect":158,"icon":284},{"title":287,"path":288,"stem":289,"space":165,"redirect":158,"icon":291},{"title":294,"path":295,"stem":296,"space":165,"redirect":158,"icon":298},{"title":301,"path":302,"stem":303,"space":165,"redirect":158,"icon":305},{"title":308,"path":309,"stem":310,"space":165,"redirect":158,"icon":312},{"title":315,"path":316,"stem":317,"space":165,"redirect":158,"icon":319},{"title":322,"space":165,"redirect":158,"path":323,"stem":324,"children":655,"page":165},[656,657,658,659,660],{"title":327,"path":328,"stem":329,"space":165,"redirect":158,"icon":331},{"title":334,"path":335,"stem":336,"space":165,"redirect":158,"icon":338},{"title":341,"path":342,"stem":343,"space":165,"redirect":158,"icon":345},{"title":348,"path":349,"stem":350,"space":165,"redirect":158,"icon":352},{"title":355,"path":356,"stem":357,"space":165,"redirect":158,"icon":359},{"title":362,"space":165,"redirect":158,"path":363,"stem":364,"children":662,"page":165},[663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693],{"title":367,"path":368,"stem":369,"space":165,"redirect":158,"icon":371},{"title":374,"path":375,"stem":376,"space":165,"redirect":158,"icon":378},{"title":381,"path":382,"stem":383,"space":165,"redirect":158,"icon":385},{"title":388,"path":389,"stem":390,"space":165,"redirect":158,"icon":392},{"title":395,"path":396,"stem":397,"space":165,"redirect":158,"icon":399},{"title":402,"path":403,"stem":404,"space":165,"redirect":158,"icon":406},{"title":409,"path":410,"stem":411,"space":165,"redirect":158,"icon":413},{"title":416,"path":417,"stem":418,"space":165,"redirect":158,"icon":420},{"title":423,"path":424,"stem":425,"space":165,"redirect":158,"icon":427},{"title":430,"path":431,"stem":432,"space":165,"redirect":158,"icon":434},{"title":437,"path":438,"stem":439,"space":165,"redirect":158,"icon":441},{"title":444,"path":445,"stem":446,"space":165,"redirect":158,"icon":448},{"title":451,"path":452,"stem":453,"space":165,"redirect":158,"icon":455},{"title":458,"path":459,"stem":460,"space":165,"redirect":158,"icon":462},{"title":465,"path":466,"stem":467,"space":165,"redirect":158,"icon":469},{"title":472,"path":473,"stem":474,"space":165,"redirect":158,"icon":476},{"title":479,"path":480,"stem":481,"space":165,"redirect":158,"icon":483},{"title":486,"path":487,"stem":488,"space":165,"redirect":158,"icon":490},{"title":493,"path":494,"stem":495,"space":165,"redirect":158,"icon":246},{"title":499,"path":500,"stem":501,"space":165,"redirect":158,"icon":503},{"title":506,"path":507,"stem":508,"space":165,"redirect":158,"icon":510},{"title":513,"path":514,"stem":515,"space":165,"redirect":158,"icon":517},{"title":520,"path":521,"stem":522,"space":165,"redirect":158,"icon":524},{"title":527,"path":528,"stem":529,"space":165,"redirect":158,"icon":524},{"title":533,"path":534,"stem":535,"space":165,"redirect":158,"icon":537},{"title":540,"path":541,"stem":542,"space":165,"redirect":158,"icon":544},{"title":547,"path":548,"stem":549,"space":165,"redirect":158,"icon":551},{"title":554,"path":555,"stem":556,"space":165,"redirect":158,"icon":558},{"title":561,"path":562,"stem":563,"space":165,"redirect":158,"icon":239},{"title":567,"path":568,"stem":569,"space":165,"redirect":158,"icon":571},{"title":574,"path":575,"stem":576,"space":165,"redirect":158,"icon":578},{"title":581,"space":165,"redirect":158,"path":582,"stem":583,"children":695,"page":165},[696,697,698,699,700,701],{"title":586,"path":131,"stem":587,"space":165,"redirect":158,"icon":589},{"title":592,"path":593,"stem":594,"space":165,"redirect":158,"icon":596},{"title":599,"path":600,"stem":601,"space":165,"redirect":158,"icon":603},{"title":606,"path":607,"stem":608,"space":165,"redirect":158,"icon":610},{"title":613,"path":614,"stem":615,"space":165,"redirect":158,"icon":617},{"title":620,"path":621,"stem":622,"space":165,"redirect":158,"icon":624},{"left":703,"top":703,"width":704,"height":704,"rotate":703,"vFlip":165,"hFlip":165,"body":705},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-func\">cargo\u003C\u002Fspan> run\u003Cspan class=\"shj-syn-kwd\"> -p\u003C\u002Fspan> inrux-cli -- new \u003Cspan class=\"shj-syn-oper\">..\u002Fhello-inrux\u003C\u002Fspan> --framework-path . --backend egui\n\u003Cspan class=\"shj-syn-func\">cd\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">..\u002Fhello-inrux\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-func\">cargo\u003C\u002Fspan> run\n","\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">main\u003C\u002Fspan>() \u003Cspan class=\"shj-syn-oper\">-&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Result\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Box\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">dyn\u003C\u002Fspan> std\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>error\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Error\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;&gt;\u003C\u002Fspan> {\n    inrux_compiler\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">build_app\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"src\u002FApp.iru\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> std\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>env\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">var\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"OUT_DIR\"\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">?\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">?\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-class\">Ok\u003C\u002Fspan>(())\n}\n","\u003Cspan class=\"shj-syn-func\">cargo\u003C\u002Fspan> check\n\u003Cspan class=\"shj-syn-func\">cargo\u003C\u002Fspan> run\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\">gap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{16.0} \u003Cspan class=\"shj-syn-attr\">padding\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{24.0}\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\">\"Count: {}\"\u003C\u002Fspan>, count)} \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\">\"Increment\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{increment} \u003Cspan class=\"shj-syn-oper\">\u002F\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> count\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> u32 \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0\u003C\u002Fspan>;\n\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F Apply the click on the application coordinator.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">increment\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>count \u003Cspan class=\"shj-syn-oper\">+=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">1\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Frust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n",1794980344777]