[{"data":1,"prerenderedAt":1140},["ShallowReactive",2],{"navigation":3,"\u002Fcomponents\u002Ftoggle":460,"\u002Fcomponents\u002Ftoggle-surround":1135},[4,34,51,301,327,332,337,406],{"title":5,"path":6,"stem":7,"children":8,"package":11,"icon":33},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,13,18,23,28],{"title":10,"path":6,"stem":7,"package":11,"icon":12},"Introduction",null,"i-lucide-house",{"title":14,"path":15,"stem":16,"package":11,"icon":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":19,"path":20,"stem":21,"package":11,"icon":22},"Icons","\u002Fgetting-started\u002Ficons","1.getting-started\u002F3.icons","i-lucide-sparkles",{"title":24,"path":25,"stem":26,"package":11,"icon":27},"CLI","\u002Fgetting-started\u002Fcli","1.getting-started\u002F4.cli","i-lucide-terminal",{"title":29,"path":30,"stem":31,"package":11,"icon":32},"Roadmap","\u002Fgetting-started\u002Froadmap","1.getting-started\u002F5.roadmap","i-lucide-map","i-lucide-rocket",{"title":35,"package":11,"icon":36,"path":37,"stem":38,"children":39,"page":50},"Packages","i-lucide-package","\u002Fpackages","2.packages",[40,45],{"title":41,"path":42,"stem":43,"package":11,"icon":44},"@vyui\u002Fcore","\u002Fpackages\u002Fcore","2.packages\u002F1.core","i-lucide-box",{"title":46,"path":47,"stem":48,"package":11,"icon":49},"@vyui\u002Fkit","\u002Fpackages\u002Fkit","2.packages\u002F2.kit","i-lucide-layers",false,{"title":52,"package":11,"icon":53,"path":54,"stem":55,"children":56},"Components","i-lucide-layout-grid","\u002Fcomponents","3.components",[57,59,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,144,149,153,158,163,168,173,178,183,188,193,198,203,208,213,218,223,228,233,238,242,246,251,256,261,266,271,276,280,284,288,292,296],{"title":52,"path":54,"stem":58,"package":11,"icon":53},"3.components\u002Findex",{"title":60,"path":61,"stem":62,"package":63,"icon":64},"Accordion","\u002Fcomponents\u002Faccordion","3.components\u002Faccordion","kit","i-lucide-list-collapse",{"title":66,"path":67,"stem":68,"package":63,"icon":69},"Action Sheet","\u002Fcomponents\u002Faction-sheet","3.components\u002Faction-sheet","i-lucide-panel-bottom",{"title":71,"path":72,"stem":73,"package":63,"icon":74},"Alert","\u002Fcomponents\u002Falert","3.components\u002Falert","i-lucide-triangle-alert",{"title":76,"path":77,"stem":78,"package":79,"icon":74},"Alert Dialog","\u002Fcomponents\u002Falert-dialog","3.components\u002Falert-dialog","core",{"title":81,"path":82,"stem":83,"package":63,"icon":84},"App","\u002Fcomponents\u002Fapp","3.components\u002Fapp","i-lucide-smartphone",{"title":86,"path":87,"stem":88,"package":63,"icon":89},"Aspect Ratio","\u002Fcomponents\u002Faspect-ratio","3.components\u002Faspect-ratio","i-lucide-ratio",{"title":91,"path":92,"stem":93,"package":63,"icon":94},"Avatar","\u002Fcomponents\u002Favatar","3.components\u002Favatar","i-lucide-circle-user-round",{"title":96,"path":97,"stem":98,"package":63,"icon":99},"Avatar Group","\u002Fcomponents\u002Favatar-group","3.components\u002Favatar-group","i-lucide-users-round",{"title":101,"path":102,"stem":103,"package":63,"icon":104},"Button","\u002Fcomponents\u002Fbutton","3.components\u002Fbutton","i-lucide-square-mouse-pointer",{"title":106,"path":107,"stem":108,"package":63,"icon":109},"Calendar","\u002Fcomponents\u002Fcalendar","3.components\u002Fcalendar","i-lucide-calendar-days",{"title":111,"path":112,"stem":113,"package":63,"icon":114},"Card","\u002Fcomponents\u002Fcard","3.components\u002Fcard","i-lucide-square",{"title":116,"path":117,"stem":118,"package":63,"icon":119},"Checkbox","\u002Fcomponents\u002Fcheckbox","3.components\u002Fcheckbox","i-lucide-square-check",{"title":121,"path":122,"stem":123,"package":79,"icon":124},"Collapsible","\u002Fcomponents\u002Fcollapsible","3.components\u002Fcollapsible","i-lucide-chevrons-down-up",{"title":126,"path":127,"stem":128,"package":79,"icon":129},"Dialog","\u002Fcomponents\u002Fdialog","3.components\u002Fdialog","i-lucide-app-window",{"title":131,"path":132,"stem":133,"package":79,"icon":134},"Draggable","\u002Fcomponents\u002Fdraggable","3.components\u002Fdraggable","i-lucide-move",{"title":136,"path":137,"stem":138,"package":63,"icon":139},"Form","\u002Fcomponents\u002Fform","3.components\u002Fform","i-lucide-clipboard-list",{"title":141,"path":142,"stem":143,"package":79,"icon":22},"Icon","\u002Fcomponents\u002Ficon","3.components\u002Ficon",{"title":145,"path":146,"stem":147,"package":63,"icon":148},"Input","\u002Fcomponents\u002Finput","3.components\u002Finput","i-lucide-text-cursor-input",{"title":150,"path":151,"stem":152,"package":63,"icon":69},"Island","\u002Fcomponents\u002Fisland","3.components\u002Fisland",{"title":154,"path":155,"stem":156,"package":63,"icon":157},"Island Button","\u002Fcomponents\u002Fisland-button","3.components\u002Fisland-button","i-lucide-circle-ellipsis",{"title":159,"path":160,"stem":161,"package":63,"icon":162},"Island Group","\u002Fcomponents\u002Fisland-group","3.components\u002Fisland-group","i-lucide-panels-top-left",{"title":164,"path":165,"stem":166,"package":63,"icon":167},"KeyboardAware","\u002Fcomponents\u002Fkeyboard-aware","3.components\u002Fkeyboard-aware","i-lucide-keyboard",{"title":169,"path":170,"stem":171,"package":63,"icon":172},"Label","\u002Fcomponents\u002Flabel","3.components\u002Flabel","i-lucide-tag",{"title":174,"path":175,"stem":176,"package":63,"icon":177},"Modal","\u002Fcomponents\u002Fmodal","3.components\u002Fmodal","i-lucide-gallery-vertical-end",{"title":179,"path":180,"stem":181,"package":79,"icon":182},"Navigation","\u002Fcomponents\u002Fnavigation","3.components\u002Fnavigation","i-lucide-route",{"title":184,"path":185,"stem":186,"package":63,"icon":187},"Number Field","\u002Fcomponents\u002Fnumber-field","3.components\u002Fnumber-field","i-lucide-list-plus",{"title":189,"path":190,"stem":191,"package":79,"icon":192},"Pagination","\u002Fcomponents\u002Fpagination","3.components\u002Fpagination","i-lucide-ellipsis",{"title":194,"path":195,"stem":196,"package":63,"icon":197},"Pin Input","\u002Fcomponents\u002Fpin-input","3.components\u002Fpin-input","i-lucide-key-round",{"title":199,"path":200,"stem":201,"package":63,"icon":202},"Placeholder","\u002Fcomponents\u002Fplaceholder","3.components\u002Fplaceholder","i-lucide-square-dashed",{"title":204,"path":205,"stem":206,"package":63,"icon":207},"Popover","\u002Fcomponents\u002Fpopover","3.components\u002Fpopover","i-lucide-message-square-more",{"title":209,"path":210,"stem":211,"package":63,"icon":212},"Progress","\u002Fcomponents\u002Fprogress","3.components\u002Fprogress","i-lucide-chart-no-axes-column-increasing",{"title":214,"path":215,"stem":216,"package":63,"icon":217},"Radio Group","\u002Fcomponents\u002Fradio-group","3.components\u002Fradio-group","i-lucide-circle-dot",{"title":219,"path":220,"stem":221,"package":63,"icon":222},"Rating","\u002Fcomponents\u002Frating","3.components\u002Frating","i-lucide-star",{"title":224,"path":225,"stem":226,"package":79,"icon":227},"Scroll View","\u002Fcomponents\u002Fscroll-view","3.components\u002Fscroll-view","i-lucide-scroll",{"title":229,"path":230,"stem":231,"package":63,"icon":232},"Select","\u002Fcomponents\u002Fselect","3.components\u002Fselect","i-lucide-list-check",{"title":234,"path":235,"stem":236,"package":63,"icon":237},"Separator","\u002Fcomponents\u002Fseparator","3.components\u002Fseparator","i-lucide-separator-horizontal",{"title":239,"path":240,"stem":241,"package":79,"icon":69},"Sheet","\u002Fcomponents\u002Fsheet","3.components\u002Fsheet",{"title":243,"path":244,"stem":245,"package":63,"icon":162},"Skeleton","\u002Fcomponents\u002Fskeleton","3.components\u002Fskeleton",{"title":247,"path":248,"stem":249,"package":63,"icon":250},"Slider","\u002Fcomponents\u002Fslider","3.components\u002Fslider","i-lucide-sliders-horizontal",{"title":252,"path":253,"stem":254,"package":63,"icon":255},"Sortable","\u002Fcomponents\u002Fsortable","3.components\u002Fsortable","i-lucide-list-restart",{"title":257,"path":258,"stem":259,"package":63,"icon":260},"Stepper","\u002Fcomponents\u002Fstepper","3.components\u002Fstepper","i-lucide-list-ordered",{"title":262,"path":263,"stem":264,"package":63,"icon":265},"Swipe Action","\u002Fcomponents\u002Fswipe-action","3.components\u002Fswipe-action","i-lucide-move-horizontal",{"title":267,"path":268,"stem":269,"package":63,"icon":270},"Swiper","\u002Fcomponents\u002Fswiper","3.components\u002Fswiper","i-lucide-gallery-horizontal-end",{"title":272,"path":273,"stem":274,"package":63,"icon":275},"Switch","\u002Fcomponents\u002Fswitch","3.components\u002Fswitch","i-lucide-toggle-right",{"title":277,"path":278,"stem":279,"package":63,"icon":162},"Tabs","\u002Fcomponents\u002Ftabs","3.components\u002Ftabs",{"title":281,"path":282,"stem":283,"package":63,"icon":148},"Textarea","\u002Fcomponents\u002Ftextarea","3.components\u002Ftextarea",{"title":285,"path":286,"stem":287,"package":63,"icon":207},"Toast","\u002Fcomponents\u002Ftoast","3.components\u002Ftoast",{"title":289,"path":290,"stem":291,"package":63,"icon":275},"Toggle","\u002Fcomponents\u002Ftoggle","3.components\u002Ftoggle",{"title":293,"path":294,"stem":295,"package":63,"icon":162},"Toggle Group","\u002Fcomponents\u002Ftoggle-group","3.components\u002Ftoggle-group",{"title":297,"path":298,"stem":299,"package":63,"icon":300},"Tray","\u002Fcomponents\u002Ftray","3.components\u002Ftray","i-lucide-square-dashed-bottom",{"title":302,"path":303,"stem":304,"children":305,"package":11,"icon":307},"Theming","\u002Ftheming","4.theming\u002F1.index",[306,308,312,317,322],{"title":302,"path":303,"stem":304,"package":11,"icon":307},"i-lucide-palette",{"title":309,"path":310,"stem":311,"package":11,"icon":250},"Overrides","\u002Ftheming\u002Foverrides","4.theming\u002F2.overrides",{"title":313,"path":314,"stem":315,"package":11,"icon":316},"Colors","\u002Ftheming\u002Fcolors","4.theming\u002F3.colors","i-lucide-swatch-book",{"title":318,"path":319,"stem":320,"package":11,"icon":321},"Dark Mode","\u002Ftheming\u002Fdark-mode","4.theming\u002F4.dark-mode","i-lucide-moon",{"title":323,"path":324,"stem":325,"package":11,"icon":326},"Fonts","\u002Ftheming\u002Ffonts","4.theming\u002F5.fonts","i-lucide-type",{"title":328,"path":329,"stem":330,"package":11,"icon":331},"Accessibility","\u002Faccessibility","5.accessibility","i-lucide-accessibility",{"title":333,"path":334,"stem":335,"package":11,"icon":336},"i18n","\u002Fi18n","6.i18n","i-lucide-languages",{"title":338,"path":339,"stem":340,"children":341,"package":11,"icon":343},"Composables","\u002Fcomposables","7.composables\u002F1.index",[342,344,349,354,359,364,369,374,378,383,387,391,396,401],{"title":338,"path":339,"stem":340,"package":11,"icon":343},"i-lucide-square-function",{"title":345,"path":346,"stem":347,"package":11,"icon":348},"useEmitAsProps","\u002Fcomposables\u002Fuse-emit-as-props","7.composables\u002F10.use-emit-as-props","i-lucide-zap",{"title":350,"path":351,"stem":352,"package":11,"icon":353},"useForwardPropsEmits","\u002Fcomposables\u002Fuse-forward-props-emits","7.composables\u002F11.use-forward-props-emits","i-lucide-merge",{"title":355,"path":356,"stem":357,"package":11,"icon":358},"useForwardExpose","\u002Fcomposables\u002Fuse-forward-expose","7.composables\u002F12.use-forward-expose","i-lucide-share-2",{"title":360,"path":361,"stem":362,"package":11,"icon":363},"useStateMachine","\u002Fcomposables\u002Fuse-state-machine","7.composables\u002F13.use-state-machine","i-lucide-workflow",{"title":365,"path":366,"stem":367,"package":11,"icon":368},"usePrimitiveElement","\u002Fcomposables\u002Fuse-primitive-element","7.composables\u002F14.use-primitive-element","i-lucide-crosshair",{"title":370,"path":371,"stem":372,"package":11,"icon":373},"useAppConfig","\u002Fcomposables\u002Fuse-app-config","7.composables\u002F2.use-app-config","i-lucide-settings",{"title":375,"path":376,"stem":377,"package":11,"icon":321},"useColorMode","\u002Fcomposables\u002Fuse-color-mode","7.composables\u002F3.use-color-mode",{"title":379,"path":380,"stem":381,"package":11,"icon":382},"useComponentIcons","\u002Fcomposables\u002Fuse-component-icons","7.composables\u002F4.use-component-icons","i-lucide-shapes",{"title":384,"path":385,"stem":386,"package":11,"icon":69},"useTray","\u002Fcomposables\u002Fuse-tray","7.composables\u002F5.use-tray",{"title":388,"path":389,"stem":390,"package":11,"icon":336},"i18n composables","\u002Fcomposables\u002Fi18n-composables","7.composables\u002F6.i18n-composables",{"title":392,"path":393,"stem":394,"package":11,"icon":395},"useId","\u002Fcomposables\u002Fuse-id","7.composables\u002F7.use-id","i-lucide-hash",{"title":397,"path":398,"stem":399,"package":11,"icon":400},"useFilter","\u002Fcomposables\u002Fuse-filter","7.composables\u002F8.use-filter","i-lucide-filter",{"title":402,"path":403,"stem":404,"package":11,"icon":405},"useForwardProps","\u002Fcomposables\u002Fuse-forward-props","7.composables\u002F9.use-forward-props","i-lucide-arrow-right-left",{"title":407,"path":408,"stem":409,"children":410,"package":11,"icon":412},"Guides","\u002Fguides","8.guides\u002F1.index",[411,413,417,422,427,432,437,441,446,450,455],{"title":407,"path":408,"stem":409,"package":11,"icon":412},"i-lucide-book-open",{"title":414,"path":415,"stem":416,"package":11,"icon":348},"Instant first-frame rendering","\u002Fguides\u002Finstant-first-frame-rendering","8.guides\u002F10.instant-first-frame-rendering",{"title":418,"path":419,"stem":420,"package":11,"icon":421},"Why use Vy UI","\u002Fguides\u002Fwhy-vy-ui","8.guides\u002F11.why-vy-ui","i-lucide-help-circle",{"title":423,"path":424,"stem":425,"package":11,"icon":426},"Lynx UI frameworks","\u002Fguides\u002Flynx-ui-frameworks","8.guides\u002F2.lynx-ui-frameworks","i-lucide-library",{"title":428,"path":429,"stem":430,"package":11,"icon":431},"What is Vue Lynx","\u002Fguides\u002Fvue-lynx","8.guides\u002F3.vue-lynx","i-lucide-component",{"title":433,"path":434,"stem":435,"package":11,"icon":436},"Lynx vs React Native","\u002Fguides\u002Flynx-vs-react-native","8.guides\u002F4.lynx-vs-react-native","i-lucide-git-compare",{"title":438,"path":439,"stem":440,"package":11,"icon":84},"Testing on your phone","\u002Fguides\u002Ftesting-on-device","8.guides\u002F5.testing-on-device",{"title":442,"path":443,"stem":444,"package":11,"icon":445},"Testing with Xcode","\u002Fguides\u002Ftesting-with-xcode","8.guides\u002F6.testing-with-xcode","i-lucide-apple",{"title":447,"path":448,"stem":449,"package":11,"icon":27},"The rspeedy dev server","\u002Fguides\u002Frspeedy-dev-server","8.guides\u002F7.rspeedy-dev-server",{"title":451,"path":452,"stem":453,"package":11,"icon":454},"Tailwind on Lynx","\u002Fguides\u002Ftailwind-on-lynx","8.guides\u002F8.tailwind-on-lynx","i-lucide-wind",{"title":456,"path":457,"stem":458,"package":11,"icon":459},"Theming on Lynx","\u002Fguides\u002Ftheming-on-lynx","8.guides\u002F9.theming-on-lynx","i-lucide-paintbrush",{"id":461,"title":289,"body":462,"description":1123,"extension":1124,"links":1125,"meta":1131,"navigation":1132,"package":63,"path":290,"seo":1133,"stem":291,"__hash__":1134},"docs\u002F3.components\u002Ftoggle.md",{"type":463,"value":464,"toc":1099},"minimark",[465,470,478,483,487,498,500,505,508,511,515,521,524,528,588,592,772,801,805,834,838,866,870,879,912,926,980,999,1002,1011,1017,1021,1049,1055,1063,1069,1072,1076],[466,467,469],"h2",{"id":468},"overview","Overview",[471,472,473,477],"p",{},[474,475,476],"code",{},"VyToggle"," is a two-state button for options such as bold text, favorites, or pinned tools. It wraps the core toggle primitive with semantic colors, four visual variants, responsive sizing, and optional Iconify content.",[479,480],"component-code",{"name":481,"height":482},"toggle-example","120px",[466,484,486],{"id":485},"usage","Usage",[471,488,489,490,493,494,497],{},"Bind the pressed state with ",[474,491,492],{},"v-model",". Add an ",[474,495,496],{},"accessibility-label"," when the toggle contains only an icon.",[479,499],{"name":481},[501,502,504],"h3",{"id":503},"text-content","Text content",[471,506,507],{},"The default slot replaces the built-in icon, so it can contain text or a custom composition.",[479,509],{"name":510},"toggle-text",[501,512,514],{"id":513},"disabled","Disabled",[471,516,517,518,520],{},"Set ",[474,519,513],{}," to prevent taps and dim the control, in both the unpressed and pressed states.",[479,522],{"name":523},"toggle-disabled",[466,525,527],{"id":526},"features-and-behavior","Features and behavior",[529,530,531,543,556,561,567,585],"ul",{},[532,533,534,535,538,539,542],"li",{},"Tapping an enabled toggle inverts ",[474,536,537],{},"modelValue"," and emits ",[474,540,541],{},"update:modelValue",".",[532,544,545,546,548,549,552,553,555],{},"The kit component defaults ",[474,547,537],{}," to ",[474,550,551],{},"false","; use ",[474,554,492],{}," to retain user changes in application state.",[532,557,558,560],{},[474,559,513],{}," prevents taps, applies disabled semantics, and dims the control.",[532,562,563,564,542],{},"The default slot takes precedence over ",[474,565,566],{},"icon",[532,568,569,570,573,574,577,578,573,581,584],{},"The root exposes ",[474,571,572],{},"data-state=\"on\""," or ",[474,575,576],{},"data-state=\"off\""," and matching ",[474,579,580],{},"ui-on",[474,582,583],{},"ui-off"," classes through the core primitive.",[532,586,587],{},"Additional attributes, including native Lynx accessibility attributes, are inherited by the root toggle.",[466,589,591],{"id":590},"props","Props",[593,594,595,614],"table",{},[596,597,598],"thead",{},[599,600,601,605,608,611],"tr",{},[602,603,604],"th",{},"Prop",[602,606,607],{},"Type",[602,609,610],{},"Default",[602,612,613],{},"Description",[615,616,617,638,655,675,695,715,734,753],"tbody",{},[599,618,619,624,629,633],{},[620,621,622],"td",{},[474,623,537],{},[620,625,626],{},[474,627,628],{},"boolean",[620,630,631],{},[474,632,551],{},[620,634,635,636,542],{},"Pressed state, normally bound with ",[474,637,492],{},[599,639,640,644,648,652],{},[620,641,642],{},[474,643,513],{},[620,645,646],{},[474,647,628],{},[620,649,650],{},[474,651,551],{},[620,653,654],{},"Prevents interaction and applies disabled styling and semantics.",[599,656,657,662,667,672],{},[620,658,659],{},[474,660,661],{},"color",[620,663,664],{},[474,665,666],{},"Color",[620,668,669],{},[474,670,671],{},"'primary'",[620,673,674],{},"Semantic color used for the pressed appearance.",[599,676,677,682,687,692],{},[620,678,679],{},[474,680,681],{},"variant",[620,683,684],{},[474,685,686],{},"'solid' | 'outline' | 'soft' | 'ghost'",[620,688,689],{},[474,690,691],{},"'ghost'",[620,693,694],{},"Pressed-state surface and foreground treatment.",[599,696,697,702,707,712],{},[620,698,699],{},[474,700,701],{},"size",[620,703,704],{},[474,705,706],{},"'sm' | 'md' | 'lg' | 'xl'",[620,708,709],{},[474,710,711],{},"'md'",[620,713,714],{},"Padding, text size, gap, and built-in icon size.",[599,716,717,721,726,731],{},[620,718,719],{},[474,720,566],{},[620,722,723],{},[474,724,725],{},"string",[620,727,728],{},[474,729,730],{},"undefined",[620,732,733],{},"Iconify name rendered when the default slot is empty.",[599,735,736,741,746,750],{},[620,737,738],{},[474,739,740],{},"class",[620,742,743],{},[474,744,745],{},"any",[620,747,748],{},[474,749,730],{},[620,751,752],{},"Classes merged onto the root toggle.",[599,754,755,760,765,769],{},[620,756,757],{},[474,758,759],{},"ui",[620,761,762],{},[474,763,764],{},"Partial\u003CRecord\u003CToggleSlot, any>>",[620,766,767],{},[474,768,730],{},[620,770,771],{},"Per-instance theme slot overrides.",[471,773,774,776,777,780,781,780,784,780,787,780,790,780,793,796,797,800],{},[474,775,666],{}," defaults to ",[474,778,779],{},"primary",", ",[474,782,783],{},"secondary",[474,785,786],{},"success",[474,788,789],{},"info",[474,791,792],{},"warning",[474,794,795],{},"error",", or ",[474,798,799],{},"neutral",", and supports consumer registry extensions.",[466,802,804],{"id":803},"emits","Emits",[593,806,807,819],{},[596,808,809],{},[599,810,811,814,817],{},[602,812,813],{},"Event",[602,815,816],{},"Payload",[602,818,613],{},[615,820,821],{},[599,822,823,827,831],{},[620,824,825],{},[474,826,541],{},[620,828,829],{},[474,830,628],{},[620,832,833],{},"Emitted with the inverted pressed state after an enabled tap.",[466,835,837],{"id":836},"slots","Slots",[593,839,840,851],{},[596,841,842],{},[599,843,844,847,849],{},[602,845,846],{},"Slot",[602,848,591],{},[602,850,613],{},[615,852,853],{},[599,854,855,860,863],{},[620,856,857],{},[474,858,859],{},"default",[620,861,862],{},"—",[620,864,865],{},"Replaces the built-in icon.",[466,867,869],{"id":868},"styling-and-theming","Styling and theming",[471,871,872,873,876,877,542],{},"Override globally through ",[474,874,875],{},"appConfig.ui.toggle"," or locally with ",[474,878,759],{},[593,880,881,891],{},[596,882,883],{},[599,884,885,888],{},[602,886,887],{},"UI slot",[602,889,890],{},"Purpose",[615,892,893,903],{},[599,894,895,900],{},[620,896,897],{},[474,898,899],{},"base",[620,901,902],{},"Root layout, shape, typography, spacing, surface, and interaction states.",[599,904,905,909],{},[620,906,907],{},[474,908,566],{},[620,910,911],{},"Built-in icon size and foreground color.",[471,913,914,915,780,917,780,919,921,922,925],{},"The theme combines ",[474,916,661],{},[474,918,681],{},[474,920,701],{},", and the internal ",[474,923,924],{},"pressed"," state.",[593,927,928,938],{},[596,929,930],{},[599,931,932,935],{},[602,933,934],{},"Variant",[602,936,937],{},"Pressed appearance",[615,939,940,950,960,970],{},[599,941,942,947],{},[620,943,944],{},[474,945,946],{},"solid",[620,948,949],{},"Semantic filled surface with a white icon.",[599,951,952,957],{},[620,953,954],{},[474,955,956],{},"outline",[620,958,959],{},"Semantic border and foreground with a light active surface.",[599,961,962,967],{},[620,963,964],{},[474,965,966],{},"soft",[620,968,969],{},"Light semantic surface and semantic foreground.",[599,971,972,977],{},[620,973,974],{},[474,975,976],{},"ghost",[620,978,979],{},"Transparent surface with semantic foreground and active feedback.",[471,981,982,983,985,986,988,989,991,992,995,996,542],{},"The unpressed state uses a neutral icon and neutral active feedback regardless of ",[474,984,661],{},". The ",[474,987,701],{}," variant changes root spacing and the ",[474,990,566],{}," slot from ",[474,993,994],{},"size-5"," through ",[474,997,998],{},"size-7",[466,1000,328],{"id":1001},"accessibility",[471,1003,1004,1005,573,1007,1010],{},"The core primitive exposes the root as a focusable native button and announces ",[474,1006,924],{},[474,1008,1009],{},"not pressed",". Disabled toggles use the native disabled trait.",[471,1012,1013,1014,1016],{},"Provide ",[474,1015,496],{}," for icon-only toggles. Text in the default slot gives sighted users context, but an explicit native label remains the safest choice when the control's purpose is not self-evident. The current accessibility layer targets Lynx native attributes; web ARIA bridging is not currently added by the primitive.",[466,1018,1020],{"id":1019},"platform-notes","Platform notes",[529,1022,1023,1034,1041],{},[532,1024,1025,1026,1029,1030,1033],{},"The component renders a Lynx ",[474,1027,1028],{},"view"," through the core primitive and responds to the Lynx ",[474,1031,1032],{},"tap"," event.",[532,1035,1036,1037,1040],{},"Lynx SVG does not inherit ",[474,1038,1039],{},"currentColor",", so the theme places foreground classes directly on the built-in icon slot.",[532,1042,1043,1044,1048],{},"The default theme uses vyui's semantic surface\u002Ftext\u002Fborder tokens, so it adapts automatically under dark mode (see ",[1045,1046,1047],"a",{"href":319},"Theming → Dark Mode",").",[466,1050,1052,1053],{"id":1051},"built-on-vyuicore","Built on ",[474,1054,41],{},[471,1056,1057,1059,1060,1062],{},[474,1058,476],{}," composes the headless ",[474,1061,41],{}," toggle primitive. Use it directly when you need full control over markup and styling.",[501,1064,1066,1068],{"id":1065},"toggle-props",[474,1067,289],{}," props",[1070,1071],"component-props",{"name":289},[466,1073,1075],{"id":1074},"related-components","Related components",[529,1077,1078,1085,1092],{},[532,1079,1080,1084],{},[1045,1081,1082],{"href":294},[474,1083,293],{}," for a related set of single- or multiple-selection toggles.",[532,1086,1087,1091],{},[1045,1088,1089],{"href":273},[474,1090,272],{}," for an immediately applied on\u002Foff setting.",[532,1093,1094,1098],{},[1045,1095,1096],{"href":102},[474,1097,101],{}," for a one-time action without persistent pressed state.",{"title":1100,"searchDepth":1101,"depth":1102,"links":1103},"",1,2,[1104,1105,1110,1111,1112,1113,1114,1115,1116,1117,1122],{"id":468,"depth":1102,"text":469},{"id":485,"depth":1102,"text":486,"children":1106},[1107,1109],{"id":503,"depth":1108,"text":504},3,{"id":513,"depth":1108,"text":514},{"id":526,"depth":1102,"text":527},{"id":590,"depth":1102,"text":591},{"id":803,"depth":1102,"text":804},{"id":836,"depth":1102,"text":837},{"id":868,"depth":1102,"text":869},{"id":1001,"depth":1102,"text":328},{"id":1019,"depth":1102,"text":1020},{"id":1051,"depth":1102,"text":1118,"children":1119},"Built on @vyui\u002Fcore",[1120],{"id":1065,"depth":1108,"text":1121},"Toggle props",{"id":1074,"depth":1102,"text":1075},"Switch a button between pressed and unpressed states.","md",[1126],{"label":1127,"icon":1128,"to":1129,"target":1130},"Source","i-simple-icons-github","https:\u002F\u002Fgithub.com\u002FKealanAU\u002Fvyui\u002Fblob\u002Fmain\u002Fpackages\u002Fkit\u002Fsrc\u002Fcomponents\u002FToggle.vue","_blank",{},{"icon":275},{"title":289,"description":1123},"BLgUtNsA6BOR231A1PZT0k5_7XfqxM4MG-Xha-eKhPY",[1136,1138],{"title":285,"path":286,"stem":287,"description":1137,"icon":-1,"children":-1,"navigation":-1},"Show transient feedback with optional actions, progress, stacking, and swipe dismissal.",{"title":293,"path":294,"stem":295,"description":1139,"icon":-1,"children":-1,"navigation":-1},"Select one or multiple values from a connected set of toggles.",1785060118338]