[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"docs-nav-pkg":3,"docs-page-pkg-\u002Fpkg\u002Fswitch":133},[4,8,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,121,124,127,130],{"path":5,"title":6,"section":7},"\u002Fpkg","Overview","Start",{"path":9,"title":10,"section":11},"\u002Fpkg\u002Faccordion","Accordion","Components",{"path":13,"title":14,"section":11},"\u002Fpkg\u002Falert-dialog","Alert Dialog",{"path":16,"title":17,"section":11},"\u002Fpkg\u002Fautocomplete","Autocomplete",{"path":19,"title":20,"section":11},"\u002Fpkg\u002Favatar","Avatar",{"path":22,"title":23,"section":11},"\u002Fpkg\u002Fbutton","Button",{"path":25,"title":26,"section":11},"\u002Fpkg\u002Fcheckbox","Checkbox",{"path":28,"title":29,"section":11},"\u002Fpkg\u002Fcheckbox-group","Checkbox Group",{"path":31,"title":32,"section":11},"\u002Fpkg\u002Fcollapsible","Collapsible",{"path":34,"title":35,"section":11},"\u002Fpkg\u002Fcombobox","Combobox",{"path":37,"title":38,"section":11},"\u002Fpkg\u002Fcontext-menu","Context Menu",{"path":40,"title":41,"section":11},"\u002Fpkg\u002Fdialog","Dialog",{"path":43,"title":44,"section":11},"\u002Fpkg\u002Fdrawer","Drawer",{"path":46,"title":47,"section":11},"\u002Fpkg\u002Ffield","Field",{"path":49,"title":50,"section":11},"\u002Fpkg\u002Ffieldset","Fieldset",{"path":52,"title":53,"section":11},"\u002Fpkg\u002Fform","Form",{"path":55,"title":56,"section":11},"\u002Fpkg\u002Ficon-picker","Icon picker",{"path":58,"title":59,"section":11},"\u002Fpkg\u002Finput","Input",{"path":61,"title":62,"section":11},"\u002Fpkg\u002Fmenu","Menu",{"path":64,"title":65,"section":11},"\u002Fpkg\u002Fmenubar","Menubar",{"path":67,"title":68,"section":11},"\u002Fpkg\u002Fmeter","Meter",{"path":70,"title":71,"section":11},"\u002Fpkg\u002Fnavigation-menu","Navigation Menu",{"path":73,"title":74,"section":11},"\u002Fpkg\u002Fnumber-field","Number Field",{"path":76,"title":77,"section":11},"\u002Fpkg\u002Fotp-field","OTP Field",{"path":79,"title":80,"section":11},"\u002Fpkg\u002Fplot","Plot",{"path":82,"title":83,"section":11},"\u002Fpkg\u002Fpopover","Popover",{"path":85,"title":86,"section":11},"\u002Fpkg\u002Fpreview-card","Preview Card",{"path":88,"title":89,"section":11},"\u002Fpkg\u002Fprogress","Progress",{"path":91,"title":92,"section":11},"\u002Fpkg\u002Fradio-group","Radio Group",{"path":94,"title":95,"section":11},"\u002Fpkg\u002Fscroll-area","Scroll Area",{"path":97,"title":98,"section":11},"\u002Fpkg\u002Fselect","Select",{"path":100,"title":101,"section":11},"\u002Fpkg\u002Fseparator","Separator",{"path":103,"title":104,"section":11},"\u002Fpkg\u002Fsidebar","Sidebar",{"path":106,"title":107,"section":11},"\u002Fpkg\u002Fslider","Slider",{"path":109,"title":110,"section":11},"\u002Fpkg\u002Fswitch","Switch",{"path":112,"title":113,"section":11},"\u002Fpkg\u002Ftabs","Tabs",{"path":115,"title":116,"section":11},"\u002Fpkg\u002Ftoast","Toast",{"path":118,"title":119,"section":120},"\u002Fpkg\u002Fapi","Api","Runtime",{"path":122,"title":123,"section":120},"\u002Fpkg\u002Fauth","Auth",{"path":125,"title":126,"section":120},"\u002Fpkg\u002Fblob","Blob",{"path":128,"title":129,"section":120},"\u002Fpkg\u002Fchannels","Channels",{"path":131,"title":132,"section":120},"\u002Fpkg\u002Fdb","Db",{"id":134,"title":110,"body":135,"description":273,"extension":274,"meta":275,"navigation":276,"path":109,"section":11,"seo":277,"stem":278,"__hash__":279},"pkg\u002Fpkg\u002Fswitch.md",{"type":136,"value":137,"toc":269},"minimark",[138,151,154,159,218,222,265],[139,140,141,142,146,147,150],"p",{},"A control that indicates whether a setting is on or off. Wrap it in a ",[143,144,145],"code",{},"\u003Clabel>"," for an accessible name. ",[143,148,149],{},"color"," sets the off wash and the on accent. There is no border.",[152,153],"base-switch-demo",{},[155,156,158],"h2",{"id":157},"anatomy","Anatomy",[160,161,166],"pre",{"className":162,"code":163,"language":164,"meta":165,"style":165},"language-vue shiki shiki-themes github-light github-dark","\u003Clabel>\n  \u003CUiSwitchRoot default-checked>\n    \u003CUiSwitchThumb \u002F>\n  \u003C\u002FUiSwitchRoot>\n  Notifications\n\u003C\u002Flabel>\n","vue","",[143,167,168,184,190,196,202,208],{"__ignoreMap":165},[169,170,173,177,181],"span",{"class":171,"line":172},"line",1,[169,174,176],{"class":175},"sVt8B","\u003C",[169,178,180],{"class":179},"s9eBZ","label",[169,182,183],{"class":175},">\n",[169,185,187],{"class":171,"line":186},2,[169,188,189],{"class":175},"  \u003CUiSwitchRoot default-checked>\n",[169,191,193],{"class":171,"line":192},3,[169,194,195],{"class":175},"    \u003CUiSwitchThumb \u002F>\n",[169,197,199],{"class":171,"line":198},4,[169,200,201],{"class":175},"  \u003C\u002FUiSwitchRoot>\n",[169,203,205],{"class":171,"line":204},5,[169,206,207],{"class":175},"  Notifications\n",[169,209,211,214,216],{"class":171,"line":210},6,[169,212,213],{"class":175},"\u003C\u002F",[169,215,180],{"class":179},[169,217,183],{"class":175},[155,219,221],{"id":220},"parts","Parts",[223,224,225,259],"ul",{},[226,227,228,232,233,236,237,240,241,244,245,244,248,251,252,240,255,258],"li",{},[229,230,231],"strong",{},"Root"," — ",[143,234,235],{},"role=\"switch\"",". ",[143,238,239],{},"checked"," \u002F ",[143,242,243],{},"defaultChecked",", ",[143,246,247],{},"disabled",[143,249,250],{},"readOnly",". Space and Enter toggle. ",[143,253,254],{},"data-checked",[143,256,257],{},"data-unchecked",".",[226,260,261,264],{},[229,262,263],{},"Thumb"," — slides with a short CSS transform. No animation library.",[266,267,268],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}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":165,"searchDepth":186,"depth":186,"links":270},[271,272],{"id":157,"depth":186,"text":158},{"id":220,"depth":186,"text":221},"A control that indicates on or off","md",{},true,{"title":110,"description":273},"pkg\u002Fswitch","BOZ0jbGhEUCMtcbtLq3vo5Vi0w5q55vhGNY48EohK7U",1791043755199]