[{"data":1,"prerenderedAt":1011},["ShallowReactive",2],{"navigation_docs":3,"-guides-sizing-and-direction":107,"-guides-sizing-and-direction-surround":1006},[4,26,57,87,97],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-book-open",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Architecture","\u002Fgetting-started\u002Farchitecture","1.getting-started\u002F3.architecture","i-lucide-workflow",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Reference","i-lucide-layers","\u002Freference","2.reference",[32,37,42,47,52],{"title":33,"path":34,"stem":35,"icon":36},"VirtualGrid","\u002Freference\u002Fvirtual-grid","2.reference\u002F1.virtual-grid","i-lucide-table-2",{"title":38,"path":39,"stem":40,"icon":41},"Primitives","\u002Freference\u002Fprimitives","2.reference\u002F2.primitives","i-lucide-crosshair",{"title":43,"path":44,"stem":45,"icon":46},"Utilities","\u002Freference\u002Futilities","2.reference\u002F3.utilities","i-lucide-wrench",{"title":48,"path":49,"stem":50,"icon":51},"Benchmarks","\u002Freference\u002Fbenchmarks","2.reference\u002F4.benchmarks","i-lucide-timer",{"title":53,"path":54,"stem":55,"icon":56},"ARIA patterns","\u002Freference\u002Faria-patterns","2.reference\u002F6.aria-patterns","i-lucide-accessibility",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":25},"Guides","i-lucide-compass","\u002Fguides","3.guides",[63,67,72,77,82],{"title":64,"path":65,"stem":66,"icon":56},"Accessibility","\u002Fguides\u002Faccessibility","3.guides\u002F1.accessibility",{"title":68,"path":69,"stem":70,"icon":71},"Popovers and overlays","\u002Fguides\u002Fpopovers","3.guides\u002F2.popovers","i-lucide-message-square",{"title":73,"path":74,"stem":75,"icon":76},"Floating UI","\u002Fguides\u002Ffloating-ui","3.guides\u002F3.floating-ui","i-lucide-layers-2",{"title":78,"path":79,"stem":80,"icon":81},"Sizing and direction","\u002Fguides\u002Fsizing-and-direction","3.guides\u002F4.sizing-and-direction","i-lucide-move",{"title":83,"path":84,"stem":85,"icon":86},"Performance","\u002Fguides\u002Fperformance","3.guides\u002F5.performance","i-lucide-gauge",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":25},"Examples","i-lucide-flask-conical","\u002Fexamples","4.examples",[93],{"title":94,"path":95,"stem":96,"icon":56},"ARIA examples","\u002Fexamples\u002Faria","4.examples\u002F1.aria",{"title":98,"icon":99,"path":100,"stem":101,"children":102,"page":25},"Changes","i-lucide-history","\u002Fchanges","5.changes",[103],{"title":104,"path":105,"stem":106,"icon":99},"Changelog","\u002Fchanges\u002Fchangelog","5.changes\u002F1.changelog",{"id":108,"title":78,"body":109,"description":1000,"extension":666,"links":1001,"meta":1002,"navigation":1003,"path":79,"seo":1004,"stem":80,"__hash__":1005},"docs\u002F3.guides\u002F4.sizing-and-direction.md",{"type":110,"value":111,"toc":990},"minimark",[112,116,119,123,128,131,668,672,689,693,700,987],[113,114,115],"p",{},"The grid places items with arithmetic, so it needs to know how big one item is. It cannot read the size of items that are not rendered. In this guide you give the grid a probe that tells it the item size, make that size change with the screen width, and then turn the grid sideways.",[113,117,118],{},"The grid places every item as if it were the size of the probe. Your CSS sets the actual size, so keep the item size equal to the probe's size.",[120,121,122],"note",{},"The samples use Tailwind CSS classes for the track sizes, gaps and breakpoint. The grid reads the computed CSS, so your own classes work the same.",[124,125,127],"h2",{"id":126},"set-the-item-size-with-a-probe","Set the item size with a probe",[113,129,130],{},"The grid needs three things from your markup: a scroll container, grid tracks, and a probe that has the size of one item.",[132,133,134,139,160,182,193,196,372,375,657,661],"steps",{},[135,136,138],"h3",{"id":137},"set-up-the-scroll-container-the-tracks-and-the-probe","Set up the scroll container, the tracks and the probe",[113,140,141,142,146,147,150,151,154,155,159],{},"Put the grid inside an element with ",[143,144,145],"code",{},"overflow-y: auto"," and a fixed height. Put ",[143,148,149],{},"overflow"," and the height on that element, not on ",[143,152,153],{},"\u003CVirtualGrid>",". The ",[156,157,158],"a",{"href":34},"VirtualGrid reference"," explains what happens when you set them on the grid.",[113,161,162,163,166,167,169,170,173,174,177,178,181],{},"Add ",[143,164,165],{},"grid"," and column tracks to the class of ",[143,168,153],{},". The grid reads the column count from the computed ",[143,171,172],{},"grid-template-columns",", and the gaps from ",[143,175,176],{},"column-gap"," and ",[143,179,180],{},"row-gap",".",[113,183,184,185,188,189,192],{},"Add a ",[143,186,187],{},"probe"," slot with one empty element that has the same classes as your items. The grid renders the probe hidden and measures it with a ",[143,190,191],{},"ResizeObserver",", a browser API that reports when an element's size changes. It places every item as if it had the probe's size. The item classes set the actual size, so give them the same height as the probe.",[113,194,195],{},"The page provider in this sample builds each page from its page number.",[197,198,203],"pre",{"className":199,"code":200,"language":201,"meta":202,"style":202},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nconst length = 10_000;\nconst pageProvider = (page, pageSize) =>\n  Array.from({ length: pageSize }, (_, i) => ({ title: `Item ${page * pageSize + i}` }));\n\u003C\u002Fscript>\n","vue","",[143,204,205,225,245,274,362],{"__ignoreMap":202},[206,207,210,214,218,222],"span",{"class":208,"line":209},"line",1,[206,211,213],{"class":212},"sMK4o","\u003C",[206,215,217],{"class":216},"swJcz","script",[206,219,221],{"class":220},"spNyl"," setup",[206,223,224],{"class":212},">\n",[206,226,228,231,235,238,242],{"class":208,"line":227},2,[206,229,230],{"class":220},"const",[206,232,234],{"class":233},"sTEyZ"," length ",[206,236,237],{"class":212},"=",[206,239,241],{"class":240},"sbssI"," 10_000",[206,243,244],{"class":212},";\n",[206,246,248,250,253,255,258,262,265,268,271],{"class":208,"line":247},3,[206,249,230],{"class":220},[206,251,252],{"class":233}," pageProvider ",[206,254,237],{"class":212},[206,256,257],{"class":212}," (",[206,259,261],{"class":260},"sHdIc","page",[206,263,264],{"class":212},",",[206,266,267],{"class":260}," pageSize",[206,269,270],{"class":212},")",[206,272,273],{"class":220}," =>\n",[206,275,277,280,282,286,289,292,295,298,301,304,306,309,311,314,316,319,321,323,326,328,331,335,338,341,344,346,349,351,354,357,360],{"class":208,"line":276},4,[206,278,279],{"class":233},"  Array",[206,281,181],{"class":212},[206,283,285],{"class":284},"s2Zo4","from",[206,287,288],{"class":233},"(",[206,290,291],{"class":212},"{",[206,293,294],{"class":216}," length",[206,296,297],{"class":212},":",[206,299,300],{"class":233}," pageSize ",[206,302,303],{"class":212},"},",[206,305,257],{"class":212},[206,307,308],{"class":260},"_",[206,310,264],{"class":212},[206,312,313],{"class":260}," i",[206,315,270],{"class":212},[206,317,318],{"class":220}," =>",[206,320,257],{"class":233},[206,322,291],{"class":212},[206,324,325],{"class":216}," title",[206,327,297],{"class":212},[206,329,330],{"class":212}," `",[206,332,334],{"class":333},"sfazB","Item ",[206,336,337],{"class":212},"${",[206,339,340],{"class":233},"page ",[206,342,343],{"class":212},"*",[206,345,300],{"class":233},[206,347,348],{"class":212},"+",[206,350,313],{"class":233},[206,352,353],{"class":212},"}`",[206,355,356],{"class":212}," }",[206,358,359],{"class":233},"))",[206,361,244],{"class":212},[206,363,365,368,370],{"class":208,"line":364},5,[206,366,367],{"class":212},"\u003C\u002F",[206,369,217],{"class":216},[206,371,224],{"class":212},[113,373,374],{},"The template has the scroll container, the column tracks and the probe.",[197,376,378],{"className":199,"code":377,"language":201,"meta":202,"style":202},"\u003Ctemplate>\n  \u003Cdiv class=\"h-[600px] overflow-y-auto\">\n    \u003CVirtualGrid\n      :length=\"length\"\n      :page-size=\"40\"\n      :page-provider=\"pageProvider\"\n      class=\"grid grid-cols-[repeat(auto-fill,minmax(160px,1fr))] gap-4\"\n    >\n      \u003Ctemplate #default=\"{ item, style }\">\n        \u003Cdiv :style=\"style\" class=\"h-40 md:h-64\">{{ item.title }}\u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n\n      \u003Ctemplate #probe>\n        \u003Cdiv class=\"h-40 md:h-64\" \u002F>\n      \u003C\u002Ftemplate>\n    \u003C\u002FVirtualGrid>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[143,379,380,389,412,420,437,453,470,485,491,526,569,579,586,599,619,628,638,648],{"__ignoreMap":202},[206,381,382,384,387],{"class":208,"line":209},[206,383,213],{"class":212},[206,385,386],{"class":216},"template",[206,388,224],{"class":212},[206,390,391,394,397,400,402,405,408,410],{"class":208,"line":227},[206,392,393],{"class":212},"  \u003C",[206,395,396],{"class":216},"div",[206,398,399],{"class":220}," class",[206,401,237],{"class":212},[206,403,404],{"class":212},"\"",[206,406,407],{"class":333},"h-[600px] overflow-y-auto",[206,409,404],{"class":212},[206,411,224],{"class":212},[206,413,414,417],{"class":208,"line":247},[206,415,416],{"class":212},"    \u003C",[206,418,419],{"class":216},"VirtualGrid\n",[206,421,422,425,428,430,432,434],{"class":208,"line":276},[206,423,424],{"class":212},"      :",[206,426,427],{"class":220},"length",[206,429,237],{"class":212},[206,431,404],{"class":212},[206,433,427],{"class":233},[206,435,436],{"class":212},"\"\n",[206,438,439,441,444,446,448,451],{"class":208,"line":364},[206,440,424],{"class":212},[206,442,443],{"class":220},"page-size",[206,445,237],{"class":212},[206,447,404],{"class":212},[206,449,450],{"class":240},"40",[206,452,436],{"class":212},[206,454,456,458,461,463,465,468],{"class":208,"line":455},6,[206,457,424],{"class":212},[206,459,460],{"class":220},"page-provider",[206,462,237],{"class":212},[206,464,404],{"class":212},[206,466,467],{"class":233},"pageProvider",[206,469,436],{"class":212},[206,471,473,476,478,480,483],{"class":208,"line":472},7,[206,474,475],{"class":220},"      class",[206,477,237],{"class":212},[206,479,404],{"class":212},[206,481,482],{"class":333},"grid grid-cols-[repeat(auto-fill,minmax(160px,1fr))] gap-4",[206,484,436],{"class":212},[206,486,488],{"class":208,"line":487},8,[206,489,490],{"class":212},"    >\n",[206,492,494,497,499,502,505,507,509,511,514,516,519,522,524],{"class":208,"line":493},9,[206,495,496],{"class":212},"      \u003C",[206,498,386],{"class":216},[206,500,501],{"class":212}," #",[206,503,504],{"class":220},"default",[206,506,237],{"class":212},[206,508,404],{"class":212},[206,510,291],{"class":212},[206,512,513],{"class":233}," item",[206,515,264],{"class":212},[206,517,518],{"class":233}," style ",[206,520,521],{"class":212},"}",[206,523,404],{"class":212},[206,525,224],{"class":212},[206,527,529,532,534,537,539,541,544,546,548,550,552,555,557,560,563,565,567],{"class":208,"line":528},10,[206,530,531],{"class":212},"        \u003C",[206,533,396],{"class":216},[206,535,536],{"class":220}," :style",[206,538,237],{"class":212},[206,540,404],{"class":212},[206,542,543],{"class":333},"style",[206,545,404],{"class":212},[206,547,399],{"class":220},[206,549,237],{"class":212},[206,551,404],{"class":212},[206,553,554],{"class":333},"h-40 md:h-64",[206,556,404],{"class":212},[206,558,559],{"class":212},">",[206,561,562],{"class":233},"{{ item.title }}",[206,564,367],{"class":212},[206,566,396],{"class":216},[206,568,224],{"class":212},[206,570,572,575,577],{"class":208,"line":571},11,[206,573,574],{"class":212},"      \u003C\u002F",[206,576,386],{"class":216},[206,578,224],{"class":212},[206,580,582],{"class":208,"line":581},12,[206,583,585],{"emptyLinePlaceholder":584},true,"\n",[206,587,589,591,593,595,597],{"class":208,"line":588},13,[206,590,496],{"class":212},[206,592,386],{"class":216},[206,594,501],{"class":212},[206,596,187],{"class":220},[206,598,224],{"class":212},[206,600,602,604,606,608,610,612,614,616],{"class":208,"line":601},14,[206,603,531],{"class":212},[206,605,396],{"class":216},[206,607,399],{"class":220},[206,609,237],{"class":212},[206,611,404],{"class":212},[206,613,554],{"class":333},[206,615,404],{"class":212},[206,617,618],{"class":212}," \u002F>\n",[206,620,622,624,626],{"class":208,"line":621},15,[206,623,574],{"class":212},[206,625,386],{"class":216},[206,627,224],{"class":212},[206,629,631,634,636],{"class":208,"line":630},16,[206,632,633],{"class":212},"    \u003C\u002F",[206,635,33],{"class":216},[206,637,224],{"class":212},[206,639,641,644,646],{"class":208,"line":640},17,[206,642,643],{"class":212},"  \u003C\u002F",[206,645,396],{"class":216},[206,647,224],{"class":212},[206,649,651,653,655],{"class":208,"line":650},18,[206,652,367],{"class":212},[206,654,386],{"class":216},[206,656,224],{"class":212},[135,658,660],{"id":659},"check-the-size","Check the size",[113,662,663,664,667],{},"Open the page, right-click an item and choose Inspect. In the Elements panel, the item's box is 160px tall below the ",[143,665,666],{},"md"," breakpoint and 256px tall above it. Resize the window across the breakpoint. The items move to their new positions, and the rows stay even, with no overlap.",[669,670,671],"warning",{},"The grid positions every item as if it had the probe's size. An item that is taller than the probe overlaps the next row, and a shorter one leaves a gap.",[113,673,674,675,681,682,685,686,181],{},"The ",[156,676,678,680],{"href":677},"\u002Freference\u002Fvirtual-grid#slots",[143,679,187],{}," slot reference"," explains the alternative: set the row height on the grid with ",[143,683,684],{},"grid-template-rows"," or ",[143,687,688],{},"grid-auto-rows",[124,690,692],{"id":691},"scroll-sideways","Scroll sideways",[113,694,695,696,699],{},"The grid scrolls sideways when you set ",[143,697,698],{},"grid-auto-flow: column"," and a fixed number of rows. The grid then sets its width to the width of the whole list, and the parent scrolls on the x axis.",[132,701,702,706,713,730,966,970],{},[135,703,705],{"id":704},"put-the-grid-in-a-horizontally-scrolling-container-and-set-the-flow","Put the grid in a horizontally scrolling container and set the flow",[113,707,708,709,712],{},"Use an element with ",[143,710,711],{},"overflow-x: auto",". It needs no height. The fixed rows give the grid its height.",[113,714,162,715,718,719,722,723,726,727,181],{},[143,716,717],{},"grid-flow-col"," to the grid. Fix the height of the rows with ",[143,720,721],{},"grid-rows-[repeat(2,150px)]"," and the width of each column with ",[143,724,725],{},"auto-cols-[200px]",". Give the items and the probe the size of one cell. The script stays the same as in ",[156,728,138],{"href":729},"#set-up-the-scroll-container-the-tracks-and-the-probe",[197,731,733],{"className":199,"code":732,"language":201,"meta":202,"style":202},"\u003Ctemplate>\n  \u003Cdiv class=\"overflow-x-auto\">\n    \u003CVirtualGrid\n      :length=\"length\"\n      :page-size=\"40\"\n      :page-provider=\"pageProvider\"\n      class=\"grid grid-flow-col grid-rows-[repeat(2,150px)] auto-cols-[200px] gap-4\"\n    >\n      \u003Ctemplate #default=\"{ item, style }\">\n        \u003Cdiv :style=\"style\" class=\"h-[150px] w-[200px]\">{{ item.title }}\u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n\n      \u003Ctemplate #probe>\n        \u003Cdiv class=\"h-[150px] w-[200px]\" \u002F>\n      \u003C\u002Ftemplate>\n    \u003C\u002FVirtualGrid>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[143,734,735,743,762,768,782,796,810,823,827,855,892,900,904,916,934,942,950,958],{"__ignoreMap":202},[206,736,737,739,741],{"class":208,"line":209},[206,738,213],{"class":212},[206,740,386],{"class":216},[206,742,224],{"class":212},[206,744,745,747,749,751,753,755,758,760],{"class":208,"line":227},[206,746,393],{"class":212},[206,748,396],{"class":216},[206,750,399],{"class":220},[206,752,237],{"class":212},[206,754,404],{"class":212},[206,756,757],{"class":333},"overflow-x-auto",[206,759,404],{"class":212},[206,761,224],{"class":212},[206,763,764,766],{"class":208,"line":247},[206,765,416],{"class":212},[206,767,419],{"class":216},[206,769,770,772,774,776,778,780],{"class":208,"line":276},[206,771,424],{"class":212},[206,773,427],{"class":220},[206,775,237],{"class":212},[206,777,404],{"class":212},[206,779,427],{"class":233},[206,781,436],{"class":212},[206,783,784,786,788,790,792,794],{"class":208,"line":364},[206,785,424],{"class":212},[206,787,443],{"class":220},[206,789,237],{"class":212},[206,791,404],{"class":212},[206,793,450],{"class":240},[206,795,436],{"class":212},[206,797,798,800,802,804,806,808],{"class":208,"line":455},[206,799,424],{"class":212},[206,801,460],{"class":220},[206,803,237],{"class":212},[206,805,404],{"class":212},[206,807,467],{"class":233},[206,809,436],{"class":212},[206,811,812,814,816,818,821],{"class":208,"line":472},[206,813,475],{"class":220},[206,815,237],{"class":212},[206,817,404],{"class":212},[206,819,820],{"class":333},"grid grid-flow-col grid-rows-[repeat(2,150px)] auto-cols-[200px] gap-4",[206,822,436],{"class":212},[206,824,825],{"class":208,"line":487},[206,826,490],{"class":212},[206,828,829,831,833,835,837,839,841,843,845,847,849,851,853],{"class":208,"line":493},[206,830,496],{"class":212},[206,832,386],{"class":216},[206,834,501],{"class":212},[206,836,504],{"class":220},[206,838,237],{"class":212},[206,840,404],{"class":212},[206,842,291],{"class":212},[206,844,513],{"class":233},[206,846,264],{"class":212},[206,848,518],{"class":233},[206,850,521],{"class":212},[206,852,404],{"class":212},[206,854,224],{"class":212},[206,856,857,859,861,863,865,867,869,871,873,875,877,880,882,884,886,888,890],{"class":208,"line":528},[206,858,531],{"class":212},[206,860,396],{"class":216},[206,862,536],{"class":220},[206,864,237],{"class":212},[206,866,404],{"class":212},[206,868,543],{"class":333},[206,870,404],{"class":212},[206,872,399],{"class":220},[206,874,237],{"class":212},[206,876,404],{"class":212},[206,878,879],{"class":333},"h-[150px] w-[200px]",[206,881,404],{"class":212},[206,883,559],{"class":212},[206,885,562],{"class":233},[206,887,367],{"class":212},[206,889,396],{"class":216},[206,891,224],{"class":212},[206,893,894,896,898],{"class":208,"line":571},[206,895,574],{"class":212},[206,897,386],{"class":216},[206,899,224],{"class":212},[206,901,902],{"class":208,"line":581},[206,903,585],{"emptyLinePlaceholder":584},[206,905,906,908,910,912,914],{"class":208,"line":588},[206,907,496],{"class":212},[206,909,386],{"class":216},[206,911,501],{"class":212},[206,913,187],{"class":220},[206,915,224],{"class":212},[206,917,918,920,922,924,926,928,930,932],{"class":208,"line":601},[206,919,531],{"class":212},[206,921,396],{"class":216},[206,923,399],{"class":220},[206,925,237],{"class":212},[206,927,404],{"class":212},[206,929,879],{"class":333},[206,931,404],{"class":212},[206,933,618],{"class":212},[206,935,936,938,940],{"class":208,"line":621},[206,937,574],{"class":212},[206,939,386],{"class":216},[206,941,224],{"class":212},[206,943,944,946,948],{"class":208,"line":630},[206,945,633],{"class":212},[206,947,33],{"class":216},[206,949,224],{"class":212},[206,951,952,954,956],{"class":208,"line":640},[206,953,643],{"class":212},[206,955,396],{"class":216},[206,957,224],{"class":212},[206,959,960,962,964],{"class":208,"line":650},[206,961,367],{"class":212},[206,963,386],{"class":216},[206,965,224],{"class":212},[135,967,969],{"id":968},"check-the-order","Check the order",[113,971,972,973,979,980,986],{},"Scroll to the start of the list. In the Elements panel, items 0 and 1 sit in the first column, one above the other, and item 2 starts the second column. ",[156,974,976],{"href":975},"\u002Freference\u002Fprimitives#getitemcell",[143,977,978],{},"getItemCell"," returns the same row and column for an index, and ",[156,981,983],{"href":982},"\u002Freference\u002Fprimitives#getindexbycell",[143,984,985],{},"getIndexByCell"," returns the index from a cell.",[543,988,989],{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":202,"searchDepth":227,"depth":227,"links":991},[992,996],{"id":126,"depth":227,"text":127,"children":993},[994,995],{"id":137,"depth":247,"text":138},{"id":659,"depth":247,"text":660},{"id":691,"depth":227,"text":692,"children":997},[998,999],{"id":704,"depth":247,"text":705},{"id":968,"depth":247,"text":969},"Give the grid a probe so it knows the item size, then make it scroll sideways.",null,{},{"icon":81},{"title":78,"description":1000},"Gn_k67e9hER81pjd5o5MOILB_kuo3iyA2gjWcBtfJg0",[1007,1009],{"title":73,"path":74,"stem":75,"description":1008,"icon":76,"children":-1},"Use the rectangle the grid computes as a Floating UI virtual element, so a floating element follows items that are not rendered.",{"title":83,"path":84,"stem":85,"description":1010,"icon":86,"children":-1},"Keep scrolling responsive and cut the requests a network-backed grid sends.",1794785667993]