[{"data":1,"prerenderedAt":1129},["ShallowReactive",2],{"navigation":3,"\u002Fcomponents\u002Fswitch\u002Fdeveloper":439},[4,30,256,281,366,375,402,424],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":16,"path":17,"stem":18,"icon":19},"Nuxt","\u002Fgetting-started\u002Fnuxt","1.getting-started\u002F3.nuxt","i-lucide-mountain",{"title":21,"path":22,"stem":23,"icon":24},"Theming","\u002Fgetting-started\u002Ftheming","1.getting-started\u002F4.theming","i-lucide-palette",{"title":26,"path":27,"stem":28,"icon":29},"MCP","\u002Fgetting-started\u002Fmcp","1.getting-started\u002F5.mcp","i-lucide-plug",{"title":31,"icon":6,"path":32,"stem":33,"children":34,"page":6},"Components","\u002Fcomponents","2.components",[35,43,51,59,67,75,83,92,100,104,108,116,124,133,141,149,157,166,174,182,191,199,203,211,220,228,236,240,248],{"title":36,"path":37,"stem":38,"children":39,"page":6},"Accordion","\u002Fcomponents\u002Faccordion","2.components\u002F01.accordion",[40],{"title":36,"path":41,"stem":42},"\u002Fcomponents\u002Faccordion\u002Foverview","2.components\u002F01.accordion\u002F1.overview",{"title":44,"path":45,"stem":46,"children":47,"page":6},"Alert","\u002Fcomponents\u002Falert","2.components\u002F02.alert",[48],{"title":44,"path":49,"stem":50},"\u002Fcomponents\u002Falert\u002Foverview","2.components\u002F02.alert\u002F1.overview",{"title":52,"path":53,"stem":54,"children":55,"page":6},"Button","\u002Fcomponents\u002Fbutton","2.components\u002F03.button",[56],{"title":52,"path":57,"stem":58},"\u002Fcomponents\u002Fbutton\u002Foverview","2.components\u002F03.button\u002F1.overview",{"title":60,"path":61,"stem":62,"children":63,"page":6},"Card","\u002Fcomponents\u002Fcard","2.components\u002F04.card",[64],{"title":60,"path":65,"stem":66},"\u002Fcomponents\u002Fcard\u002Foverview","2.components\u002F04.card\u002F1.overview",{"title":68,"path":69,"stem":70,"children":71,"page":6},"Carousel","\u002Fcomponents\u002Fcarousel","2.components\u002F05.carousel",[72],{"title":68,"path":73,"stem":74},"\u002Fcomponents\u002Fcarousel\u002Foverview","2.components\u002F05.carousel\u002F1.overview",{"title":76,"path":77,"stem":78,"children":79,"page":6},"Checkbox","\u002Fcomponents\u002Fcheckbox","2.components\u002F06.checkbox",[80],{"title":76,"path":81,"stem":82},"\u002Fcomponents\u002Fcheckbox\u002Foverview","2.components\u002F06.checkbox\u002F1.overview",{"title":84,"path":85,"stem":86,"children":87,"page":6},"Date Picker","\u002Fcomponents\u002Fdate-picker","2.components\u002F07.date-picker",[88],{"title":89,"path":90,"stem":91},"Date picker","\u002Fcomponents\u002Fdate-picker\u002Foverview","2.components\u002F07.date-picker\u002F1.overview",{"title":93,"path":94,"stem":95,"children":96,"page":6},"Dropdown","\u002Fcomponents\u002Fdropdown","2.components\u002F08.dropdown",[97],{"title":93,"path":98,"stem":99},"\u002Fcomponents\u002Fdropdown\u002Foverview","2.components\u002F08.dropdown\u002F1.overview",{"title":101,"path":102,"stem":103},"Heading","\u002Fcomponents\u002Fheading","2.components\u002F09.heading",{"title":105,"path":106,"stem":107},"Icon","\u002Fcomponents\u002Ficon","2.components\u002F10.icon",{"title":109,"path":110,"stem":111,"children":112,"page":6},"Input","\u002Fcomponents\u002Finput","2.components\u002F11.input",[113],{"title":109,"path":114,"stem":115},"\u002Fcomponents\u002Finput\u002Foverview","2.components\u002F11.input\u002F1.overview",{"title":117,"path":118,"stem":119,"children":120,"page":6},"Label","\u002Fcomponents\u002Flabel","2.components\u002F12.label",[121],{"title":117,"path":122,"stem":123},"\u002Fcomponents\u002Flabel\u002Foverview","2.components\u002F12.label\u002F1.overview",{"title":125,"path":126,"stem":127,"children":128,"page":6},"Phone Number","\u002Fcomponents\u002Fphone-number","2.components\u002F13.phone-number",[129],{"title":130,"path":131,"stem":132},"Phone number","\u002Fcomponents\u002Fphone-number\u002Foverview","2.components\u002F13.phone-number\u002F1.overview",{"title":134,"path":135,"stem":136,"children":137,"page":6},"Popover","\u002Fcomponents\u002Fpopover","2.components\u002F14.popover",[138],{"title":134,"path":139,"stem":140},"\u002Fcomponents\u002Fpopover\u002Foverview","2.components\u002F14.popover\u002F1.overview",{"title":142,"path":143,"stem":144,"children":145,"page":6},"Quantity","\u002Fcomponents\u002Fquantity","2.components\u002F15.quantity",[146],{"title":142,"path":147,"stem":148},"\u002Fcomponents\u002Fquantity\u002Foverview","2.components\u002F15.quantity\u002F1.overview",{"title":150,"path":151,"stem":152,"children":153,"page":6},"Radio","\u002Fcomponents\u002Fradio","2.components\u002F16.radio",[154],{"title":150,"path":155,"stem":156},"\u002Fcomponents\u002Fradio\u002Foverview","2.components\u002F16.radio\u002F1.overview",{"title":158,"path":159,"stem":160,"children":161,"page":6},"Radio Group","\u002Fcomponents\u002Fradio-group","2.components\u002F17.radio-group",[162],{"title":163,"path":164,"stem":165},"Radio group","\u002Fcomponents\u002Fradio-group\u002Foverview","2.components\u002F17.radio-group\u002F1.overview",{"title":167,"path":168,"stem":169,"children":170,"page":6},"Rating","\u002Fcomponents\u002Frating","2.components\u002F18.rating",[171],{"title":167,"path":172,"stem":173},"\u002Fcomponents\u002Frating\u002Foverview","2.components\u002F18.rating\u002F1.overview",{"title":175,"path":176,"stem":177,"children":178,"page":6},"Required","\u002Fcomponents\u002Frequired","2.components\u002F19.required",[179],{"title":175,"path":180,"stem":181},"\u002Fcomponents\u002Frequired\u002Foverview","2.components\u002F19.required\u002F1.overview",{"title":183,"path":184,"stem":185,"children":186,"page":6},"Scroll Area","\u002Fcomponents\u002Fscroll-area","2.components\u002F20.scroll-area",[187],{"title":188,"path":189,"stem":190},"Scroll area","\u002Fcomponents\u002Fscroll-area\u002Foverview","2.components\u002F20.scroll-area\u002F1.overview",{"title":192,"path":193,"stem":194,"children":195,"page":6},"Select","\u002Fcomponents\u002Fselect","2.components\u002F21.select",[196],{"title":192,"path":197,"stem":198},"\u002Fcomponents\u002Fselect\u002Foverview","2.components\u002F21.select\u002F1.overview",{"title":200,"path":201,"stem":202},"Spinner","\u002Fcomponents\u002Fspinner","2.components\u002F22.spinner",{"title":204,"path":205,"stem":206,"children":207,"page":6},"Switch","\u002Fcomponents\u002Fswitch","2.components\u002F23.switch",[208],{"title":204,"path":209,"stem":210},"\u002Fcomponents\u002Fswitch\u002Foverview","2.components\u002F23.switch\u002F1.overview",{"title":212,"path":213,"stem":214,"children":215,"page":6},"Tab Badge","\u002Fcomponents\u002Ftab-badge","2.components\u002F24.tab-badge",[216],{"title":217,"path":218,"stem":219},"Tab badge","\u002Fcomponents\u002Ftab-badge\u002Foverview","2.components\u002F24.tab-badge\u002F1.overview",{"title":221,"path":222,"stem":223,"children":224,"page":6},"Tabs","\u002Fcomponents\u002Ftabs","2.components\u002F25.tabs",[225],{"title":221,"path":226,"stem":227},"\u002Fcomponents\u002Ftabs\u002Foverview","2.components\u002F25.tabs\u002F1.overview",{"title":229,"path":230,"stem":231,"children":232,"page":6},"Tag","\u002Fcomponents\u002Ftag","2.components\u002F26.tag",[233],{"title":229,"path":234,"stem":235},"\u002Fcomponents\u002Ftag\u002Foverview","2.components\u002F26.tag\u002F1.overview",{"title":237,"path":238,"stem":239},"Text","\u002Fcomponents\u002Ftext","2.components\u002F27.text",{"title":241,"path":242,"stem":243,"children":244,"page":6},"Textarea","\u002Fcomponents\u002Ftextarea","2.components\u002F28.textarea",[245],{"title":241,"path":246,"stem":247},"\u002Fcomponents\u002Ftextarea\u002Foverview","2.components\u002F28.textarea\u002F1.overview",{"title":249,"path":250,"stem":251,"children":252,"page":6},"Tooltip","\u002Fcomponents\u002Ftooltip","2.components\u002F29.tooltip",[253],{"title":249,"path":254,"stem":255},"\u002Fcomponents\u002Ftooltip\u002Foverview","2.components\u002F29.tooltip\u002F1.overview",{"title":257,"icon":6,"path":258,"stem":259,"children":260,"page":6},"Foundations","\u002Ffoundations","2.foundations",[261,269,273,277],{"title":262,"icon":6,"path":263,"stem":264,"children":265,"page":6},"Color","\u002Ffoundations\u002Fcolor","2.foundations\u002F1.color",[266],{"title":262,"path":267,"stem":268},"\u002Ffoundations\u002Fcolor\u002Foverview","2.foundations\u002F1.color\u002F1.overview",{"title":270,"path":271,"stem":272},"Icons","\u002Ffoundations\u002Ficons","2.foundations\u002F2.icons",{"title":274,"path":275,"stem":276},"Logos and Pins","\u002Ffoundations\u002Flogos-and-pins","2.foundations\u002F3.logos-and-pins",{"title":278,"path":279,"stem":280},"Web layers","\u002Ffoundations\u002Fweb-layers","2.foundations\u002F4.web-layers",{"title":282,"icon":6,"path":283,"stem":284,"children":285,"page":6},"WIP","\u002Fwip","3.wip",[286,290,294,298,302,306,310,314,318,322,326,330,334,338,342,346,350,354,358,362],{"title":287,"path":288,"stem":289},"Additional","\u002Fwip\u002Fadditional","3.wip\u002Fadditional",{"title":291,"path":292,"stem":293},"Alt text","\u002Fwip\u002Falt-text","3.wip\u002Falt-text",{"title":295,"path":296,"stem":297},"AnnouncementBar","\u002Fwip\u002Fannouncement-bar","3.wip\u002Fannouncement-bar",{"title":299,"path":300,"stem":301},"Avatar","\u002Fwip\u002Favatar","3.wip\u002Favatar",{"title":303,"path":304,"stem":305},"Banner","\u002Fwip\u002Fbanner","3.wip\u002Fbanner",{"title":307,"path":308,"stem":309},"Breadcrumbs","\u002Fwip\u002Fbreadcrumbs","3.wip\u002Fbreadcrumbs",{"title":311,"path":312,"stem":313},"Divider & scroll","\u002Fwip\u002Fdivider-scroll","3.wip\u002Fdivider-scroll",{"title":315,"path":316,"stem":317},"FieldMessage","\u002Fwip\u002Ffield-message","3.wip\u002Ffield-message",{"title":319,"path":320,"stem":321},"Focus Ring","\u002Fwip\u002Ffocus-ring","3.wip\u002Ffocus-ring",{"title":323,"path":324,"stem":325},"InlineSeparator","\u002Fwip\u002Finline-separator","3.wip\u002Finline-separator",{"title":327,"path":328,"stem":329},"Modal & drawer","\u002Fwip\u002Fmodal-drawer","3.wip\u002Fmodal-drawer",{"title":331,"path":332,"stem":333},"Optional","\u002Fwip\u002Foptional","3.wip\u002Foptional",{"title":335,"path":336,"stem":337},"Pagination","\u002Fwip\u002Fpagination","3.wip\u002Fpagination",{"title":339,"path":340,"stem":341},"PasswordInput","\u002Fwip\u002Fpassword-input","3.wip\u002Fpassword-input",{"title":343,"path":344,"stem":345},"Pinned bar page","\u002Fwip\u002Fpinned-bar-page","3.wip\u002Fpinned-bar-page",{"title":347,"path":348,"stem":349},"PromotionalBar","\u002Fwip\u002Fpromotional-bar","3.wip\u002Fpromotional-bar",{"title":351,"path":352,"stem":353},"SearchInput","\u002Fwip\u002Fsearch-input","3.wip\u002Fsearch-input",{"title":355,"path":356,"stem":357},"StatusLine","\u002Fwip\u002Fstatus-line","3.wip\u002Fstatus-line",{"title":359,"path":360,"stem":361},"Stepper & loaderBar","\u002Fwip\u002Fstepper-loader-bar","3.wip\u002Fstepper-loader-bar",{"title":363,"path":364,"stem":365},"TextInput","\u002Fwip\u002Ftext-input","3.wip\u002Ftext-input",{"title":367,"icon":6,"path":368,"stem":369,"children":370,"page":6},"Overview","\u002Foverview","4.overview",[371],{"title":372,"path":373,"stem":374},"For developers","\u002Foverview\u002Ffor-developers","4.overview\u002F1.for-developers",{"title":376,"icon":6,"path":377,"stem":378,"children":379,"page":6},"Brand","\u002Fbrand","5.brand",[380,389],{"title":381,"icon":6,"path":382,"stem":383,"children":384,"page":6},"Brand guidelines","\u002Fbrand\u002Fbrand-guidelines","5.brand\u002F1.brand-guidelines",[385],{"title":386,"path":387,"stem":388},"Dr. Max Trademarks Guidelines","\u002Fbrand\u002Fbrand-guidelines\u002Fdr-max-trademarks-guidelines","5.brand\u002F1.brand-guidelines\u002F2.dr-max-trademarks-guidelines",{"title":390,"icon":6,"path":391,"stem":392,"children":393,"page":6},"Assets","\u002Fbrand\u002Fassets","5.brand\u002F2.assets",[394,398],{"title":395,"path":396,"stem":397},"Logos","\u002Fbrand\u002Fassets\u002Flogos","5.brand\u002F2.assets\u002F2.logos",{"title":399,"path":400,"stem":401},"Dr. Max Tagline","\u002Fbrand\u002Fassets\u002Fdr-max-tagline","5.brand\u002F2.assets\u002F3.dr-max-tagline",{"title":403,"icon":6,"path":404,"stem":405,"children":406,"page":6},"Content","\u002Fcontent","6.content",[407,411],{"title":408,"path":409,"stem":410},"Content accessibility","\u002Fcontent\u002Fcontent-accessibility","6.content\u002F1.content-accessibility",{"title":412,"icon":6,"path":413,"stem":414,"children":415,"page":6},"Content guidance","\u002Fcontent\u002Fcontent-guidelines","6.content\u002F2.content-guidelines",[416,420],{"title":417,"path":418,"stem":419},"Category color-coding","\u002Fcontent\u002Fcontent-guidelines\u002Fcategory-color-coding","6.content\u002F2.content-guidelines\u002F2.category-color-coding",{"title":421,"path":422,"stem":423},"Pop-up banners","\u002Fcontent\u002Fcontent-guidelines\u002Fpop-up-banners","6.content\u002F2.content-guidelines\u002F3.pop-up-banners",{"title":425,"icon":6,"path":426,"stem":427,"children":428,"page":6},"Accessibility","\u002Faccessibility","7.accessibility",[429],{"title":430,"path":431,"stem":432,"children":433,"icon":6},"Accessibility guidance","\u002Faccessibility\u002Faccessibility-guidance","7.accessibility\u002F1.accessibility-guidance\u002F1.index",[434,435],{"title":425,"path":431,"stem":432},{"title":436,"path":437,"stem":438},"Understanding WCAG 2.2","\u002Faccessibility\u002Faccessibility-guidance\u002Funderstanding-wcag-2-2","7.accessibility\u002F1.accessibility-guidance\u002F2.understanding-wcag-2-2",{"id":440,"title":204,"body":441,"description":1121,"extension":1122,"links":1123,"meta":1124,"navigation":6,"path":1125,"seo":1126,"stem":1127,"__hash__":1128},"docs\u002F2.components\u002F23.switch\u002F3.developer.md",{"type":442,"value":443,"toc":1111},"minimark",[444,449,491,495,499,506,689,693,698,758,762,772,867,871,880,1007,1011,1017,1099,1103,1107],[445,446,448],"h2",{"id":447},"import","Import",[450,451,456],"pre",{"className":452,"code":453,"language":454,"meta":455,"style":455},"language-ts shiki shiki-themes material-theme-palenight","import { Switch } from \"@dr-max\u002Fui\u002Fswitch\"\n","ts","",[457,458,459],"code",{"__ignoreMap":455},[460,461,464,467,471,475,478,481,484,488],"span",{"class":462,"line":463},"line",1,[460,465,447],{"class":466},"s6cf3",[460,468,470],{"class":469},"sAklC"," {",[460,472,474],{"class":473},"s0W1g"," Switch",[460,476,477],{"class":469}," }",[460,479,480],{"class":466}," from",[460,482,483],{"class":469}," \"",[460,485,487],{"class":486},"sfyAc","@dr-max\u002Fui\u002Fswitch",[460,489,490],{"class":469},"\"\n",[492,493,494],"p",{},"The entry carries its own precompiled CSS (including the styles of the Required and Spinner parts it composes) — no extra style imports needed.",[445,496,498],{"id":497},"usage","Usage",[492,500,501,502,505],{},"The on\u002Foff state is controlled — bind it with ",[457,503,504],{},"v-model",":",[507,508,509,514],"code-preview",{},[510,511],"ui-switch",{"label":512,":model-value":513},"Email notifications","true",[515,516,517],"template",{"v-slot:code":455},[450,518,522],{"className":519,"code":520,"language":521,"meta":455,"style":455},"language-vue shiki shiki-themes material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { Switch } from \"@dr-max\u002Fui\u002Fswitch\"\nimport { ref } from \"vue\"\n\nconst notifications = ref(true)\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSwitch v-model=\"notifications\" label=\"Email notifications\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[457,523,524,553,572,592,599,622,632,637,646,680],{"__ignoreMap":455},[460,525,526,529,533,537,540,543,546,548,550],{"class":462,"line":463},[460,527,528],{"class":469},"\u003C",[460,530,532],{"class":531},"s-wAU","script",[460,534,536],{"class":535},"sJ14y"," setup",[460,538,539],{"class":535}," lang",[460,541,542],{"class":469},"=",[460,544,545],{"class":469},"\"",[460,547,454],{"class":486},[460,549,545],{"class":469},[460,551,552],{"class":469},">\n",[460,554,556,558,560,562,564,566,568,570],{"class":462,"line":555},2,[460,557,447],{"class":466},[460,559,470],{"class":469},[460,561,474],{"class":473},[460,563,477],{"class":469},[460,565,480],{"class":466},[460,567,483],{"class":469},[460,569,487],{"class":486},[460,571,490],{"class":469},[460,573,575,577,579,582,584,586,588,590],{"class":462,"line":574},3,[460,576,447],{"class":466},[460,578,470],{"class":469},[460,580,581],{"class":473}," ref",[460,583,477],{"class":469},[460,585,480],{"class":466},[460,587,483],{"class":469},[460,589,521],{"class":486},[460,591,490],{"class":469},[460,593,595],{"class":462,"line":594},4,[460,596,598],{"emptyLinePlaceholder":597},true,"\n",[460,600,602,605,608,610,613,616,619],{"class":462,"line":601},5,[460,603,604],{"class":535},"const",[460,606,607],{"class":473}," notifications ",[460,609,542],{"class":469},[460,611,581],{"class":612},"sdLwU",[460,614,615],{"class":473},"(",[460,617,513],{"class":618},"sbqyR",[460,620,621],{"class":473},")\n",[460,623,625,628,630],{"class":462,"line":624},6,[460,626,627],{"class":469},"\u003C\u002F",[460,629,532],{"class":531},[460,631,552],{"class":469},[460,633,635],{"class":462,"line":634},7,[460,636,598],{"emptyLinePlaceholder":597},[460,638,640,642,644],{"class":462,"line":639},8,[460,641,528],{"class":469},[460,643,515],{"class":531},[460,645,552],{"class":469},[460,647,649,652,654,657,659,661,664,666,669,671,673,675,677],{"class":462,"line":648},9,[460,650,651],{"class":469},"  \u003C",[460,653,204],{"class":531},[460,655,656],{"class":535}," v-model",[460,658,542],{"class":469},[460,660,545],{"class":469},[460,662,663],{"class":473},"notifications",[460,665,545],{"class":469},[460,667,668],{"class":535}," label",[460,670,542],{"class":469},[460,672,545],{"class":469},[460,674,512],{"class":486},[460,676,545],{"class":469},[460,678,679],{"class":469}," \u002F>\n",[460,681,683,685,687],{"class":462,"line":682},10,[460,684,627],{"class":469},[460,686,515],{"class":531},[460,688,552],{"class":469},[690,691,175],"h3",{"id":692},"required",[492,694,695,697],{},[457,696,692],{}," marks the native input as required and renders the visual required indicator:",[507,699,700,703],{},[510,701],{"label":702,":required":513},"Accept data processing",[515,704,705],{"v-slot:code":455},[450,706,708],{"className":519,"code":707,"language":521,"meta":455,"style":455},"\u003Ctemplate>\n  \u003CSwitch v-model=\"accepted\" label=\"Accept data processing\" required \u002F>\n\u003C\u002Ftemplate>\n",[457,709,710,718,750],{"__ignoreMap":455},[460,711,712,714,716],{"class":462,"line":463},[460,713,528],{"class":469},[460,715,515],{"class":531},[460,717,552],{"class":469},[460,719,720,722,724,726,728,730,733,735,737,739,741,743,745,748],{"class":462,"line":555},[460,721,651],{"class":469},[460,723,204],{"class":531},[460,725,656],{"class":535},[460,727,542],{"class":469},[460,729,545],{"class":469},[460,731,732],{"class":473},"accepted",[460,734,545],{"class":469},[460,736,668],{"class":535},[460,738,542],{"class":469},[460,740,545],{"class":469},[460,742,702],{"class":486},[460,744,545],{"class":469},[460,746,747],{"class":535}," required",[460,749,679],{"class":469},[460,751,752,754,756],{"class":462,"line":574},[460,753,627],{"class":469},[460,755,515],{"class":531},[460,757,552],{"class":469},[690,759,761],{"id":760},"disabled-and-loading","Disabled and loading",[492,763,764,767,768,771],{},[457,765,766],{},"disabled"," disables the native input; ",[457,769,770],{},"loading"," shows a spinner and disables interaction:",[507,773,774,777,780],{},[510,775],{"label":776,":disabled":513},"Unavailable setting",[510,778],{"label":779,":model-value":513,":loading":513},"Saving your preference",[515,781,782],{"v-slot:code":455},[450,783,785],{"className":519,"code":784,"language":521,"meta":455,"style":455},"\u003Ctemplate>\n  \u003CSwitch v-model=\"unavailable\" label=\"Unavailable setting\" disabled \u002F>\n  \u003CSwitch v-model=\"saving\" label=\"Saving your preference\" loading \u002F>\n\u003C\u002Ftemplate>\n",[457,786,787,795,827,859],{"__ignoreMap":455},[460,788,789,791,793],{"class":462,"line":463},[460,790,528],{"class":469},[460,792,515],{"class":531},[460,794,552],{"class":469},[460,796,797,799,801,803,805,807,810,812,814,816,818,820,822,825],{"class":462,"line":555},[460,798,651],{"class":469},[460,800,204],{"class":531},[460,802,656],{"class":535},[460,804,542],{"class":469},[460,806,545],{"class":469},[460,808,809],{"class":473},"unavailable",[460,811,545],{"class":469},[460,813,668],{"class":535},[460,815,542],{"class":469},[460,817,545],{"class":469},[460,819,776],{"class":486},[460,821,545],{"class":469},[460,823,824],{"class":535}," disabled",[460,826,679],{"class":469},[460,828,829,831,833,835,837,839,842,844,846,848,850,852,854,857],{"class":462,"line":574},[460,830,651],{"class":469},[460,832,204],{"class":531},[460,834,656],{"class":535},[460,836,542],{"class":469},[460,838,545],{"class":469},[460,840,841],{"class":473},"saving",[460,843,545],{"class":469},[460,845,668],{"class":535},[460,847,542],{"class":469},[460,849,545],{"class":469},[460,851,779],{"class":486},[460,853,545],{"class":469},[460,855,856],{"class":535}," loading",[460,858,679],{"class":469},[460,860,861,863,865],{"class":462,"line":594},[460,862,627],{"class":469},[460,864,515],{"class":531},[460,866,552],{"class":469},[690,868,870],{"id":869},"validation-errors","Validation errors",[492,872,873,876,877,505],{},[457,874,875],{},"errors"," render below the switch once validation is ",[457,878,879],{},"touched",[507,881,882,885],{},[510,883],{"label":702,":errors":884,":touched":513},"[{\"label\":\"You must accept data processing\",\"param\":\"required\"}]",[515,886,887],{"v-slot:code":455},[450,888,890],{"className":519,"code":889,"language":521,"meta":455,"style":455},"\u003Ctemplate>\n  \u003CSwitch\n    v-model=\"accepted\"\n    label=\"Accept data processing\"\n    :touched=\"true\"\n    :errors=\"[{ label: 'You must accept data processing', param: 'required' }]\"\n  \u002F>\n\u003C\u002Ftemplate>\n",[457,891,892,900,907,920,933,948,994,999],{"__ignoreMap":455},[460,893,894,896,898],{"class":462,"line":463},[460,895,528],{"class":469},[460,897,515],{"class":531},[460,899,552],{"class":469},[460,901,902,904],{"class":462,"line":555},[460,903,651],{"class":469},[460,905,906],{"class":531},"Switch\n",[460,908,909,912,914,916,918],{"class":462,"line":574},[460,910,911],{"class":535},"    v-model",[460,913,542],{"class":469},[460,915,545],{"class":469},[460,917,732],{"class":473},[460,919,490],{"class":469},[460,921,922,925,927,929,931],{"class":462,"line":594},[460,923,924],{"class":535},"    label",[460,926,542],{"class":469},[460,928,545],{"class":469},[460,930,702],{"class":486},[460,932,490],{"class":469},[460,934,935,938,940,942,944,946],{"class":462,"line":601},[460,936,937],{"class":469},"    :",[460,939,879],{"class":535},[460,941,542],{"class":469},[460,943,545],{"class":469},[460,945,513],{"class":618},[460,947,490],{"class":469},[460,949,950,952,954,956,958,961,964,967,970,973,975,978,981,983,985,987,989,992],{"class":462,"line":624},[460,951,937],{"class":469},[460,953,875],{"class":535},[460,955,542],{"class":469},[460,957,545],{"class":469},[460,959,960],{"class":469},"[{ ",[460,962,963],{"class":531},"label",[460,965,966],{"class":469},": ",[460,968,969],{"class":469},"'",[460,971,972],{"class":486},"You must accept data processing",[460,974,969],{"class":469},[460,976,977],{"class":469},", ",[460,979,980],{"class":531},"param",[460,982,966],{"class":469},[460,984,969],{"class":469},[460,986,692],{"class":486},[460,988,969],{"class":469},[460,990,991],{"class":469}," }]",[460,993,490],{"class":469},[460,995,996],{"class":462,"line":634},[460,997,998],{"class":469},"  \u002F>\n",[460,1000,1001,1003,1005],{"class":462,"line":639},[460,1002,627],{"class":469},[460,1004,515],{"class":531},[460,1006,552],{"class":469},[690,1008,1010],{"id":1009},"custom-label","Custom label",[492,1012,1013,1014,1016],{},"The default slot takes precedence over the ",[457,1015,963],{}," prop when the label needs markup:",[450,1018,1020],{"className":519,"code":1019,"language":521,"meta":455,"style":455},"\u003Ctemplate>\n  \u003CSwitch v-model=\"accepted\">\n    Accept \u003Ca href=\"\u002Fprivacy\">data processing\u003C\u002Fa>\n  \u003C\u002FSwitch>\n\u003C\u002Ftemplate>\n",[457,1021,1022,1030,1048,1082,1091],{"__ignoreMap":455},[460,1023,1024,1026,1028],{"class":462,"line":463},[460,1025,528],{"class":469},[460,1027,515],{"class":531},[460,1029,552],{"class":469},[460,1031,1032,1034,1036,1038,1040,1042,1044,1046],{"class":462,"line":555},[460,1033,651],{"class":469},[460,1035,204],{"class":531},[460,1037,656],{"class":535},[460,1039,542],{"class":469},[460,1041,545],{"class":469},[460,1043,732],{"class":473},[460,1045,545],{"class":469},[460,1047,552],{"class":469},[460,1049,1050,1053,1055,1058,1061,1063,1065,1068,1070,1073,1076,1078,1080],{"class":462,"line":574},[460,1051,1052],{"class":473},"    Accept ",[460,1054,528],{"class":469},[460,1056,1057],{"class":531},"a",[460,1059,1060],{"class":535}," href",[460,1062,542],{"class":469},[460,1064,545],{"class":469},[460,1066,1067],{"class":486},"\u002Fprivacy",[460,1069,545],{"class":469},[460,1071,1072],{"class":469},">",[460,1074,1075],{"class":473},"data processing",[460,1077,627],{"class":469},[460,1079,1057],{"class":531},[460,1081,552],{"class":469},[460,1083,1084,1087,1089],{"class":462,"line":594},[460,1085,1086],{"class":469},"  \u003C\u002F",[460,1088,204],{"class":531},[460,1090,552],{"class":469},[460,1092,1093,1095,1097],{"class":462,"line":601},[460,1094,627],{"class":469},[460,1096,515],{"class":531},[460,1098,552],{"class":469},[445,1100,1102],{"id":1101},"playground","Playground",[1104,1105],"component-playground",{"component":1106},"switch",[1108,1109,1110],"style",{},"html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}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 pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .sbqyR, html code.shiki .sbqyR{--shiki-default:#FF9CAC}",{"title":455,"searchDepth":463,"depth":555,"links":1112},[1113,1114,1120],{"id":447,"depth":555,"text":448},{"id":497,"depth":555,"text":498,"children":1115},[1116,1117,1118,1119],{"id":692,"depth":574,"text":175},{"id":760,"depth":574,"text":761},{"id":869,"depth":574,"text":870},{"id":1009,"depth":574,"text":1010},{"id":1101,"depth":555,"text":1102},"Let users toggle a setting on or off.","md",null,{},"\u002Fcomponents\u002Fswitch\u002Fdeveloper",{"title":204,"description":1121},"2.components\u002F23.switch\u002F3.developer","kMdrj3BWZBJtcciGu3N6IhWQmvqv1eB2CtdyLNE02xQ",1793289683056]