[{"data":1,"prerenderedAt":1391},["ShallowReactive",2],{"docs:\u002Fcomponents\u002Flayout-reference":3,"docs-navigation:":854,"docs-locale-navigation":1307,"i-tabler:chevron-down":1383,"inrux-code-sfc:rs:use inrux::prelude::*;\n\nfn panel() -> Node {\n    Node::box_container(vec![\n        Node::container(vec![\n            Node::row(vec![\n                Node::text(\"Workspace\".into()),\n                Node::spacer(),\n                Node::button(\"Save\".into(), None),\n            ]).styled(Style::new().gap(12.0)),\n        ]).styled(Style::new().max_width(Size::Px(800.0))),\n    ]).styled(Style::new().padding(24.0))\n}\n":1387,"inrux-code-sfc:xml:\u003CFlex direction={FlexDirection::Column} wrap={true} gap={12.0}>\n    \u003CText text=\"Flexible content\" \u002F>\n    \u003CButton text=\"Save\" @click={save} \u002F>\n\u003C\u002FFlex>\n\u003CGrid columns={3} gap={8.0}>\n    \u003CText text=\"First cell\" \u002F>\n    \u003CText text=\"Second cell\" \u002F>\n    \u003CText text=\"Third cell\" \u002F>\n    \u003CText text=\"Next row\" \u002F>\n\u003C\u002FGrid>\n\u003CAspectRatio ratio={16.0 \u002F 9.0} width={Size::Px(320.0)}>\n    \u003CCenter height={Size::Fill}>\u003CText text=\"Preview area\" \u002F>\u003C\u002FCenter>\n\u003C\u002FAspectRatio>\n":1388,"inrux-code-sfc:rs:use inrux::prelude::*;\n\nfn cells() -> Node {\n    Node::grid((1..=6).map(|number| Node::text(number.to_string())).collect())\n        .styled(Style::new().grid_columns(3).gap(8.0))\n}\n\nfn preview() -> Node {\n    Node::aspect_ratio(vec![])\n        .styled(Style::new().width(Size::Px(320.0)).aspect_ratio(16.0 \u002F 9.0))\n}\n":1389,"inrux-code-sfc:xml:\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CCheckbox label=\"Use a narrow container\" model:checked={narrow} \u002F>\n        \u003CBox class=\"surface\">\n            \u003CContainer style={Style::new().max_width(Size::Px(content_width.get().unwrap_or(640.0)))} class=\"sample\">\n                \u003CRow gap={12.0}>\n                    \u003CText text=\"Workspace\" width={Size::Content} \u002F>\n                    \u003CSpacer \u002F>\n                    \u003CButton text=\"Save\" @click={save} class=\"action\" \u002F>\n                \u003C\u002FRow>\n                \u003CCenter height={Size::Px(120.0)}>\n                    \u003CText text=\"Centered content\" width={Size::Content} \u002F>\n                \u003C\u002FCenter>\n                \u003CText text={format!(\"Save actions: {}\", saved)} \u002F>\n            \u003C\u002FContainer>\n        \u003C\u002FBox>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet narrow: Signal\u003Cbool> = Signal::new(false);\nlet content_width_narrow = narrow.clone();\nlet content_width: Computed\u003Cf32> = Computed::new(move || {\n    if content_width_narrow.get() {\n        320.0\n    } else {\n        640.0\n    }\n});\n\nlet saved: u32 = 0;\n\n\u002F\u002F\u002F Show that layout wrappers preserve ordinary button events.\nfn save(state: &mut State, _: &Context\u003CState>) {\n    state.saved += 1;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\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.surface {\n    padding: 16px;\n    background: #f5f5f5;\n}\n.sample {\n    padding: 16px;\n    gap: 12px;\n    background: #ffffff;\n}\n\u003C\u002Fstyle>\n":1390},{"id":4,"title":5,"body":6,"description":843,"docs":844,"extension":845,"icon":844,"meta":846,"navigation":847,"path":849,"redirect":844,"seo":850,"space":851,"stem":852,"__hash__":853},"docs\u002F5.components\u002Flayout-reference.md","Layout reference",{"type":7,"value":8,"toc":829},"minimark",[9,26,31,109,120,135,146,149,153,178,188,192,197,310,314,462,465,469,500,526,530,538,561,564,568,584,596,600,603,676,679,685,697,703,706,780,786,800,812,815],[10,11,12,13,17,18,21,22,25],"p",{},"Box, Container, Center, Spacer, Flex, Grid and AspectRatio are available through ",[14,15,16],"code",{},"inrux",", in Rust and ",[14,19,20],{},".iru",". They compose the existing Column primitive and work through all three current adapters. Each is a real physical node, not a transparent ",[14,23,24],{},"\u003Cview>"," group. Inspectors currently display the lowered Column primitive.",[27,28,30],"h2",{"id":29},"defaults-and-content","Defaults and content",[32,33,34,50],"table",{},[35,36,37],"thead",{},[38,39,40,44,47],"tr",{},[41,42,43],"th",{},"Component",[41,45,46],{},"Default behavior",[41,48,49],{},"Rust constructor",[51,52,53,67,80,93],"tbody",{},[38,54,55,59,62],{},[56,57,58],"td",{},"Box",[56,60,61],{},"Vertical, full available width, zero gap\u002Fpadding",[56,63,64],{},[14,65,66],{},"Node::box_container(children)",[38,68,69,72,75],{},[56,70,71],{},"Container",[56,73,74],{},"Box capped at 1200 logical pixels, horizontal automatic margins",[56,76,77],{},[14,78,79],{},"Node::container(children)",[38,81,82,85,88],{},[56,83,84],{},"Center",[56,86,87],{},"Box with centered main-axis and cross-axis alignment",[56,89,90],{},[14,91,92],{},"Node::center(children)",[38,94,95,98,104],{},[56,96,97],{},"Spacer",[56,99,100,101],{},"Childless zero-intrinsic-size Box with ",[14,102,103],{},"flex-grow: 1",[56,105,106],{},[14,107,108],{},"Node::spacer()",[10,110,111,112,115,116,119],{},"Box uses ",[14,113,114],{},"box_container"," in Rust to avoid confusion with ",[14,117,118],{},"std::boxed::Box",". Existing Row and Column remain the horizontal and vertical layout primitives. Text, Button, Input and Checkbox compose within these containers using the existing event\u002Fmodel contracts.",[10,121,122,123,126,127,130,131,134],{},"Container centers within its parent; use an outer Box for the application surface and gutters. The mounted root establishes the layout origin and has no parent to distribute margins. Padding is included in the constrained width. There are no implicit gutters. Override ",[14,124,125],{},"max-width"," through CSS or ",[14,128,129],{},"Style::max_width","; ",[14,132,133],{},"margin-inline: 0"," disables its automatic margins.",[10,136,137,138,141,142,145],{},"Center needs free space to center content. Set its height for vertical centering, and give a full-width child ",[14,139,140],{},"width: auto"," or a fixed width if it should center horizontally. Center does not change explicitly filled child dimensions. Multiple children form one centered vertical group; ",[14,143,144],{},"gap"," separates them.",[10,147,148],{},"Spacer consumes available parent main-axis space: width inside Row, height inside Column. A vertical Spacer needs a bounded parent height. Multiple spacers share free space according to their growth factors. They do not create extra space when no space remains, although parent gaps still apply. Spacer has no focus target, content, model or events.",[27,150,152],{"id":151},"usage","Usage",[10,154,155,156,159,160,165,166,169,170,173,174,177],{},"Replace ",[14,157,158],{},"src\u002FApp.iru"," in a ",[161,162,164],"a",{"href":163},"\u002Fgetting-started\u002Ffirst-app","scaffolded project"," with this complete file, then run ",[14,167,168],{},"cargo run",". Keep the scaffold's ",[14,171,172],{},"main.rs"," and ",[14,175,176],{},"build.rs","; the example includes its state, handlers and scoped styles.",[179,180,186],"pre",{"className":181,"code":183,"filename":158,"language":184,"meta":185},[182],"language-xml","\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CCheckbox label=\"Use a narrow container\" model:checked={narrow} \u002F>\n        \u003CBox class=\"surface\">\n            \u003CContainer style={Style::new().max_width(Size::Px(content_width.get().unwrap_or(640.0)))} class=\"sample\">\n                \u003CRow gap={12.0}>\n                    \u003CText text=\"Workspace\" width={Size::Content} \u002F>\n                    \u003CSpacer \u002F>\n                    \u003CButton text=\"Save\" @click={save} class=\"action\" \u002F>\n                \u003C\u002FRow>\n                \u003CCenter height={Size::Px(120.0)}>\n                    \u003CText text=\"Centered content\" width={Size::Content} \u002F>\n                \u003C\u002FCenter>\n                \u003CText text={format!(\"Save actions: {}\", saved)} \u002F>\n            \u003C\u002FContainer>\n        \u003C\u002FBox>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\nlet narrow: Signal\u003Cbool> = Signal::new(false);\nlet content_width_narrow = narrow.clone();\nlet content_width: Computed\u003Cf32> = Computed::new(move || {\n    if content_width_narrow.get() {\n        320.0\n    } else {\n        640.0\n    }\n});\n\nlet saved: u32 = 0;\n\n\u002F\u002F\u002F Show that layout wrappers preserve ordinary button events.\nfn save(state: &mut State, _: &Context\u003CState>) {\n    state.saved += 1;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\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.surface {\n    padding: 16px;\n    background: #f5f5f5;\n}\n.sample {\n    padding: 16px;\n    gap: 12px;\n    background: #ffffff;\n}\n\u003C\u002Fstyle>\n","xml","",[14,187,183],{"__ignoreMap":185},[27,189,191],{"id":190},"api-reference","API Reference",[193,194,196],"h3",{"id":195},"props","Props",[32,198,199,217],{},[35,200,201],{},[38,202,203,205,208,211,214],{},[41,204,43],{},[41,206,207],{},"Prop",[41,209,210],{},"Type",[41,212,213],{},"Default",[41,215,216],{},"Description",[51,218,219,242,264,287],{},[38,220,221,224,229,234,239],{},[56,222,223],{},"Flex",[56,225,226],{},[14,227,228],{},"direction",[56,230,231],{},[14,232,233],{},"FlexDirection",[56,235,236],{},[14,237,238],{},"FlexDirection::Row",[56,240,241],{},"Main-axis direction.",[38,243,244,246,251,256,261],{},[56,245,223],{},[56,247,248],{},[14,249,250],{},"wrap",[56,252,253],{},[14,254,255],{},"bool",[56,257,258],{},[14,259,260],{},"false",[56,262,263],{},"Allow children to wrap.",[38,265,266,269,274,279,284],{},[56,267,268],{},"Grid",[56,270,271],{},[14,272,273],{},"columns",[56,275,276],{},[14,277,278],{},"u16",[56,280,281],{},[14,282,283],{},"2",[56,285,286],{},"Equal-width column count; valid range is 1 through 256.",[38,288,289,292,297,302,307],{},[56,290,291],{},"AspectRatio",[56,293,294],{},[14,295,296],{},"ratio",[56,298,299],{},[14,300,301],{},"f32",[56,303,304],{},[14,305,306],{},"1.0",[56,308,309],{},"Finite positive width-to-height ratio; set a width or parent constraint.",[193,311,313],{"id":312},"common-props","Common props",[32,315,316,328],{},[35,317,318],{},[38,319,320,322,324,326],{},[41,321,207],{},[41,323,210],{},[41,325,213],{},[41,327,216],{},[51,329,330,348,364,381,397,415,431,447],{},[38,331,332,337,342,345],{},[56,333,334],{},[14,335,336],{},"id",[56,338,339],{},[14,340,341],{},"String-like expression",[56,343,344],{},"Not set",[56,346,347],{},"Style-selector identity; independent of retained mount identity.",[38,349,350,355,359,361],{},[56,351,352],{},[14,353,354],{},"class",[56,356,357],{},[14,358,341],{},[56,360,344],{},[56,362,363],{},"Whitespace-separated stylesheet classes.",[38,365,366,371,376,378],{},[56,367,368],{},[14,369,370],{},"style",[56,372,373],{},[14,374,375],{},"Style",[56,377,344],{},[56,379,380],{},"Explicit Rust style overrides for this node.",[38,382,383,388,392,394],{},[56,384,385],{},[14,386,387],{},"key",[56,389,390],{},[14,391,341],{},[56,393,344],{},[56,395,396],{},"Retained sibling identity; preserve it while reordering children.",[38,398,399,404,409,412],{},[56,400,401],{},[14,402,403],{},"width",[56,405,406],{},[14,407,408],{},"Size",[56,410,411],{},"Component style",[56,413,414],{},"Explicit width constraint; otherwise use the resolved style.",[38,416,417,422,426,428],{},[56,418,419],{},[14,420,421],{},"height",[56,423,424],{},[14,425,408],{},[56,427,411],{},[56,429,430],{},"Explicit height constraint; otherwise use the resolved style.",[38,432,433,438,442,444],{},[56,434,435],{},[14,436,437],{},"padding",[56,439,440],{},[14,441,301],{},[56,443,411],{},[56,445,446],{},"Uniform padding in logical pixels; otherwise use the resolved style.",[38,448,449,453,457,459],{},[56,450,451],{},[14,452,144],{},[56,454,455],{},[14,456,301],{},[56,458,411],{},[56,460,461],{},"Child spacing in logical pixels; otherwise use the resolved style.",[10,463,464],{},"“Component style” means the attribute is omitted and the normal style cascade supplies the value. Application styles can override framework defaults.",[193,466,468],{"id":467},"emits","Emits",[32,470,471,485],{},[35,472,473],{},[38,474,475,477,480,483],{},[41,476,43],{},[41,478,479],{},"Event",[41,481,482],{},"Payload",[41,484,216],{},[51,486,487],{},[38,488,489,492,495,497],{},[56,490,491],{},"All listed components",[56,493,494],{},"—",[56,496,494],{},[56,498,499],{},"No component events are emitted.",[10,501,502,503,505,506,505,508,505,510,505,512,505,514,173,516,518,519,521,522,525],{},"No application import is required for these built-in tags. Common ",[14,504,354],{},", ",[14,507,370],{},[14,509,387],{},[14,511,144],{},[14,513,437],{},[14,515,403],{},[14,517,421],{}," attributes work as on Row\u002FColumn. Sizes in Rust expressions use ",[14,520,408],{},"; CSS uses pixels, percentages or ",[14,523,524],{},"auto",". Unsupported props or children on Spacer produce source diagnostics.",[27,527,529],{"id":528},"rust-composition-and-styling","Rust composition and styling",[179,531,536],{"className":532,"code":534,"language":535,"meta":185},[533],"language-rust","use inrux::prelude::*;\n\nfn panel() -> Node {\n    Node::box_container(vec![\n        Node::container(vec![\n            Node::row(vec![\n                Node::text(\"Workspace\".into()),\n                Node::spacer(),\n                Node::button(\"Save\".into(), None),\n            ]).styled(Style::new().gap(12.0)),\n        ]).styled(Style::new().max_width(Size::Px(800.0))),\n    ]).styled(Style::new().padding(24.0))\n}\n","rust",[14,537,534],{"__ignoreMap":185},[10,539,540,541,544,545,548,549,544,552,130,555,544,557,560],{},"CSS ",[14,542,543],{},"flex-grow: 2"," equals ",[14,546,547],{},"Style::new().flex_grow(2.0)",". CSS ",[14,550,551],{},"margin-inline: auto",[14,553,554],{},".margin_inline_auto(true)",[14,556,133],{},[14,558,559],{},".margin_inline_auto(false)",". Growth must be finite and nonnegative, including through Rust. The margin subset deliberately supports only auto\u002Fzero in the current horizontal writing mode; arbitrary margins and RTL\u002Fwriting modes are not implemented. These are layout properties and cannot be set in paint-only interaction selectors.",[10,562,563],{},"Precedence is component defaults → global classes → scoped classes → matching interaction layers → explicit Rust\u002Ftemplate styles. The new defaults layer means a global Container class can replace its width cap. Typography still inherits, children retain their keys\u002Fevents\u002Fmount generations, and all validation runs through the common service boundary.",[27,565,567],{"id":566},"verification-and-limits","Verification and limits",[10,569,570,571,577,578,583],{},"The three independent applications use identical ",[161,572,576],{"href":573,"rel":574},"https:\u002F\u002Fgithub.com\u002Figris-labs\u002Finrux\u002Fblob\u002Fmain\u002Fplayground\u002Fegui\u002Fsrc\u002Fviews\u002FLayout.iru",[575],"nofollow","layout view source"," to demonstrate all four components under egui, Masonry and GPUI, with one bundled font and application logic. The ",[161,579,582],{"href":580,"rel":581},"https:\u002F\u002Fgithub.com\u002Figris-labs\u002Finrux\u002Fblob\u002Fmain\u002Fplayground\u002FREADME.md",[575],"playground catalogue"," provides interactive specimens. Layout contracts cover narrow\u002Fwide and padded containers, both centering axes, filled children, multiple\u002Fhorizontal\u002Fvertical spacers, exhausted space and CSS\u002FRust overrides. Compiler tests verify public tags and authored diagnostics; application tests preserve editing, events and background work.",[10,585,586,587,173,591,595],{},"These are structural components without new native resource lifecycles or independent accessibility roles. They expose no native widget refs; generation-safe focus\u002Fanimation refs await their service boundary. Width constraints and existing wrapping are usable now; viewport media queries and ScrollArea are supported; container queries, Stack layering, richer Grid and portable overlays remain separate work. See ",[161,588,590],{"href":589},"\u002Finternals\u002Fadapter-services#next-component-boundaries","component prerequisites",[161,592,594],{"href":593},"\u002Fgetting-started\u002Fstatus","alpha status",".",[27,597,599],{"id":598},"flex-grid-and-aspectratio","Flex, Grid and AspectRatio",[10,601,602],{},"Flex, Grid and AspectRatio are three additional physical components. Like Box, they compose Column descriptors and keep native engine types out of authoring code.",[32,604,605,618],{},[35,606,607],{},[38,608,609,611,613,615],{},[41,610,43],{},[41,612,213],{},[41,614,196],{},[41,616,617],{},"Rust",[51,619,620,640,658],{},[38,621,622,624,627,635],{},[56,623,223],{},[56,625,626],{},"Full-width horizontal flow, no wrap",[56,628,629,505,632],{},[14,630,631],{},"direction: FlexDirection",[14,633,634],{},"wrap: bool",[56,636,637],{},[14,638,639],{},"Node::flex(children)",[38,641,642,644,647,653],{},[56,643,268],{},[56,645,646],{},"Two equal-width columns; automatic rows",[56,648,649,652],{},[14,650,651],{},"columns: u16"," in 1..=256",[56,654,655],{},[14,656,657],{},"Node::grid(children)",[38,659,660,662,665,671],{},[56,661,291],{},[56,663,664],{},"Square, full width, automatic height",[56,666,667,670],{},[14,668,669],{},"ratio: f32",", finite and positive",[56,672,673],{},[14,674,675],{},"Node::aspect_ratio(children)",[10,677,678],{},"Common classes, keys, gap\u002Fpadding, dimensions and constraints apply. Component defaults remain below application classes; explicit props and Rust styles override them. None of these components owns a model or native focus target. Changing direction or column count updates geometry while preserving child identity and source order. Native input editing and button events retain their own contracts. No reverse-axis or visual order API is supplied.",[179,680,683],{"className":681,"code":682,"language":184,"meta":185},[182],"\u003CFlex direction={FlexDirection::Column} wrap={true} gap={12.0}>\n    \u003CText text=\"Flexible content\" \u002F>\n    \u003CButton text=\"Save\" @click={save} \u002F>\n\u003C\u002FFlex>\n\u003CGrid columns={3} gap={8.0}>\n    \u003CText text=\"First cell\" \u002F>\n    \u003CText text=\"Second cell\" \u002F>\n    \u003CText text=\"Third cell\" \u002F>\n    \u003CText text=\"Next row\" \u002F>\n\u003C\u002FGrid>\n\u003CAspectRatio ratio={16.0 \u002F 9.0} width={Size::Px(320.0)}>\n    \u003CCenter height={Size::Fill}>\u003CText text=\"Preview area\" \u002F>\u003C\u002FCenter>\n\u003C\u002FAspectRatio>\n",[14,684,682],{"__ignoreMap":185},[10,686,687,688,691,692,173,694,696],{},"These are inner view snippets; import ",[14,689,690],{},"inrux::prelude::*"," in the enclosing Rust block for ",[14,693,408],{},[14,695,233],{},", and define the Save handler. The component tags require no application component imports.",[179,698,701],{"className":699,"code":700,"language":535,"meta":185},[533],"use inrux::prelude::*;\n\nfn cells() -> Node {\n    Node::grid((1..=6).map(|number| Node::text(number.to_string())).collect())\n        .styled(Style::new().grid_columns(3).gap(8.0))\n}\n\nfn preview() -> Node {\n    Node::aspect_ratio(vec![])\n        .styled(Style::new().width(Size::Px(320.0)).aspect_ratio(16.0 \u002F 9.0))\n}\n",[14,702,700],{"__ignoreMap":185},[10,704,705],{},"CSS and Rust use one representation:",[32,707,708,717],{},[35,709,710],{},[38,711,712,715],{},[41,713,714],{},"CSS",[41,716,617],{},[51,718,719,738,756,768],{},[38,720,721,730],{},[56,722,723,726,727],{},[14,724,725],{},"display: flex"," \u002F ",[14,728,729],{},"display: grid",[56,731,732,726,735],{},[14,733,734],{},".display(Display::Flex)",[14,736,737],{},".display(Display::Grid)",[38,739,740,748],{},[56,741,742,726,745],{},[14,743,744],{},"flex-direction: row",[14,746,747],{},"column",[56,749,750,726,753],{},[14,751,752],{},".flex_direction(FlexDirection::Row)",[14,754,755],{},"Column",[38,757,758,763],{},[56,759,760],{},[14,761,762],{},"grid-template-columns: repeat(3, 1fr)",[56,764,765],{},[14,766,767],{},".grid_columns(3)",[38,769,770,775],{},[56,771,772],{},[14,773,774],{},"aspect-ratio: 16 \u002F 9",[56,776,777],{},[14,778,779],{},".aspect_ratio(16.0 \u002F 9.0)",[10,781,782,785],{},[14,783,784],{},"display"," currently accepts flex\u002Fgrid only. Grid columns accept only bounded integer repeats of 1fr. Tracks have zero minimum sizing under Inrux's current min-width policy, so intrinsic text cannot force unequal columns. Rows size to content and placement follows row-major source order. Unsupported track syntax is an error; weighted\u002Ffixed tracks, spans, named areas, dense placement, auto-fit\u002Ffill, subgrid and virtualization are not implemented. Too-wide content may overflow a cell; there is no implicit clipping or scrolling.",[10,787,788,789,792,793,173,796,799],{},"For repeated data, the Rust ",[14,790,791],{},"Node::grid(...collect())"," example supplies direct cells. The current compiler's ",[14,794,795],{},"\u003CFor>",[14,797,798],{},"\u003CIf>"," blocks create Column wrappers, so they contribute a grouped grid child rather than transparent cells. Transparent groups and attribute loops remain separate compiler work. Do not assume Vue's wrapper-free grouping already exists.",[10,801,802,803,807,808,811],{},"Ratios express ",[804,805,806],"strong",{},"width divided by height",". One automatic dimension follows the preferred ratio. Explicit width and height take precedence; min\u002Fmax constraints can constrain the result and may also limit the opposite dimension. Use ",[14,809,810],{},".width(Size::Content).height(Size::Px(100.0)).aspect_ratio(2.0)"," for height-driven sizing. Children remain ordinary flow content: a ratio container does not load, fit or crop media, clip overflow, or guarantee that oversized child content fits. Grid display and ratio sizing are currently supported on physical containers, with invalid leaf application diagnosed before layout. Geometry properties are rejected in paint-only interaction selectors.",[10,813,814],{},"All three adapters still select the same Taffy provider. A private zero-size Taffy child is used only for empty ratio containers to avoid Taffy 0.9's leaf path overriding explicit\u002Fmax heights; it adds no framework node, native widget, key, focus target or published child geometry. Custom providers must meet the same sizing\u002Fconformance contract. No native-layout substitution or performance improvement is inferred.",[10,816,817,818,823,824,828],{},"The ",[161,819,822],{"href":820,"rel":821},"https:\u002F\u002Fgithub.com\u002Figris-labs\u002Finrux\u002Fblob\u002Fmain\u002Fplayground\u002Fegui\u002Fsrc\u002Fviews\u002FLayoutMore.iru",[575],"More layout view",", copied into each independent engine app, demonstrates direction changes with a controlled input, two\u002Fthree columns, square\u002Flandscape ratio and normal button interaction. The ",[161,825,827],{"href":580,"rel":826},[575],"playground guide"," documents running each app.",{"title":185,"searchDepth":830,"depth":830,"links":831},2,[832,833,834,840,841,842],{"id":29,"depth":830,"text":30},{"id":151,"depth":830,"text":152},{"id":190,"depth":830,"text":191,"children":835},[836,838,839],{"id":195,"depth":837,"text":196},3,{"id":312,"depth":837,"text":313},{"id":467,"depth":837,"text":468},{"id":528,"depth":830,"text":529},{"id":566,"depth":830,"text":567},{"id":598,"depth":830,"text":599},"Understand sizing, centering, spacing, flex, grid and aspect-ratio behavior.",null,"md",{},{"icon":848},"tabler:layout-dashboard","\u002Fcomponents\u002Flayout-reference",{"title":5,"description":843},false,"5.components\u002Flayout-reference","YdibcrjQKQl7Hn05cMkPhuPuQV431ydHRsV4qjUwKLo",[855,908,940,1014,1054,1260],{"title":856,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":858,"stem":859,"children":860,"page":851},"Getting started",true,"\u002Fgetting-started","1.getting-started",[861,868,875,881,888,895,902],{"title":862,"path":863,"stem":864,"navigation":865,"description":867,"space":851,"icon":866,"docs":844,"redirect":844},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F01.introduction",{"icon":866},"tabler:book-2","Build native Rust interfaces with reusable .iru components.",{"title":869,"path":870,"stem":871,"navigation":872,"description":874,"space":851,"icon":873,"docs":844,"redirect":844},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F02.installation",{"icon":873},"tabler:download","Install the native build tools, clone Inrux and run your first application.",{"title":876,"path":163,"stem":877,"navigation":878,"description":880,"space":851,"icon":879,"docs":844,"redirect":844},"Your first application","1.getting-started\u002F03.first-app",{"icon":879},"tabler:rocket","Create a project, mount App.iru and connect a button to local state.",{"title":882,"path":883,"stem":884,"navigation":885,"description":887,"space":851,"icon":886,"docs":844,"redirect":844},"Project structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F04.project-structure",{"icon":886},"tabler:folders","Find the framework crates, native examples, editor tools and application folders.",{"title":889,"path":890,"stem":891,"navigation":892,"description":894,"space":851,"icon":893,"docs":844,"redirect":844},"Playgrounds","\u002Fgetting-started\u002Fplaygrounds","1.getting-started\u002F05.playgrounds",{"icon":893},"tabler:device-desktop","Run the same component catalogue with egui, Masonry or GPUI.",{"title":896,"path":897,"stem":898,"navigation":899,"description":901,"space":851,"icon":900,"docs":844,"redirect":844},"VS Code","\u002Fgetting-started\u002Fvscode","1.getting-started\u002F06.vscode",{"icon":900},"tabler:code","Set up .iru icons, completion, formatting, navigation and Rust support.",{"title":903,"path":593,"stem":904,"navigation":905,"description":907,"space":851,"icon":906,"docs":844,"redirect":844},"Alpha status","1.getting-started\u002F07.status",{"icon":906},"tabler:flask","Check what works today and which features still need implementation or platform testing.",{"title":909,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":910,"stem":911,"children":912,"page":851},"Architecture","\u002Finternals","2.internals",[913,919,926,933],{"title":909,"path":914,"stem":915,"navigation":916,"description":918,"space":851,"icon":917,"docs":844,"redirect":844},"\u002Finternals\u002Farchitecture","2.internals\u002F01.architecture",{"icon":917},"tabler:sitemap","Follow compilation, state ownership, threads and the native adapter boundary.",{"title":920,"path":921,"stem":922,"navigation":923,"description":925,"space":851,"icon":924,"docs":844,"redirect":844},"Adapter services","\u002Finternals\u002Fadapter-services","2.internals\u002F02.adapter-services",{"icon":924},"tabler:plug","Understand provider contracts, capabilities, fallback selection and component prerequisites.",{"title":927,"path":928,"stem":929,"navigation":930,"description":932,"space":851,"icon":931,"docs":844,"redirect":844},"Text rendering","\u002Finternals\u002Ftext-rendering","2.internals\u002F03.text-rendering",{"icon":931},"tabler:typography","Learn how shared shaping and glyph rasterization reduce differences between engines.",{"title":934,"path":935,"stem":936,"navigation":937,"description":939,"space":851,"icon":938,"docs":844,"redirect":844},"Headless components","\u002Finternals\u002Fheadless-components","2.internals\u002F04.headless-components",{"icon":938},"tabler:components","Separate interaction behavior from application appearance and themes.",{"title":941,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":942,"stem":943,"children":944,"page":851},"Writing components","\u002Fauthoring","3.authoring",[945,952,958,965,972,979,986,993,1000,1007],{"title":946,"path":947,"stem":948,"navigation":949,"description":951,"space":851,"icon":950,"docs":844,"redirect":844},"The .iru format","\u002Fauthoring\u002Firu-format","3.authoring\u002F01.iru-format",{"icon":950},"tabler:file-code","Learn what goes in a component file, why Inrux uses SFCs and when to move code out.",{"title":953,"path":954,"stem":955,"navigation":956,"description":957,"space":851,"icon":938,"docs":844,"redirect":844},"Component contract","\u002Fauthoring\u002Fcomponent-contract","3.authoring\u002F02.component-contract",{"icon":938},"Write imports, props, events, models, keyed children and component state.",{"title":959,"path":960,"stem":961,"navigation":962,"description":964,"space":851,"icon":963,"docs":844,"redirect":844},"Props, events and models","\u002Fauthoring\u002Fprops-events-models","3.authoring\u002F03.props-events-models",{"icon":963},"tabler:arrows-exchange","Pass values down, send typed events up and bind controlled values.",{"title":966,"path":967,"stem":968,"navigation":969,"description":971,"space":851,"icon":970,"docs":844,"redirect":844},"State and computed values","\u002Fauthoring\u002Fstate-and-computed","3.authoring\u002F04.state-and-computed",{"icon":970},"tabler:bolt","Update local fields, share reactive handles and derive cached values.",{"title":973,"path":974,"stem":975,"navigation":976,"description":978,"space":851,"icon":977,"docs":844,"redirect":844},"Conditions, lists and dynamic components","\u002Fauthoring\u002Fcontrol-flow","3.authoring\u002F05.control-flow",{"icon":977},"tabler:git-branch","Render branches, preserve list identity and select imported components.",{"title":980,"path":981,"stem":982,"navigation":983,"description":985,"space":851,"icon":984,"docs":844,"redirect":844},"Children and layouts","\u002Fauthoring\u002Fchildren-and-layouts","3.authoring\u002F06.children-and-layouts",{"icon":984},"tabler:layout","Pass default child content through reusable application shells.",{"title":987,"path":988,"stem":989,"navigation":990,"description":992,"space":851,"icon":991,"docs":844,"redirect":844},"Separating business logic","\u002Fauthoring\u002Fbusiness-logic","3.authoring\u002F07.business-logic",{"icon":991},"tabler:briefcase","Keep component interactions nearby and domain behavior reusable in Rust modules.",{"title":994,"path":995,"stem":996,"navigation":997,"description":999,"space":851,"icon":998,"docs":844,"redirect":844},"Lifecycle and refs","\u002Fauthoring\u002Flifecycle-and-refs","3.authoring\u002F08.lifecycle-and-refs",{"icon":998},"tabler:refresh","Understand setup, mount identity, cleanup and the limits of native refs.",{"title":1001,"path":1002,"stem":1003,"navigation":1004,"description":1006,"space":851,"icon":1005,"docs":844,"redirect":844},"Background tasks","\u002Fauthoring\u002Fbackground-tasks","3.authoring\u002F09.background-tasks",{"icon":1005},"tabler:cpu","Run slow work outside the coordinator and return typed results to component state.",{"title":1008,"path":1009,"stem":1010,"navigation":1011,"description":1013,"space":851,"icon":1012,"docs":844,"redirect":844},"Provide and inject","\u002Fauthoring\u002Fdependency-injection","3.authoring\u002F10.dependency-injection",{"icon":1012},"tabler:plug-connected","Share typed services through a component subtree without prop drilling.",{"title":1015,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":1016,"stem":1017,"children":1018,"page":851},"Styling","\u002Fstyling","4.styling",[1019,1026,1033,1040,1047],{"title":1020,"path":1021,"stem":1022,"navigation":1023,"description":1025,"space":851,"icon":1024,"docs":844,"redirect":844},"Styling basics","\u002Fstyling\u002Foverview","4.styling\u002F01.overview",{"icon":1024},"tabler:palette","Style headless components with CSS-like rules or Rust values.",{"title":1027,"path":1028,"stem":1029,"navigation":1030,"description":1032,"space":851,"icon":1031,"docs":844,"redirect":844},"CSS reference","\u002Fstyling\u002Fcss-reference","4.styling\u002F02.css-reference",{"icon":1031},"tabler:file-type-css","Use the supported selectors, properties, cascade and compiled style rules.",{"title":1034,"path":1035,"stem":1036,"navigation":1037,"description":1039,"space":851,"icon":1038,"docs":844,"redirect":844},"Parts and states","\u002Fstyling\u002Fparts-and-states","4.styling\u002F03.parts-and-states",{"icon":1038},"tabler:puzzle","Style exposed control parts and interaction states without native widget handles.",{"title":1041,"path":1042,"stem":1043,"navigation":1044,"description":1046,"space":851,"icon":1045,"docs":844,"redirect":844},"Color values","\u002Fstyling\u002Fcolors","4.styling\u002F04.colors",{"icon":1045},"tabler:color-swatch","Write literal CSS colors and understand alpha and color-space limits.",{"title":1048,"path":1049,"stem":1050,"navigation":1051,"description":1053,"space":851,"icon":1052,"docs":844,"redirect":844},"Themes and responsiveness","\u002Fstyling\u002Fthemes-and-responsiveness","4.styling\u002F05.themes-and-responsiveness",{"icon":1052},"tabler:sun-moon","Compile complete theme sheets and respond to logical viewport dimensions.",{"title":1055,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":1056,"stem":1057,"children":1058,"page":851},"Components","\u002Fcomponents","5.components",[1059,1065,1072,1078,1085,1092,1098,1105,1111,1117,1124,1131,1137,1143,1150,1157,1159,1166,1173,1179,1186,1193,1200,1207,1213,1220,1227,1233,1240,1246,1253],{"title":291,"path":1060,"stem":1061,"navigation":1062,"description":1064,"space":851,"icon":1063,"docs":844,"redirect":844},"\u002Fcomponents\u002Faspect-ratio","5.components\u002Faspect-ratio",{"icon":1063},"tabler:aspect-ratio","Size a container around a positive width-to-height ratio.",{"title":1066,"path":1067,"stem":1068,"navigation":1069,"description":1071,"space":851,"icon":1070,"docs":844,"redirect":844},"Badge","\u002Fcomponents\u002Fbadge","5.components\u002Fbadge",{"icon":1070},"tabler:badge","Display a short status label.",{"title":58,"path":1073,"stem":1074,"navigation":1075,"description":1077,"space":851,"icon":1076,"docs":844,"redirect":844},"\u002Fcomponents\u002Fbox","5.components\u002Fbox",{"icon":1076},"tabler:box","Create a physical vertical container.",{"title":1079,"path":1080,"stem":1081,"navigation":1082,"description":1084,"space":851,"icon":1083,"docs":844,"redirect":844},"Button","\u002Fcomponents\u002Fbutton","5.components\u002Fbutton",{"icon":1083},"tabler:hand-click","Trigger an action from a labeled control.",{"title":1086,"path":1087,"stem":1088,"navigation":1089,"description":1091,"space":851,"icon":1090,"docs":844,"redirect":844},"Card","\u002Fcomponents\u002Fcard","5.components\u002Fcard",{"icon":1090},"tabler:id","Group related child content in a surface.",{"title":84,"path":1093,"stem":1094,"navigation":1095,"description":1097,"space":851,"icon":1096,"docs":844,"redirect":844},"\u002Fcomponents\u002Fcenter","5.components\u002Fcenter",{"icon":1096},"tabler:align-box-center-middle","Center a group within available free space.",{"title":1099,"path":1100,"stem":1101,"navigation":1102,"description":1104,"space":851,"icon":1103,"docs":844,"redirect":844},"Checkbox","\u002Fcomponents\u002Fcheckbox","5.components\u002Fcheckbox",{"icon":1103},"tabler:checkbox","Control a labeled boolean choice.",{"title":755,"path":1106,"stem":1107,"navigation":1108,"description":1110,"space":851,"icon":1109,"docs":844,"redirect":844},"\u002Fcomponents\u002Fcolumn","5.components\u002Fcolumn",{"icon":1109},"tabler:layout-list","Arrange child nodes vertically.",{"title":71,"path":1112,"stem":1113,"navigation":1114,"description":1116,"space":851,"icon":1115,"docs":844,"redirect":844},"\u002Fcomponents\u002Fcontainer","5.components\u002Fcontainer",{"icon":1115},"tabler:container","Constrain and center a reading or application column.",{"title":1118,"path":1119,"stem":1120,"navigation":1121,"description":1123,"space":851,"icon":1122,"docs":844,"redirect":844},"Content reference","\u002Fcomponents\u002Fcontent-reference","5.components\u002Fcontent-reference",{"icon":1122},"tabler:file-description","Compose cards, badges and separators with shared component descriptions.",{"title":1125,"path":1126,"stem":1127,"navigation":1128,"description":1130,"space":851,"icon":1129,"docs":844,"redirect":844},"Dialog","\u002Fcomponents\u002Fdialog","5.components\u002Fdialog",{"icon":1129},"tabler:message","Show an egui-only modal prototype.",{"title":223,"path":1132,"stem":1133,"navigation":1134,"description":1136,"space":851,"icon":1135,"docs":844,"redirect":844},"\u002Fcomponents\u002Fflex","5.components\u002Fflex",{"icon":1135},"tabler:layout-distribute-horizontal","Choose a flexible layout direction and wrapping policy.",{"title":268,"path":1138,"stem":1139,"navigation":1140,"description":1142,"space":851,"icon":1141,"docs":844,"redirect":844},"\u002Fcomponents\u002Fgrid","5.components\u002Fgrid",{"icon":1141},"tabler:layout-grid","Arrange direct children in equal-width columns.",{"title":1144,"path":1145,"stem":1146,"navigation":1147,"description":1149,"space":851,"icon":1148,"docs":844,"redirect":844},"Heartbeat","\u002Fcomponents\u002Fheartbeat","5.components\u002Fheartbeat",{"icon":1148},"tabler:heartbeat","Inspect an egui-only UI-thread animation diagnostic.",{"title":1151,"path":1152,"stem":1153,"navigation":1154,"description":1156,"space":851,"icon":1155,"docs":844,"redirect":844},"Input","\u002Fcomponents\u002Finput","5.components\u002Finput",{"icon":1155},"tabler:forms","Edit a controlled single-line string.",{"title":5,"path":849,"stem":852,"navigation":1158,"description":843,"space":851,"icon":848,"docs":844,"redirect":844},{"icon":848},{"title":1160,"path":1161,"stem":1162,"navigation":1163,"description":1165,"space":851,"icon":1164,"docs":844,"redirect":844},"Markdown","\u002Fcomponents\u002Fmarkdown","5.components\u002Fmarkdown",{"icon":1164},"tabler:markdown","Render a subset of CommonMark through existing native components.",{"title":1167,"path":1168,"stem":1169,"navigation":1170,"description":1172,"space":851,"icon":1171,"docs":844,"redirect":844},"Meter","\u002Fcomponents\u002Fmeter","5.components\u002Fmeter",{"icon":1171},"tabler:gauge","Show a finite measurement within explicit bounds.",{"title":1174,"path":1175,"stem":1176,"navigation":1177,"description":1178,"space":851,"icon":938,"docs":844,"redirect":844},"Component catalogue","\u002Fcomponents\u002Foverview","5.components\u002Foverview",{"icon":938},"Choose a portable control or layout primitive and check its current API.",{"title":1180,"path":1181,"stem":1182,"navigation":1183,"description":1185,"space":851,"icon":1184,"docs":844,"redirect":844},"Progress","\u002Fcomponents\u002Fprogress","5.components\u002Fprogress",{"icon":1184},"tabler:progress","Show a finite amount of completed work.",{"title":1187,"path":1188,"stem":1189,"navigation":1190,"description":1192,"space":851,"icon":1191,"docs":844,"redirect":844},"Boolean and range reference","\u002Fcomponents\u002Frange-reference","5.components\u002Frange-reference",{"icon":1191},"tabler:adjustments-horizontal","Use controlled switches and validated progress and measurement ranges.",{"title":1194,"path":1195,"stem":1196,"navigation":1197,"description":1199,"space":851,"icon":1198,"docs":844,"redirect":844},"Row","\u002Fcomponents\u002Frow","5.components\u002Frow",{"icon":1198},"tabler:columns","Arrange child nodes horizontally.",{"title":1201,"path":1202,"stem":1203,"navigation":1204,"description":1206,"space":851,"icon":1205,"docs":844,"redirect":844},"ScrollArea","\u002Fcomponents\u002Fscroll-area","5.components\u002Fscroll-area",{"icon":1205},"tabler:arrows-vertical","Clip and scroll bounded child content.",{"title":1208,"path":1209,"stem":1210,"navigation":1211,"description":1212,"space":851,"icon":1205,"docs":844,"redirect":844},"Scrolling reference","\u002Fcomponents\u002Fscrolling-reference","5.components\u002Fscrolling-reference",{"icon":1205},"Use viewport commands, observations, clipping and native input direction.",{"title":1214,"path":1215,"stem":1216,"navigation":1217,"description":1219,"space":851,"icon":1218,"docs":844,"redirect":844},"Select","\u002Fcomponents\u002Fselect","5.components\u002Fselect",{"icon":1218},"tabler:selector","Choose a controlled string value from options.",{"title":1221,"path":1222,"stem":1223,"navigation":1224,"description":1226,"space":851,"icon":1225,"docs":844,"redirect":844},"Separator","\u002Fcomponents\u002Fseparator","5.components\u002Fseparator",{"icon":1225},"tabler:separator","Draw a decorative divider.",{"title":97,"path":1228,"stem":1229,"navigation":1230,"description":1232,"space":851,"icon":1231,"docs":844,"redirect":844},"\u002Fcomponents\u002Fspacer","5.components\u002Fspacer",{"icon":1231},"tabler:space","Consume free main-axis space in a Row or Column.",{"title":1234,"path":1235,"stem":1236,"navigation":1237,"description":1239,"space":851,"icon":1238,"docs":844,"redirect":844},"Switch","\u002Fcomponents\u002Fswitch","5.components\u002Fswitch",{"icon":1238},"tabler:toggle-left","Turn a labeled setting on or off.",{"title":1241,"path":1242,"stem":1243,"navigation":1244,"description":1245,"space":851,"icon":931,"docs":844,"redirect":844},"Text","\u002Fcomponents\u002Ftext","5.components\u002Ftext",{"icon":931},"Display text with shared shaping and glyph pixels.",{"title":1247,"path":1248,"stem":1249,"navigation":1250,"description":1252,"space":851,"icon":1251,"docs":844,"redirect":844},"TextArea","\u002Fcomponents\u002Ftext-area","5.components\u002Ftext-area",{"icon":1251},"tabler:align-left","Edit multiline text with wrapping and caret scrolling.",{"title":1254,"path":1255,"stem":1256,"navigation":1257,"description":1259,"space":851,"icon":1258,"docs":844,"redirect":844},"Text editing reference","\u002Fcomponents\u002Ftext-editing-reference","5.components\u002Ftext-editing-reference",{"icon":1258},"tabler:text-wrap","Choose single-line Input or multiline TextArea and bind controlled text.",{"title":1261,"navigation":857,"description":844,"space":851,"icon":844,"docs":844,"redirect":844,"path":1262,"stem":1263,"children":1264,"page":851},"Tooling and contribution","\u002Ftooling","6.tooling",[1265,1272,1279,1286,1293,1300],{"title":1266,"path":1267,"stem":1268,"navigation":1269,"description":1271,"space":851,"icon":1270,"docs":844,"redirect":844},"CLI","\u002Ftooling\u002Fcli","6.tooling\u002F01.cli",{"icon":1270},"tabler:terminal-2","Scaffold, validate and run applications through Cargo.",{"title":1273,"path":1274,"stem":1275,"navigation":1276,"description":1278,"space":851,"icon":1277,"docs":844,"redirect":844},"Contributing","\u002Ftooling\u002Fcontributing","6.tooling\u002F02.contributing",{"icon":1277},"tabler:git-pull-request","Keep modules focused, preserve backend boundaries and run the relevant checks.",{"title":1280,"path":1281,"stem":1282,"navigation":1283,"description":1285,"space":851,"icon":1284,"docs":844,"redirect":844},"Working on this website","\u002Ftooling\u002Fdocumentation","6.tooling\u002F03.documentation",{"icon":1284},"tabler:notebook","Run, edit, validate and export the Nuxt documentation site.",{"title":1287,"path":1288,"stem":1289,"navigation":1290,"description":1292,"space":851,"icon":1291,"docs":844,"redirect":844},"Troubleshooting","\u002Ftooling\u002Ftroubleshooting","6.tooling\u002F04.troubleshooting",{"icon":1291},"tabler:bug","Resolve common compiler, native build and editor setup problems.",{"title":1294,"path":1295,"stem":1296,"navigation":1297,"description":1299,"space":851,"icon":1298,"docs":844,"redirect":844},"Rust API reference","\u002Ftooling\u002Frust-api","6.tooling\u002F05.rust-api",{"icon":1298},"tabler:api","Find the public Rust types, build local rustdoc and inspect individual package APIs.",{"title":1301,"path":1302,"stem":1303,"navigation":1304,"description":1306,"space":851,"icon":1305,"docs":844,"redirect":844},"License and notices","\u002Ftooling\u002Flicense","6.tooling\u002F06.license",{"icon":1305},"tabler:scale","Understand the license for Inrux code and the notices retained for dependencies and fonts.",[1308,1317,1323,1335,1342,1375],{"title":856,"space":851,"redirect":844,"path":858,"stem":859,"children":1309,"page":851},[1310,1311,1312,1313,1314,1315,1316],{"title":862,"path":863,"stem":864,"space":851,"redirect":844,"icon":866},{"title":869,"path":870,"stem":871,"space":851,"redirect":844,"icon":873},{"title":876,"path":163,"stem":877,"space":851,"redirect":844,"icon":879},{"title":882,"path":883,"stem":884,"space":851,"redirect":844,"icon":886},{"title":889,"path":890,"stem":891,"space":851,"redirect":844,"icon":893},{"title":896,"path":897,"stem":898,"space":851,"redirect":844,"icon":900},{"title":903,"path":593,"stem":904,"space":851,"redirect":844,"icon":906},{"title":909,"space":851,"redirect":844,"path":910,"stem":911,"children":1318,"page":851},[1319,1320,1321,1322],{"title":909,"path":914,"stem":915,"space":851,"redirect":844,"icon":917},{"title":920,"path":921,"stem":922,"space":851,"redirect":844,"icon":924},{"title":927,"path":928,"stem":929,"space":851,"redirect":844,"icon":931},{"title":934,"path":935,"stem":936,"space":851,"redirect":844,"icon":938},{"title":941,"space":851,"redirect":844,"path":942,"stem":943,"children":1324,"page":851},[1325,1326,1327,1328,1329,1330,1331,1332,1333,1334],{"title":946,"path":947,"stem":948,"space":851,"redirect":844,"icon":950},{"title":953,"path":954,"stem":955,"space":851,"redirect":844,"icon":938},{"title":959,"path":960,"stem":961,"space":851,"redirect":844,"icon":963},{"title":966,"path":967,"stem":968,"space":851,"redirect":844,"icon":970},{"title":973,"path":974,"stem":975,"space":851,"redirect":844,"icon":977},{"title":980,"path":981,"stem":982,"space":851,"redirect":844,"icon":984},{"title":987,"path":988,"stem":989,"space":851,"redirect":844,"icon":991},{"title":994,"path":995,"stem":996,"space":851,"redirect":844,"icon":998},{"title":1001,"path":1002,"stem":1003,"space":851,"redirect":844,"icon":1005},{"title":1008,"path":1009,"stem":1010,"space":851,"redirect":844,"icon":1012},{"title":1015,"space":851,"redirect":844,"path":1016,"stem":1017,"children":1336,"page":851},[1337,1338,1339,1340,1341],{"title":1020,"path":1021,"stem":1022,"space":851,"redirect":844,"icon":1024},{"title":1027,"path":1028,"stem":1029,"space":851,"redirect":844,"icon":1031},{"title":1034,"path":1035,"stem":1036,"space":851,"redirect":844,"icon":1038},{"title":1041,"path":1042,"stem":1043,"space":851,"redirect":844,"icon":1045},{"title":1048,"path":1049,"stem":1050,"space":851,"redirect":844,"icon":1052},{"title":1055,"space":851,"redirect":844,"path":1056,"stem":1057,"children":1343,"page":851},[1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374],{"title":291,"path":1060,"stem":1061,"space":851,"redirect":844,"icon":1063},{"title":1066,"path":1067,"stem":1068,"space":851,"redirect":844,"icon":1070},{"title":58,"path":1073,"stem":1074,"space":851,"redirect":844,"icon":1076},{"title":1079,"path":1080,"stem":1081,"space":851,"redirect":844,"icon":1083},{"title":1086,"path":1087,"stem":1088,"space":851,"redirect":844,"icon":1090},{"title":84,"path":1093,"stem":1094,"space":851,"redirect":844,"icon":1096},{"title":1099,"path":1100,"stem":1101,"space":851,"redirect":844,"icon":1103},{"title":755,"path":1106,"stem":1107,"space":851,"redirect":844,"icon":1109},{"title":71,"path":1112,"stem":1113,"space":851,"redirect":844,"icon":1115},{"title":1118,"path":1119,"stem":1120,"space":851,"redirect":844,"icon":1122},{"title":1125,"path":1126,"stem":1127,"space":851,"redirect":844,"icon":1129},{"title":223,"path":1132,"stem":1133,"space":851,"redirect":844,"icon":1135},{"title":268,"path":1138,"stem":1139,"space":851,"redirect":844,"icon":1141},{"title":1144,"path":1145,"stem":1146,"space":851,"redirect":844,"icon":1148},{"title":1151,"path":1152,"stem":1153,"space":851,"redirect":844,"icon":1155},{"title":5,"path":849,"stem":852,"space":851,"redirect":844,"icon":848},{"title":1160,"path":1161,"stem":1162,"space":851,"redirect":844,"icon":1164},{"title":1167,"path":1168,"stem":1169,"space":851,"redirect":844,"icon":1171},{"title":1174,"path":1175,"stem":1176,"space":851,"redirect":844,"icon":938},{"title":1180,"path":1181,"stem":1182,"space":851,"redirect":844,"icon":1184},{"title":1187,"path":1188,"stem":1189,"space":851,"redirect":844,"icon":1191},{"title":1194,"path":1195,"stem":1196,"space":851,"redirect":844,"icon":1198},{"title":1201,"path":1202,"stem":1203,"space":851,"redirect":844,"icon":1205},{"title":1208,"path":1209,"stem":1210,"space":851,"redirect":844,"icon":1205},{"title":1214,"path":1215,"stem":1216,"space":851,"redirect":844,"icon":1218},{"title":1221,"path":1222,"stem":1223,"space":851,"redirect":844,"icon":1225},{"title":97,"path":1228,"stem":1229,"space":851,"redirect":844,"icon":1231},{"title":1234,"path":1235,"stem":1236,"space":851,"redirect":844,"icon":1238},{"title":1241,"path":1242,"stem":1243,"space":851,"redirect":844,"icon":931},{"title":1247,"path":1248,"stem":1249,"space":851,"redirect":844,"icon":1251},{"title":1254,"path":1255,"stem":1256,"space":851,"redirect":844,"icon":1258},{"title":1261,"space":851,"redirect":844,"path":1262,"stem":1263,"children":1376,"page":851},[1377,1378,1379,1380,1381,1382],{"title":1266,"path":1267,"stem":1268,"space":851,"redirect":844,"icon":1270},{"title":1273,"path":1274,"stem":1275,"space":851,"redirect":844,"icon":1277},{"title":1280,"path":1281,"stem":1282,"space":851,"redirect":844,"icon":1284},{"title":1287,"path":1288,"stem":1289,"space":851,"redirect":844,"icon":1291},{"title":1294,"path":1295,"stem":1296,"space":851,"redirect":844,"icon":1298},{"title":1301,"path":1302,"stem":1303,"space":851,"redirect":844,"icon":1305},{"left":1384,"top":1384,"width":1385,"height":1385,"rotate":1384,"vFlip":851,"hFlip":851,"body":1386},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\">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\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">panel\u003C\u002Fspan>() \u003Cspan class=\"shj-syn-oper\">-&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">box_container\u003C\u002Fspan>(vec\u003Cspan class=\"shj-syn-oper\">!\u003C\u002Fspan>[\n        \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">container\u003C\u002Fspan>(vec\u003Cspan class=\"shj-syn-oper\">!\u003C\u002Fspan>[\n            \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">row\u003C\u002Fspan>(vec\u003Cspan class=\"shj-syn-oper\">!\u003C\u002Fspan>[\n                \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">text\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Workspace\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">into\u003C\u002Fspan>())\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n                \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">spacer\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n                \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">button\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Save\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">into\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">None\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n            ])\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">styled\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">gap\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">12.0\u003C\u002Fspan>))\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n        ])\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">styled\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">max_width\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Size\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Px\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">800.0\u003C\u002Fspan>)))\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    ])\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">styled\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">padding\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">24.0\u003C\u002Fspan>))\n}\n","\u003Cspan class=\"shj-syn-tag\">&lt;Flex\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">direction\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{FlexDirection\u003Cspan class=\"shj-syn-attr\">::Column\u003C\u002Fspan>} \u003Cspan class=\"shj-syn-attr\">wrap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{true} \u003Cspan class=\"shj-syn-attr\">gap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{12.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>\u003Cspan class=\"shj-syn-str\">\"Flexible content\"\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\">\"Save\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{save} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002FFlex\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;Grid\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">columns\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{3} \u003Cspan class=\"shj-syn-attr\">gap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{8.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>\u003Cspan class=\"shj-syn-str\">\"First cell\"\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>\u003Cspan class=\"shj-syn-str\">\"Second cell\"\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>\u003Cspan class=\"shj-syn-str\">\"Third cell\"\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>\u003Cspan class=\"shj-syn-str\">\"Next row\"\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;\u002FGrid\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;AspectRatio\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">ratio\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{16.0 \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan> 9.0} \u003Cspan class=\"shj-syn-attr\">width\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Px\u003C\u002Fspan>(320.0)}\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-tag\">&lt;Center\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">height\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Fill\u003C\u002Fspan>}\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-tag\">&lt;Text\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Preview area\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-tag\">&lt;\u002FCenter\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002FAspectRatio\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\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">cells\u003C\u002Fspan>() \u003Cspan class=\"shj-syn-oper\">-&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">grid\u003C\u002Fspan>((\u003Cspan class=\"shj-syn-num\">1..\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">6\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">map\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-oper\">|\u003C\u002Fspan>number\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\">text\u003C\u002Fspan>(number\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">to_string\u003C\u002Fspan>()))\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">collect\u003C\u002Fspan>())\n        \u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">styled\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">grid_columns\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">3\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">gap\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">8.0\u003C\u002Fspan>))\n}\n\n\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">preview\u003C\u002Fspan>() \u003Cspan class=\"shj-syn-oper\">-&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-class\">Node\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">aspect_ratio\u003C\u002Fspan>(vec\u003Cspan class=\"shj-syn-oper\">!\u003C\u002Fspan>[])\n        \u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">styled\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">width\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Size\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Px\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">320.0\u003C\u002Fspan>))\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">aspect_ratio\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-num\">16.0\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">9.0\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;Checkbox\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">label\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Use a narrow container\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">model:checked\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{narrow} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Box\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"surface\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Container\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">style\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Style\u003Cspan class=\"shj-syn-attr\">::new\u003C\u002Fspan>().max_width(Size\u003Cspan class=\"shj-syn-attr\">::Px\u003C\u002Fspan>(content_width.get().unwrap_or(640.0)))} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"sample\"\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\">gap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{12.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>\u003Cspan class=\"shj-syn-str\">\"Workspace\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">width\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Content\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;Spacer\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\">\"Save\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{save} \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;\u002FRow\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n                \u003Cspan class=\"shj-syn-tag\">&lt;Center\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">height\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Px\u003C\u002Fspan>(120.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>\u003Cspan class=\"shj-syn-str\">\"Centered content\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">width\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Content\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;\u002FCenter\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\">\"Save actions: {}\"\u003C\u002Fspan>, saved)} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;\u002FContainer\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;\u002FBox\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> narrow\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Signal\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>bool\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Signal\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-kwd\">false\u003C\u002Fspan>);\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> content_width_narrow \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> narrow\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">clone\u003C\u002Fspan>();\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> content_width\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Computed\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>f32\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Computed\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-kwd\">move\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">||\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-control\">if\u003C\u002Fspan> content_width_narrow\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">get\u003C\u002Fspan>() {\n        \u003Cspan class=\"shj-syn-num\">320.0\u003C\u002Fspan>\n    } \u003Cspan class=\"shj-syn-control\">else\u003C\u002Fspan> {\n        \u003Cspan class=\"shj-syn-num\">640.0\u003C\u002Fspan>\n    }\n});\n\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> saved\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 Show that layout wrappers preserve ordinary button events.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">save\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>saved \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\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\">.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\">.surface\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\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\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#f5f5f5\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.sample\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\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\">gap\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\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#ffffff\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fstyle\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n",1794980347680]