[{"data":1,"prerenderedAt":334},["ShallowReactive",2],{"navigation_docs":3,"-docs-guide-under-the-hood":105,"-docs-guide-under-the-hood-surround":329},[4,35,80,90],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Nuxt module","\u002Fdocs\u002Fgetting-started\u002Fnuxt","docs\u002F1.getting-started\u002F2.nuxt","i-simple-icons-nuxtdotjs",{"title":21,"path":22,"stem":23,"icon":24},"Vue + Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F3.vue","i-simple-icons-vuedotjs",{"title":26,"path":27,"stem":28,"icon":29},"Quick Start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F4.quick-start","i-lucide-rocket",{"title":31,"path":32,"stem":33,"icon":34},"AI agents","\u002Fdocs\u002Fgetting-started\u002Fai-agents","docs\u002F1.getting-started\u002F5.ai-agents","i-lucide-bot",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[40,45,50,55,60,65,70,75],{"title":41,"path":42,"stem":43,"icon":44},"States","\u002Fdocs\u002Fguide\u002Fstates","docs\u002F2.guide\u002F1.states","i-lucide-toggle-left",{"title":46,"path":47,"stem":48,"icon":49},"Sample and Memory","\u002Fdocs\u002Fguide\u002Fsample-and-memory","docs\u002F2.guide\u002F2.sample-and-memory","i-lucide-history",{"title":51,"path":52,"stem":53,"icon":54},"Markup","\u002Fdocs\u002Fguide\u002Fmarkup","docs\u002F2.guide\u002F3.markup","i-lucide-code-xml",{"title":56,"path":57,"stem":58,"icon":59},"How It Works","\u002Fdocs\u002Fguide\u002Funder-the-hood","docs\u002F2.guide\u002F4.under-the-hood","i-lucide-cog",{"title":61,"path":62,"stem":63,"icon":64},"Real Screens","\u002Fdocs\u002Fguide\u002Freal-screens","docs\u002F2.guide\u002F5.real-screens","i-lucide-layout-dashboard",{"title":66,"path":67,"stem":68,"icon":69},"Debugging","\u002Fdocs\u002Fguide\u002Fdebugging","docs\u002F2.guide\u002F6.debugging","i-lucide-bug",{"title":71,"path":72,"stem":73,"icon":74},"Reveal","\u002Fdocs\u002Fguide\u002Freveal","docs\u002F2.guide\u002F7.reveal","i-lucide-sparkles",{"title":76,"path":77,"stem":78,"icon":79},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F2.guide\u002F8.troubleshooting","i-lucide-life-buoy",{"title":81,"icon":6,"path":82,"stem":83,"children":84,"page":6},"Customization","\u002Fdocs\u002Fcustomization","docs\u002F3.customization",[85],{"title":86,"path":87,"stem":88,"icon":89},"Theming","\u002Fdocs\u002Fcustomization\u002Ftheming","docs\u002F3.customization\u002F1.theming","i-lucide-palette",{"title":91,"icon":6,"path":92,"stem":93,"children":94,"page":6},"API","\u002Fdocs\u002Fapi","docs\u002F4.api",[95,100],{"title":96,"path":97,"stem":98,"icon":99},"Skeleton","\u002Fdocs\u002Fapi\u002Fskeleton","docs\u002F4.api\u002F1.skeleton","i-lucide-box",{"title":101,"path":102,"stem":103,"icon":104},"Options","\u002Fdocs\u002Fapi\u002Foptions","docs\u002F4.api\u002F2.options","i-lucide-settings",{"id":106,"title":56,"body":107,"description":322,"extension":323,"links":324,"meta":325,"navigation":326,"path":57,"seo":327,"stem":58,"__hash__":328},"docs\u002Fdocs\u002F2.guide\u002F4.under-the-hood.md",{"type":108,"value":109,"toc":320},"minimark",[110,142,146,309,316],[111,112,113,117,129,136,139],"ol",{},[114,115,116],"li",{},"The server sends the slot's markup rendered with the sample, with its text transparent.",[114,118,119,120,124,125,128],{},"A script in ",[121,122,123],"code",{},"\u003Chead>"," finds skeletons as the page is parsed. There's one per page, and components render no ",[121,126,127],{},"\u003Cscript>"," tags.",[114,130,131,132,135],{},"Before the first paint, the script measures lines with ",[121,133,134],{},"Range.getClientRects"," and draws the bones. If memory has a shape for this window width, it uses that instead.",[114,137,138],{},"After hydration, the component redraws the bones when the width changes and when fonts and images load.",[114,140,141],{},"When the data arrives, content fades in over the skeleton, and the height animates if it differs.",[143,144,145],"p",{},"Change the width below and turn on the hidden markup to see the bars follow the real lines of text:",[147,148,149,152],"code-preview",{},[150,151],"measure-demo",{},[153,154,156],"template",{"v-slot:code":155},"",[157,158,162],"pre",{"className":159,"code":160,"language":161,"meta":155,"style":155},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003Cdiv :style=\"{ width: `${width}%` }\">\n    \u003CSkeleton :loading=\"true\">\n      \u003Ch4>The bars are measured, not guessed\u003C\u002Fh4>\n\n      \u003Cp>Narrow this block and watch the text wrap.\u003C\u002Fp>\n    \u003C\u002FSkeleton>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","vue",[121,163,164,179,206,232,255,262,280,290,300],{"__ignoreMap":155},[165,166,169,173,176],"span",{"class":167,"line":168},"line",1,[165,170,172],{"class":171},"sMK4o","\u003C",[165,174,153],{"class":175},"swJcz",[165,177,178],{"class":171},">\n",[165,180,182,185,188,192,195,198,202,204],{"class":167,"line":181},2,[165,183,184],{"class":171},"  \u003C",[165,186,187],{"class":175},"div",[165,189,191],{"class":190},"spNyl"," :style",[165,193,194],{"class":171},"=",[165,196,197],{"class":171},"\"",[165,199,201],{"class":200},"sfazB","{ width: `${width}%` }",[165,203,197],{"class":171},[165,205,178],{"class":171},[165,207,209,212,214,217,220,222,224,228,230],{"class":167,"line":208},3,[165,210,211],{"class":171},"    \u003C",[165,213,96],{"class":175},[165,215,216],{"class":171}," :",[165,218,219],{"class":190},"loading",[165,221,194],{"class":171},[165,223,197],{"class":171},[165,225,227],{"class":226},"sfNiH","true",[165,229,197],{"class":171},[165,231,178],{"class":171},[165,233,235,238,241,244,248,251,253],{"class":167,"line":234},4,[165,236,237],{"class":171},"      \u003C",[165,239,240],{"class":175},"h4",[165,242,243],{"class":171},">",[165,245,247],{"class":246},"sTEyZ","The bars are measured, not guessed",[165,249,250],{"class":171},"\u003C\u002F",[165,252,240],{"class":175},[165,254,178],{"class":171},[165,256,258],{"class":167,"line":257},5,[165,259,261],{"emptyLinePlaceholder":260},true,"\n",[165,263,265,267,269,271,274,276,278],{"class":167,"line":264},6,[165,266,237],{"class":171},[165,268,143],{"class":175},[165,270,243],{"class":171},[165,272,273],{"class":246},"Narrow this block and watch the text wrap.",[165,275,250],{"class":171},[165,277,143],{"class":175},[165,279,178],{"class":171},[165,281,283,286,288],{"class":167,"line":282},7,[165,284,285],{"class":171},"    \u003C\u002F",[165,287,96],{"class":175},[165,289,178],{"class":171},[165,291,293,296,298],{"class":167,"line":292},8,[165,294,295],{"class":171},"  \u003C\u002F",[165,297,187],{"class":175},[165,299,178],{"class":171},[165,301,303,305,307],{"class":167,"line":302},9,[165,304,250],{"class":171},[165,306,153],{"class":175},[165,308,178],{"class":171},[143,310,311,312,315],{},"All measuring happens before any writing, so skeletons don't force layout on each other. The shimmer animates with ",[121,313,314],{},"transform"," and stays off the main thread.",[317,318,319],"style",{},"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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":155,"searchDepth":181,"depth":181,"links":321},[],"What happens between the HTML and the content appearing.","md",null,{},{"icon":59},{"title":56,"description":322},"SNzAi4zXV4DVYDHretBaieoNQPyB31xZyIsr6_yaxQI",[330,332],{"title":51,"path":52,"stem":53,"description":331,"icon":54,"children":-1},"How the module reads your markup and how to steer it.",{"title":61,"path":62,"stem":63,"description":333,"icon":64,"children":-1},"How it looks on the pages you actually build.",1794492020365]