[{"data":1,"prerenderedAt":1284},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Fcomponents\u002Ftoggle":644,"changelog:toggle":1104,"dependencies:toggle":1182,"install-code:toggle":1186,"docs-component-pages":1196},[4],{"title":5,"path":6,"stem":7,"children":8,"page":65},"Docs","\u002Fdocs","docs",[9,66,604,628],{"title":10,"component":11,"category":11,"description":11,"path":12,"stem":13,"children":14,"page":65},"Getting Started",null,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[15,20,25,30,35,40,45,50,55,60],{"title":16,"path":17,"stem":18,"component":11,"category":11,"description":19},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F01.quick-start","It's dangerous to go alone! Take this. Install the kit, add your first component and set up what your app needs once.",{"title":21,"path":22,"stem":23,"component":11,"category":11,"description":24},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F02.installation","It works on my machine. Now on yours too. Set up a project, add components and keep them up to date.",{"title":26,"path":27,"stem":28,"component":11,"category":11,"description":29},"Theming","\u002Fdocs\u002Fgetting-started\u002Ftheming","docs\u002F1.getting-started\u002F03.theming","Any colour you like, as long as it's yours. Change the brand colour, add your own tones and switch to dark mode.",{"title":31,"path":32,"stem":33,"component":11,"category":11,"description":34},"Typography","\u002Fdocs\u002Fgetting-started\u002Ftypography","docs\u002F1.getting-started\u002F04.typography","Comic Sans not included. Size text by what it does, and change a whole role in one place.",{"title":36,"path":37,"stem":38,"component":11,"category":11,"description":39},"Motion","\u002Fdocs\u002Fgetting-started\u002Fmotion","docs\u002F1.getting-started\u002F05.motion","Move fast and break nothing. Pick the easing curve and duration that fit what's moving.",{"title":41,"path":42,"stem":43,"component":11,"category":11,"description":44},"Overlays","\u002Fdocs\u002Fgetting-started\u002Foverlays","docs\u002F1.getting-started\u002F06.overlays","One does not simply click outside a menu. Set up overlays once, and see why the first outside click only closes them.",{"title":46,"path":47,"stem":48,"component":11,"category":11,"description":49},"Icons","\u002Fdocs\u002Fgetting-started\u002Ficons","docs\u002F1.getting-started\u002F07.icons","A picture is worth a thousand words. An icon, about one. Use Lucide or any other set, sized and coloured by the component it sits in.",{"title":51,"path":52,"stem":53,"component":11,"category":11,"description":54},"Sizing","\u002Fdocs\u002Fgetting-started\u002Fsizing","docs\u002F1.getting-started\u002F08.sizing","One size fits all. Well, five. Every size prop runs on one scale that you can retune in one place.",{"title":56,"path":57,"stem":58,"component":11,"category":11,"description":59},"Radius","\u002Fdocs\u002Fgetting-started\u002Fradius","docs\u002F1.getting-started\u002F09.radius","Three roles, one base, and two rules that keep nested corners concentric at any radius.",{"title":61,"path":62,"stem":63,"component":11,"category":11,"description":64},"Accessibility","\u002Fdocs\u002Fgetting-started\u002Faccessibility","docs\u002F1.getting-started\u002F10.accessibility","Fat fingers welcome. Keep small controls easy to tap without making them look any bigger.",false,{"title":67,"component":11,"category":11,"description":11,"path":68,"stem":69,"children":70,"page":65},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components",[71,77,83,89,95,101,107,113,119,125,131,137,143,149,155,161,167,173,179,185,191,197,203,209,215,221,227,233,239,245,251,257,263,269,275,281,287,293,299,305,311,317,323,329,335,341,347,353,359,365,371,377,383,389,395,401,407,413,419,425,431,437,443,449,455,461,467,473,479,485,491,497,503,509,515,521,527,533,539,545,551,557,563,569,575,581,587,593,598],{"title":72,"path":73,"stem":74,"component":75,"category":11,"description":76},"Button","\u002Fdocs\u002Fcomponents\u002Fbutton","docs\u002F2.components\u002F01.button","button","Yes, it's a button. You click it, it does things. We're as surprised as you are.",{"title":78,"path":79,"stem":80,"component":81,"category":11,"description":82},"Button Group","\u002Fdocs\u002Fcomponents\u002Fbutton-group","docs\u002F2.components\u002F02.button-group","button-group","Buttons that decided to move in together.",{"title":84,"path":85,"stem":86,"component":87,"category":11,"description":88},"Toggle","\u002Fdocs\u002Fcomponents\u002Ftoggle","docs\u002F2.components\u002F03.toggle","toggle","A two-state button with Button's variants, colours and sizes, and its own look when on.",{"title":90,"path":91,"stem":92,"component":93,"category":11,"description":94},"Toggle Group","\u002Fdocs\u002Fcomponents\u002Ftoggle-group","docs\u002F2.components\u002F04.toggle-group","toggle-group","Like a button group, but they remember what you picked",{"title":96,"path":97,"stem":98,"component":99,"category":11,"description":100},"Toolbar","\u002Fdocs\u002Fcomponents\u002Ftoolbar","docs\u002F2.components\u002F05.toolbar","toolbar","Your app's utility belt. A row or column of buttons, toggles, links and separators. One Tab gets you in, arrow keys do the rest.",{"title":102,"path":103,"stem":104,"component":105,"category":11,"description":106},"Input","\u002Fdocs\u002Fcomponents\u002Finput","docs\u002F2.components\u002F06.input","input","You type, it holds. That's the whole deal.",{"title":108,"path":109,"stem":110,"component":111,"category":11,"description":112},"Input Floating","\u002Fdocs\u002Fcomponents\u002Finput-floating","docs\u002F2.components\u002F07.input-floating","input-floating","The label moves out of the way so you can type. Polite. A text input with a label that floats inside it, in all of Input's variants and sizes.",{"title":114,"path":115,"stem":116,"component":117,"category":11,"description":118},"Input Group","\u002Fdocs\u002Fcomponents\u002Finput-group","docs\u002F2.components\u002F08.input-group","input-group","An input that brought friends. An input or textarea framed together with icons, text and buttons, in all of Input's variants and sizes.",{"title":120,"path":121,"stem":122,"component":123,"category":11,"description":124},"Input Number","\u002Fdocs\u002Fcomponents\u002Finput-number","docs\u002F2.components\u002F09.input-number","input-number","For when typing \"5\" is just too much effort. A number field with stepper buttons inside the frame.",{"title":126,"path":127,"stem":128,"component":129,"category":11,"description":130},"Input Time","\u002Fdocs\u002Fcomponents\u002Finput-time","docs\u002F2.components\u002F10.input-time","input-time","Time is money. This one's free.",{"title":132,"path":133,"stem":134,"component":135,"category":11,"description":136},"Input Date","\u002Fdocs\u002Fcomponents\u002Finput-date","docs\u002F2.components\u002F11.input-date","input-date","For birthdays, deadlines and other dates you'd rather not think about.",{"title":138,"path":139,"stem":140,"component":141,"category":11,"description":142},"Pin Input","\u002Fdocs\u002Fcomponents\u002Fpin-input","docs\u002F2.components\u002F12.pin-input","pin-input","Check your SMS. We'll wait. One box per character, for one-time codes and PINs.",{"title":144,"path":145,"stem":146,"component":147,"category":11,"description":148},"Textarea","\u002Fdocs\u002Fcomponents\u002Ftextarea","docs\u002F2.components\u002F13.textarea","textarea","Input, but it has more to say.",{"title":150,"path":151,"stem":152,"component":153,"category":11,"description":154},"Tags Input","\u002Fdocs\u002Fcomponents\u002Ftags-input","docs\u002F2.components\u002F14.tags-input","tags-input","Words that got promoted to badges. Type a tag, press Enter, and it turns into a badge. All in one text field.",{"title":156,"path":157,"stem":158,"component":159,"category":11,"description":160},"Editable","\u002Fdocs\u002Fcomponents\u002Feditable","docs\u002F2.components\u002F15.editable","editable","Text that turns into a field when you click it, and back into text when you are done. It keeps the type of wherever you put it.",{"title":162,"path":163,"stem":164,"component":165,"category":11,"description":166},"Checkbox","\u002Fdocs\u002Fcomponents\u002Fcheckbox","docs\u002F2.components\u002F16.checkbox","checkbox","You have a choice. Three, actually. A checkbox with checked, unchecked and indeterminate states.",{"title":168,"path":169,"stem":170,"component":171,"category":11,"description":172},"Radio Group","\u002Fdocs\u002Fcomponents\u002Fradio-group","docs\u002F2.components\u002F17.radio-group","radio-group","You have no choice. Well, one. A set of radio buttons where exactly one can be selected.",{"title":174,"path":175,"stem":176,"component":177,"category":11,"description":178},"Switch","\u002Fdocs\u002Fcomponents\u002Fswitch","docs\u002F2.components\u002F18.switch","switch","Is this a checkbox?",{"title":180,"path":181,"stem":182,"component":183,"category":11,"description":184},"Slider","\u002Fdocs\u002Fcomponents\u002Fslider","docs\u002F2.components\u002F19.slider","slider","Slide to unlock. Just kidding, slide to pick.",{"title":186,"path":187,"stem":188,"component":189,"category":11,"description":190},"Rating","\u002Fdocs\u002Fcomponents\u002Frating","docs\u002F2.components\u002F20.rating","rating","Everyone's a critic. Now they have stars.",{"title":192,"path":193,"stem":194,"component":195,"category":11,"description":196},"Choice Group","\u002Fdocs\u002Fcomponents\u002Fchoice-group","docs\u002F2.components\u002F21.choice-group","choice-group","Sign my petition. It's only as complicated as you make it. Layouts for checkbox and radio groups a plain stack, cards, a bordered list or a table, in a column or a row.",{"title":198,"path":199,"stem":200,"component":201,"category":11,"description":202},"Select","\u002Fdocs\u002Fcomponents\u002Fselect","docs\u002F2.components\u002F22.select","select","Looks like an input. It's a trap! A list of options behind a trigger that looks like an Input.",{"title":204,"path":205,"stem":206,"component":207,"category":11,"description":208},"Combobox","\u002Fdocs\u002Fcomponents\u002Fcombobox","docs\u002F2.components\u002F23.combobox","combobox","Ctrl+F for your dropdown. A text input that filters a list of options as you type.",{"title":210,"path":211,"stem":212,"component":213,"category":11,"description":214},"Listbox","\u002Fdocs\u002Fcomponents\u002Flistbox","docs\u002F2.components\u002F24.listbox","listbox","No dropdown. No surprises. A list to pick one or more options from, with icons, titles and descriptions.",{"title":216,"path":217,"stem":218,"component":219,"category":11,"description":220},"Color picker","\u002Fdocs\u002Fcomponents\u002Fcolor-picker","docs\u002F2.components\u002F25.color-picker","color-picker","Fifty shades of grey. And 16.7 million others. A colour picker built from parts an area, channel sliders, a field, a preview and swatches.",{"title":222,"path":223,"stem":224,"component":225,"category":11,"description":226},"Calendar","\u002Fdocs\u002Fcomponents\u002Fcalendar","docs\u002F2.components\u002F26.calendar","calendar","Thirty days hath September, and this grid knows all of them. A month to pick a date from.",{"title":228,"path":229,"stem":230,"component":231,"category":11,"description":232},"Range Calendar","\u002Fdocs\u002Fcomponents\u002Frange-calendar","docs\u002F2.components\u002F27.range-calendar","range-calendar","From here to there, in two clicks. A calendar for the start and the end of something.",{"title":234,"path":235,"stem":236,"component":237,"category":11,"description":238},"Date Picker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F2.components\u002F28.date-picker","date-picker","Type it if you know it, pick it if you don't. Nobody remembers what day the 14th is.",{"title":240,"path":241,"stem":242,"component":243,"category":11,"description":244},"Date Range Picker","\u002Fdocs\u002Fcomponents\u002Fdate-range-picker","docs\u002F2.components\u002F29.date-range-picker","date-range-picker","Check-in, check-out, and a calendar for the bit in between. Late checkout not included.",{"title":246,"path":247,"stem":248,"component":249,"category":11,"description":250},"Field","\u002Fdocs\u002Fcomponents\u002Ffield","docs\u002F2.components\u002F30.field","field","Your input's personal assistant. Label, description and error for one form control, wired to it automatically.",{"title":252,"path":253,"stem":254,"component":255,"category":11,"description":256},"Label","\u002Fdocs\u002Fcomponents\u002Flabel","docs\u002F2.components\u002F31.label","label","Hello, my name is Email. An accessible name for a form control.",{"title":258,"path":259,"stem":260,"component":261,"category":11,"description":262},"File Upload","\u002Fdocs\u002Fcomponents\u002Ffile-upload","docs\u002F2.components\u002F32.file-upload","file-upload","Drop it like it's hot. Or click, or paste. We'll check its size first.",{"title":264,"path":265,"stem":266,"component":267,"category":11,"description":268},"Dialog","\u002Fdocs\u002Fcomponents\u002Fdialog","docs\u002F2.components\u002F33.dialog","dialog","We need to talk. A modal window with a header, a scrolling body and a footer. Open it from a template or straight from code.",{"title":270,"path":271,"stem":272,"component":273,"category":11,"description":274},"Alert Dialog","\u002Fdocs\u002Fcomponents\u002Falert-dialog","docs\u002F2.components\u002F34.alert-dialog","alert-dialog","Updating Linux… wait, where did Linux go? This is why we ask first. A modal that interrupts with a question and waits for an answer.",{"title":276,"path":277,"stem":278,"component":279,"category":11,"description":280},"Drawer","\u002Fdocs\u002Fcomponents\u002Fdrawer","docs\u002F2.components\u002F35.drawer","drawer","Wait, it's all swipeable? Always has been. A panel that slides in from any edge and swipes away, with a handle, swipe-to-open from the edge, and a bottom that stays above the keyboard.",{"title":282,"path":283,"stem":284,"component":285,"category":11,"description":286},"Drawer Menu","\u002Fdocs\u002Fcomponents\u002Fdrawer-menu","docs\u002F2.components\u002F36.drawer-menu","drawer-menu","We need to go deeper. A menu in a drawer for touch screens, with checkbox and radio items and submenus that drill down in the same sheet.",{"title":288,"path":289,"stem":290,"component":291,"category":11,"description":292},"Popover","\u002Fdocs\u002Fcomponents\u002Fpopover","docs\u002F2.components\u002F37.popover","popover","Rich content in a floating panel anchored to a trigger.",{"title":294,"path":295,"stem":296,"component":297,"category":11,"description":298},"Hover Card","\u002Fdocs\u002Fcomponents\u002Fhover-card","docs\u002F2.components\u002F38.hover-card","hover-card","Sneak peek, no commitment. A preview card for links, shown on hover or focus.",{"title":300,"path":301,"stem":302,"component":303,"category":11,"description":304},"Tour","\u002Fdocs\u002Fcomponents\u002Ftour","docs\u002F2.components\u002F39.tour","tour","Let me show you around. A popover that walks from one element to the next, driven by useTour.",{"title":306,"path":307,"stem":308,"component":309,"category":11,"description":310},"Tooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F2.components\u002F40.tooltip","tooltip","It looks like you're hovering over a button. Would you like help? A short hint about a control, shown on hover, keyboard focus or a long press.",{"title":312,"path":313,"stem":314,"component":315,"category":11,"description":316},"Menu","\u002Fdocs\u002Fcomponents\u002Fmenu","docs\u002F2.components\u002F41.menu","menu","One menu to rule them all. A dropdown and a context menu in one component that attaches to whatever it sits in.",{"title":318,"path":319,"stem":320,"component":321,"category":11,"description":322},"Command","\u002Fdocs\u002Fcomponents\u002Fcommand","docs\u002F2.components\u002F42.command","command","A filterable list of commands, inline or in a dialog, built on Reka UI's Listbox.",{"title":324,"path":325,"stem":326,"component":327,"category":11,"description":328},"Toast","\u002Fdocs\u002Fcomponents\u002Ftoast","docs\u002F2.components\u002F43.toast","toast","Brief messages from a useToast() service — ids to update and remove, promises, groups, and a stacked Toaster that expands on hover.",{"title":330,"path":331,"stem":332,"component":333,"category":11,"description":334},"Tabs","\u002Fdocs\u002Fcomponents\u002Ftabs","docs\u002F2.components\u002F44.tabs","tabs","Panels switched by a row or column of tabs, with an indicator that slides to the active one.",{"title":336,"path":337,"stem":338,"component":339,"category":11,"description":340},"Navigation Menu","\u002Fdocs\u002Fcomponents\u002Fnavigation-menu","docs\u002F2.components\u002F45.navigation-menu","navigation-menu","The header your marketing team keeps asking for. Links and triggers whose panels open in one shared box that glides between them.",{"title":342,"path":343,"stem":344,"component":345,"category":11,"description":346},"Menubar","\u002Fdocs\u002Fcomponents\u002Fmenubar","docs\u002F2.components\u002F46.menubar","menubar","File, Edit, View. The bar your desktop apps have had since 1984, now in Vue.",{"title":348,"path":349,"stem":350,"component":351,"category":11,"description":352},"Breadcrumb","\u002Fdocs\u002Fcomponents\u002Fbreadcrumb","docs\u002F2.components\u002F47.breadcrumb","breadcrumb","The path to the current page, as links separated by chevrons.",{"title":354,"path":355,"stem":356,"component":357,"category":11,"description":358},"Pagination","\u002Fdocs\u002Fcomponents\u002Fpagination","docs\u002F2.components\u002F48.pagination","pagination","Page navigation with previous and next, ellipses for skipped pages, Button's variants and five sizes.",{"title":360,"path":361,"stem":362,"component":363,"category":11,"description":364},"Stepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F2.components\u002F49.stepper","stepper","Step 1: draw some circles. Step 2: draw the rest of the owl. Steps that mark progress through a multi-step flow.",{"title":366,"path":367,"stem":368,"component":369,"category":11,"description":370},"Page Indicator","\u002Fdocs\u002Fcomponents\u002Fpage-indicator","docs\u002F2.components\u002F50.page-indicator","page-indicator","Dots, a pill or line segments that mark the current page or slide, built on Reka UI.",{"title":372,"path":373,"stem":374,"component":375,"category":11,"description":376},"Swipe Views","\u002Fdocs\u002Fcomponents\u002Fswipe-views","docs\u002F2.components\u002F51.swipe-views","swipe-views","Pages that follow the finger, the way native apps page between tabs. One page sits in the frame, and a release settles on the nearest one with the speed of the swipe.",{"title":378,"path":379,"stem":380,"component":381,"category":11,"description":382},"Timeline","\u002Fdocs\u002Fcomponents\u002Ftimeline","docs\u002F2.components\u002F52.timeline","timeline","One thing after another. A record of events with an optional current one, vertical or horizontal, newest first or last.",{"title":384,"path":385,"stem":386,"component":387,"category":11,"description":388},"Table","\u002Fdocs\u002Fcomponents\u002Ftable","docs\u002F2.components\u002F53.table","table","Table parts with borders on the cells, sticky header and footer, pinned columns and five row sizes.",{"title":390,"path":391,"stem":392,"component":393,"category":11,"description":394},"Data Table","\u002Fdocs\u002Fcomponents\u002Fdata-table","docs\u002F2.components\u002F54.data-table","data-table","Excel called, it wants its features back. A table with sorting, sticky parts, pinned columns and rows, selection, trees, grouping, pagination, infinite scroll and row virtualization.",{"title":396,"path":397,"stem":398,"component":399,"category":11,"description":400},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F2.components\u002F55.tree","tree","Folders inside folders inside folders. A tree to browse, select or check nested items, with lazy folders and room for ten thousand nodes.",{"title":402,"path":403,"stem":404,"component":405,"category":11,"description":406},"Data Tree","\u002Fdocs\u002Fcomponents\u002Fdata-tree","docs\u002F2.components\u002F56.data-tree","data-tree","A tree drawn from data, with rows from each node's label and icon, loading, empty and error states, and virtualization by one prop.",{"title":408,"path":409,"stem":410,"component":411,"category":11,"description":412},"Item","\u002Fdocs\u002Fcomponents\u002Fitem","docs\u002F2.components\u002F57.item","item","You've built this row a hundred times. Here's the last one. A row of media, title, description and actions, in five variants and five sizes.",{"title":414,"path":415,"stem":416,"component":417,"category":11,"description":418},"Avatar","\u002Fdocs\u002Fcomponents\u002Favatar","docs\u002F2.components\u002F58.avatar","avatar","Anime PFP? We don't judge.",{"title":420,"path":421,"stem":422,"component":423,"category":11,"description":424},"Badge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F2.components\u002F59.badge","badge","A small label with Button's variants and colours, five sizes, side-aware icon padding and a square form.",{"title":426,"path":427,"stem":428,"component":429,"category":11,"description":430},"Kbd","\u002Fdocs\u002Fcomponents\u002Fkbd","docs\u002F2.components\u002F60.kbd","kbd","Ctrl+C, Ctrl+V. That's the whole career. A keyboard key, and a group of keys for a shortcut.",{"title":432,"path":433,"stem":434,"component":435,"category":11,"description":436},"Marker","\u002Fdocs\u002Fcomponents\u002Fmarker","docs\u002F2.components\u002F61.marker","marker","Explored 4 files. An inline status, a bordered row or a labelled separator in a conversation.",{"title":438,"path":439,"stem":440,"component":441,"category":11,"description":442},"Image","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F2.components\u002F62.image","image","POV: your image shows up before JavaScript does. An image in a ratio box with loading and error layers, native srcset, sizes and picture sources.",{"title":444,"path":445,"stem":446,"component":447,"category":11,"description":448},"Marquee","\u002Fdocs\u002Fcomponents\u002Fmarquee","docs\u002F2.components\u002F63.marquee","marquee","And they're off. Content that scrolls forever, horizontal or vertical, with a pause on hover and a fade at the edges.",{"title":450,"path":451,"stem":452,"component":453,"category":11,"description":454},"Chart","\u002Fdocs\u002Fcomponents\u002Fchart","docs\u002F2.components\u002F64.chart","chart","Charts on Unovis. A container that turns a config into series colours, a crosshair that reports the hovered point, a tooltip that is a real Vue component, and a legend that can hide a series.",{"title":456,"path":457,"stem":458,"component":459,"category":11,"description":460},"Card","\u002Fdocs\u002Fcomponents\u002Fcard","docs\u002F2.components\u002F65.card","card","Impressive. Very nice. Let's see Paul Allen's card. A surface that groups related content, with header, title, description, content and footer parts.",{"title":462,"path":463,"stem":464,"component":465,"category":11,"description":466},"Separator","\u002Fdocs\u002Fcomponents\u002Fseparator","docs\u002F2.components\u002F66.separator","separator","A line that separates content, horizontal or vertical, with an optional label.",{"title":468,"path":469,"stem":470,"component":471,"category":11,"description":472},"Accordion","\u002Fdocs\u002Fcomponents\u002Faccordion","docs\u002F2.components\u002F67.accordion","accordion","Customers have questions? Answer them, then fold them away. Stacked sections that open one at a time or several at once, and open themselves when find in page matches their text.",{"title":474,"path":475,"stem":476,"component":477,"category":11,"description":478},"Collapsible","\u002Fdocs\u002Fcomponents\u002Fcollapsible","docs\u002F2.components\u002F68.collapsible","collapsible","Not to be confused with the three-time TI champion. A trigger that shows and hides a block of content.",{"title":480,"path":481,"stem":482,"component":483,"category":11,"description":484},"Aspect Ratio","\u002Fdocs\u002Fcomponents\u002Faspect-ratio","docs\u002F2.components\u002F69.aspect-ratio","aspect-ratio","No more squished cats. Keeps its content at a given width-to-height ratio.",{"title":486,"path":487,"stem":488,"component":489,"category":11,"description":490},"Scroll Area","\u002Fdocs\u002Fcomponents\u002Fscroll-area","docs\u002F2.components\u002F70.scroll-area","scroll-area","Scrollbars that don't look like Windows 98. Custom bars over a native scroller, with optional virtualization.",{"title":492,"path":493,"stem":494,"component":11,"category":495,"description":496},"Infinite Scroll","\u002Fdocs\u002Fcomponents\u002Finfinite-scroll","docs\u002F2.components\u002F71.infinite-scroll","layout","Doomscrolling, now as a component. Loads more content as you scroll near an edge, in any of four directions.",{"title":498,"path":499,"stem":500,"component":501,"category":11,"description":502},"Splitter","\u002Fdocs\u002Fcomponents\u002Fsplitter","docs\u002F2.components\u002F72.splitter","splitter","Resizable panels separated by draggable handles, built on Reka UI.",{"title":504,"path":505,"stem":506,"component":507,"category":11,"description":508},"Swipe Actions","\u002Fdocs\u002Fcomponents\u002Fswipe-actions","docs\u002F2.components\u002F73.swipe-actions","swipe-actions","A list row that slides sideways to reveal actions, the way Mail does on iOS.",{"title":510,"path":511,"stem":512,"component":513,"category":11,"description":514},"Alert","\u002Fdocs\u002Fcomponents\u002Falert","docs\u002F2.components\u002F74.alert","alert","A callout with Button's variants and colours, five sizes, and actions under the text or beside it.",{"title":516,"path":517,"stem":518,"component":519,"category":11,"description":520},"Banner","\u002Fdocs\u002Fcomponents\u002Fbanner","docs\u002F2.components\u002F75.banner","banner","Heads up, everyone. A full-width notice across the top of a page, closable, in any colour role.",{"title":522,"path":523,"stem":524,"component":525,"category":11,"description":526},"Progress","\u002Fdocs\u002Fcomponents\u002Fprogress","docs\u002F2.components\u002F76.progress","progress","A progress bar with Nuxt UI's indeterminate animations, status, steps and seven sizes, and shadcn's label and value.",{"title":528,"path":529,"stem":530,"component":531,"category":11,"description":532},"Spinner","\u002Fdocs\u002Fcomponents\u002Fspinner","docs\u002F2.components\u002F77.spinner","spinner","A loading indicator driven by clip-path, inheriting its colour from currentColor.",{"title":534,"path":535,"stem":536,"component":537,"category":11,"description":538},"Skeleton","\u002Fdocs\u002Fcomponents\u002Fskeleton","docs\u002F2.components\u002F78.skeleton","skeleton","A placeholder that holds the place of content while it loads.",{"title":540,"path":541,"stem":542,"component":543,"category":11,"description":544},"Inner loading","\u002Fdocs\u002Fcomponents\u002Finner-loading","docs\u002F2.components\u002F79.inner-loading","inner-loading","A loading overlay for one region, with content that cannot be used until it is done.",{"title":546,"path":547,"stem":548,"component":549,"category":11,"description":550},"Empty","\u002Fdocs\u002Fcomponents\u002Fempty","docs\u002F2.components\u002F80.empty","empty","An empty state with media, a title, a description and actions, sized by one prop and drawn on whatever holds it.",{"title":552,"path":553,"stem":554,"component":555,"category":11,"description":556},"Error state","\u002Fdocs\u002Fcomponents\u002Ferror-state","docs\u002F2.components\u002F81.error-state","error-state","Empty's anatomy for a failure, with an error icon, a title, a description and a place for Retry, announced as an alert.",{"title":558,"path":559,"stem":560,"component":561,"category":11,"description":562},"Drag","\u002Fdocs\u002Fcomponents\u002Fdrag","docs\u002F2.components\u002F82.drag","drag","A one-axis drag gesture for mouse, pen and touch that leaves vertical scrolling to the browser on touch screens.",{"title":564,"path":565,"stem":566,"component":567,"category":11,"description":568},"Swipe Snap","\u002Fdocs\u002Fcomponents\u002Fswipe-snap","docs\u002F2.components\u002F83.swipe-snap","swipe-snap","A drag that settles on snap points measured in pixels. It is the mechanism under Swipe Views, for sheets, galleries and pagers of your own.",{"title":570,"path":571,"stem":572,"component":11,"category":573,"description":574},"Press Scale","\u002Fdocs\u002Fcomponents\u002Fpress-scale","docs\u002F2.components\u002F84.press-scale","utilities","A utility class that dips an element while it is pressed.",{"title":576,"path":577,"stem":578,"component":579,"category":11,"description":580},"Ripple","\u002Fdocs\u002Fcomponents\u002Fripple","docs\u002F2.components\u002F85.ripple","ripple","Look at that subtle drift to the centre. The tasteful softness of its edge. Oh my God, it even respects reduced motion. A directive for a press ripple that grows from where you pressed and drifts to the centre.",{"title":582,"path":583,"stem":584,"component":585,"category":11,"description":586},"Scroll","\u002Fdocs\u002Fcomponents\u002Fscroll","docs\u002F2.components\u002F86.scroll","scroll","Read and write the scroll position of an element or the window, optionally animated.",{"title":588,"path":589,"stem":590,"component":591,"category":11,"description":592},"Scroll Fade","\u002Fdocs\u002Fcomponents\u002Fscroll-fade","docs\u002F2.components\u002F87.scroll-fade","scroll-fade","There's more where that came from. Utilities that fade the edges of a scroll region while there's more to scroll that way.",{"title":594,"path":595,"stem":596,"component":11,"category":573,"description":597},"Shimmer","\u002Fdocs\u002Fcomponents\u002Fshimmer","docs\u002F2.components\u002F88.shimmer","Generating response… A highlight that sweeps across text while something is on its way.",{"title":599,"path":600,"stem":601,"component":602,"category":11,"description":603},"Text Control","\u002Fdocs\u002Fcomponents\u002Ftext-control","docs\u002F2.components\u002F89.text-control","text-control","Same frame, different fields. The variants, states and sizes Input, Select, Combobox and every other text field share, so they line up and light up the same way.",{"title":605,"component":11,"category":11,"description":11,"path":606,"stem":607,"children":608,"page":65},"Charts","\u002Fdocs\u002Fcharts","docs\u002F3.charts",[609,614,619,624],{"title":610,"path":611,"stem":612,"component":11,"category":11,"description":613},"Area","\u002Fdocs\u002Fcharts\u002Farea","docs\u002F3.charts\u002F01.area","Ten area charts. One series and stacks, three curve shapes, a legend, icons, gradient fills, axes and a range picker.",{"title":615,"path":616,"stem":617,"component":11,"category":11,"description":618},"Bar","\u002Fdocs\u002Fcharts\u002Fbar","docs\u002F3.charts\u002F02.bar","Ten bar charts. One series, groups and stacks, horizontal bars, value labels, a colour per bar, an active bar, negative values and a series switch.",{"title":620,"path":621,"stem":622,"component":11,"category":11,"description":623},"Line","\u002Fdocs\u002Fcharts\u002Fline","docs\u002F3.charts\u002F03.line","Ten line charts. One series and two, three curve shapes, dots in three styles, value and name labels and a series switch.",{"title":306,"path":625,"stem":626,"component":11,"category":11,"description":627},"\u002Fdocs\u002Fcharts\u002Ftooltip","docs\u002F3.charts\u002F07.tooltip","Nine ways to show what is under the pointer. Indicators, titles, formatters, icons and a custom row layout.",{"title":629,"component":11,"category":11,"description":11,"path":630,"stem":631,"children":632,"page":65},"Forms","\u002Fdocs\u002Fforms","docs\u002F4.forms",[633,638],{"title":634,"path":635,"stem":636,"component":11,"category":11,"description":637},"Formisch","\u002Fdocs\u002Fforms\u002Fformisch","docs\u002F4.forms\u002F1.formisch","Build forms with Formisch and Valibot on top of kappa-ui's Field components.",{"title":639,"path":640,"stem":641,"component":642,"category":11,"description":643},"VeeValidate","\u002Fdocs\u002Fforms\u002Fvee-validate","docs\u002F4.forms\u002F2.vee-validate","standard-schema","Forms that check their own homework. VeeValidate and Zod on top of kappa-ui's Field components.",{"id":645,"title":84,"body":646,"category":11,"component":87,"description":88,"extension":1095,"meta":1096,"navigation":770,"path":85,"seo":1097,"stem":86,"__hash__":1098,"examples":1099},"docs\u002Fdocs\u002F2.components\u002F03.toggle.md",{"type":647,"value":648,"toc":1084},"minimark",[649,653,699,703,706,710,910,930,934,939,942,953,1053,1057,1060,1064,1070,1072,1076,1080],[650,651],"component-preview",{"name":652},"toggle-demo",[654,655,656,657,661,662,666,667,666,670,666,673,676,677,680,681,676,683,685,686,676,688,691,692,694,695,698],"p",{},"Open ",[658,659,660],"strong",{},"Props"," in the corner of the example to try ",[663,664,665],"code",{},"variant",", ",[663,668,669],{},"activeVariant",[663,671,672],{},"color",[663,674,675],{},"size"," and ",[663,678,679],{},"disabled",". ",[663,682,665],{},[663,684,672],{}," style the toggle while it is off, ",[663,687,669],{},[663,689,690],{},"activeColor"," while it is on, from Button's variants and colours; by default a toggle is transparent and neutral, and fills softly when on. ",[663,693,675],{}," takes Button's sizes, the ",[663,696,697],{},"icon-*"," ones for a lone icon.",[700,701,21],"h2",{"id":702},"installation",[704,705],"install-tabs",{"name":87},[700,707,709],{"id":708},"usage","Usage",[711,712,717],"pre",{"className":713,"code":714,"language":715,"meta":716,"style":716},"language-vue shiki shiki-themes github-light github-dark","\u003Cscript setup lang=\"ts\">\nimport { Bold } from '@lucide\u002Fvue'\n\nimport { Toggle } from '@\u002Fcomponents\u002Fui\u002Ftoggle'\n\nconst bold = ref(false)\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CToggle v-model=\"bold\" size=\"icon-md\" aria-label=\"Bold\">\n    \u003CBold \u002F>\n  \u003C\u002FToggle>\n\u003C\u002Ftemplate>\n","vue","",[663,718,719,749,765,772,785,790,815,825,830,840,879,891,901],{"__ignoreMap":716},[720,721,724,728,732,736,739,742,746],"span",{"class":722,"line":723},"line",1,[720,725,727],{"class":726},"sVt8B","\u003C",[720,729,731],{"class":730},"s9eBZ","script",[720,733,735],{"class":734},"sScJk"," setup",[720,737,738],{"class":734}," lang",[720,740,741],{"class":726},"=",[720,743,745],{"class":744},"sZZnC","\"ts\"",[720,747,748],{"class":726},">\n",[720,750,752,756,759,762],{"class":722,"line":751},2,[720,753,755],{"class":754},"szBVR","import",[720,757,758],{"class":726}," { Bold } ",[720,760,761],{"class":754},"from",[720,763,764],{"class":744}," '@lucide\u002Fvue'\n",[720,766,768],{"class":722,"line":767},3,[720,769,771],{"emptyLinePlaceholder":770},true,"\n",[720,773,775,777,780,782],{"class":722,"line":774},4,[720,776,755],{"class":754},[720,778,779],{"class":726}," { Toggle } ",[720,781,761],{"class":754},[720,783,784],{"class":744}," '@\u002Fcomponents\u002Fui\u002Ftoggle'\n",[720,786,788],{"class":722,"line":787},5,[720,789,771],{"emptyLinePlaceholder":770},[720,791,793,796,800,803,806,809,812],{"class":722,"line":792},6,[720,794,795],{"class":754},"const",[720,797,799],{"class":798},"sj4cs"," bold",[720,801,802],{"class":754}," =",[720,804,805],{"class":734}," ref",[720,807,808],{"class":726},"(",[720,810,811],{"class":798},"false",[720,813,814],{"class":726},")\n",[720,816,818,821,823],{"class":722,"line":817},7,[720,819,820],{"class":726},"\u003C\u002F",[720,822,731],{"class":730},[720,824,748],{"class":726},[720,826,828],{"class":722,"line":827},8,[720,829,771],{"emptyLinePlaceholder":770},[720,831,833,835,838],{"class":722,"line":832},9,[720,834,727],{"class":726},[720,836,837],{"class":730},"template",[720,839,748],{"class":726},[720,841,843,846,848,851,853,856,859,861,864,866,869,872,874,877],{"class":722,"line":842},10,[720,844,845],{"class":726},"  \u003C",[720,847,84],{"class":730},[720,849,850],{"class":734}," v-model",[720,852,741],{"class":726},[720,854,855],{"class":744},"\"",[720,857,858],{"class":726},"bold",[720,860,855],{"class":744},[720,862,863],{"class":734}," size",[720,865,741],{"class":726},[720,867,868],{"class":744},"\"icon-md\"",[720,870,871],{"class":734}," aria-label",[720,873,741],{"class":726},[720,875,876],{"class":744},"\"Bold\"",[720,878,748],{"class":726},[720,880,882,885,888],{"class":722,"line":881},11,[720,883,884],{"class":726},"    \u003C",[720,886,887],{"class":730},"Bold",[720,889,890],{"class":726}," \u002F>\n",[720,892,894,897,899],{"class":722,"line":893},12,[720,895,896],{"class":726},"  \u003C\u002F",[720,898,84],{"class":730},[720,900,748],{"class":726},[720,902,904,906,908],{"class":722,"line":903},13,[720,905,820],{"class":726},[720,907,837],{"class":730},[720,909,748],{"class":726},[654,911,912,914,915,918,919,922,923,926,927,929],{},[663,913,84],{}," is Reka UI's toggle styled like a ",[916,917,72],"a",{"href":73},". It is a button with ",[663,920,921],{},"aria-pressed",", and ",[663,924,925],{},"v-model"," binds whether it is on. For a set of toggles, use ",[916,928,90],{"href":91},".",[700,931,933],{"id":932},"examples","Examples",[935,936,938],"h3",{"id":937},"active-look","Active look",[654,940,941],{},"A toggle can change its look when it's on. Any pair works: an outline toggle that turns solid primary, or soft warning for a favourite.",[654,943,944,945,949,950,952],{},"Using a ",[916,946,948],{"href":947},"\u002Fdocs\u002Fcomponents\u002Fbutton#custom-colours","custom colour"," as ",[663,951,690],{},"? Add a second selector to its rule so it also applies when the toggle is on:",[711,954,958],{"className":955,"code":956,"language":957,"meta":716,"style":716},"language-css shiki shiki-themes github-light github-dark","@layer base {\n  [data-slot][data-color='pro'],\n  [data-slot][aria-pressed='true'][data-active-color='pro'] {\n    --tone: var(--pro);\n    \u002F* … *\u002F\n  }\n}\n","css",[663,959,960,968,990,1017,1037,1043,1048],{"__ignoreMap":716},[720,961,962,965],{"class":722,"line":723},[720,963,964],{"class":754},"@layer",[720,966,967],{"class":726}," base {\n",[720,969,970,973,976,979,982,984,987],{"class":722,"line":751},[720,971,972],{"class":726},"  [",[720,974,975],{"class":734},"data-slot",[720,977,978],{"class":726},"][",[720,980,981],{"class":734},"data-color",[720,983,741],{"class":754},[720,985,986],{"class":744},"'pro'",[720,988,989],{"class":726},"],\n",[720,991,992,994,996,998,1000,1002,1005,1007,1010,1012,1014],{"class":722,"line":767},[720,993,972],{"class":726},[720,995,975],{"class":734},[720,997,978],{"class":726},[720,999,921],{"class":734},[720,1001,741],{"class":754},[720,1003,1004],{"class":744},"'true'",[720,1006,978],{"class":726},[720,1008,1009],{"class":734},"data-active-color",[720,1011,741],{"class":754},[720,1013,986],{"class":744},[720,1015,1016],{"class":726},"] {\n",[720,1018,1019,1023,1026,1029,1031,1034],{"class":722,"line":774},[720,1020,1022],{"class":1021},"s4XuR","    --tone",[720,1024,1025],{"class":726},": ",[720,1027,1028],{"class":798},"var",[720,1030,808],{"class":726},[720,1032,1033],{"class":1021},"--pro",[720,1035,1036],{"class":726},");\n",[720,1038,1039],{"class":722,"line":787},[720,1040,1042],{"class":1041},"sJ8bj","    \u002F* … *\u002F\n",[720,1044,1045],{"class":722,"line":792},[720,1046,1047],{"class":726},"  }\n",[720,1049,1050],{"class":722,"line":817},[720,1051,1052],{"class":726},"}\n",[935,1054,1056],{"id":1055},"with-text","With text",[650,1058],{"name":1059},"toggle-with-text",[700,1061,1063],{"id":1062},"api-reference","API Reference",[654,1065,1066,1069],{},[663,1067,1068],{},"class"," is merged over the toggle's classes with tailwind-merge.",[1062,1071],{"parts":84},[935,1073,1075],{"id":1074},"data-attributes","Data attributes",[1077,1078],"data-slots",{":rows":1079},"[{\"slot\":\"toggle\",\"attributes\":\"data-state, data-variant, data-color, data-active-color, data-size, data-disabled\",\"description\":\"The button. `data-state` is `on` or `off`; while it is `on`, `data-active-color` takes over the colour.\"}]",[1081,1082,1083],"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 pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":716,"searchDepth":767,"depth":767,"links":1085},[1086,1087,1088,1092],{"id":702,"depth":751,"text":21},{"id":708,"depth":751,"text":709},{"id":932,"depth":751,"text":933,"children":1089},[1090,1091],{"id":937,"depth":767,"text":938},{"id":1055,"depth":767,"text":1056},{"id":1062,"depth":751,"text":1063,"children":1093},[1094],{"id":1074,"depth":767,"text":1075},"md",{},{"title":84,"description":88},"RnjlNL8iwJj907CvSkKVM4rk44l5ZzmvTglTcdOCNhA",[1100,1103],{"name":652,"slug":1101,"title":1102},"demo","Demo",{"name":1059,"slug":1055,"title":1056},[1105,1122,1130,1135,1143,1151,1159,1167,1171,1178],{"package":1106,"version":1107,"date":1108,"entries":1109},"registry","0.22.0","2026-10-14T16:26:20.000Z",[1110,1114,1118],{"hash":1111,"url":1112,"text":1113},"4712efa","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F4712efa23322c76cf68e6dd5c50ab7c3ba1a8922","A `Kbd` inside a Button wrapped in `TooltipTrigger as-child` (or any other `as-child` trigger) keeps the button's colours, and an `InputGroupButton` wrapped the same way in a block addon keeps the addon's inset. The trigger's `data-slot` replaces the child's own, as in shadcn, so Kbd now keys on the `\u003Cbutton>` element (any button tints it, Toggle and Toolbar items included) and the block addon sets the inset on its children.",{"hash":1115,"url":1116,"text":1117},"ac9afad","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002Fac9afad6650a396544c20633c4fd29018f57e054","An `aria-disabled` Toggle, ToggleGroupItem or ToolbarToggleItem ignores click, Enter and Space like an `aria-disabled` Button, so a toolbar toggle kept focusable for its tooltip no longer changes the model. `swallowWhenDisabled` moves to `@\u002Fui\u002Fbutton`, where the three parts share it.",{"hash":1119,"url":1120,"text":1121},"ea2717b","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002Fea2717b7ca6d9584495bbcf5648e3604c4e72aef","In a ToggleGroup (or a ButtonGroup of toggles) whose `activeVariant` is `outline` or `subtle`, pressed neighbours share one edge instead of drawing two side by side: `Toggle` and `ToggleGroupItem` carry `data-active-variant`, and the group overlaps them by that edge as it does for an outline variant.",{"package":1106,"version":1123,"date":1124,"entries":1125},"0.21.0","2026-10-12T20:35:53.000Z",[1126],{"hash":1127,"url":1128,"text":1129},"5ada64b","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F5ada64b448678d7d086bc1c8f303ee722beb8427","A pressed Toggle or ToggleGroup item keeps its on look inside `TooltipTrigger as-child` (or any wrapper that writes its own `data-state`). The on styles read `aria-pressed`, which Reka sets on every toggle, instead of `data-state=\"on\"`, which the tooltip overwrote with `closed`; core's active-colour rules match both, so a custom `[data-state=\"on\"][data-active-color]` rule keeps working.",{"package":1131,"version":1132,"date":1124,"entries":1133},"core","0.15.1",[1134],{"hash":1127,"url":1128,"text":1129},{"package":1106,"version":1136,"date":1137,"entries":1138},"0.15.0","2026-10-07T14:57:18.000Z",[1139],{"hash":1140,"url":1141,"text":1142},"d09f26a","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002Fd09f26af39cf8740b38a3c3c97f19ccdbd2fe3e3","Pressable parts ripple on their own: Button, Toggle, ToggleGroupItem, Item as a link or a button, the calendar days, tabs, accordion, menubar and navigation menu triggers, the items of Menu, Menubar, Select, Combobox, Command, DrawerMenu, Listbox and Tree, and the clear buttons of TagsInput and Combobox. Each imports the directive from `@\u002Flib\u002Fripple`, so `add` brings the `ripple` item along and nothing needs registering. On menu, listbox and tree rows the wave replaces the pressed layer, as `state-layer` already did. Bind `v-ripple=\"false\"` on a Button to turn one off, or set `--kappa-ripple: none` on `:root` to turn them all off.",{"package":1106,"version":1144,"date":1145,"entries":1146},"0.13.0","2026-10-06T13:44:17.000Z",[1147],{"hash":1148,"url":1149,"text":1150},"93e57a0","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F93e57a08392608669378d45f8d0adf0f4ce509ab","Every size on the control scale is named `xs` to `xl`; `default` and the bare `icon` are gone. To move over:\n\n- `Button`: `size=\"default\"` becomes `size=\"md\"`, or leave `size` out; `size=\"icon\"` becomes `size=\"icon-md\"`. The full set is `xs` to `xl` and `icon-xs` to `icon-xl`. `Toggle`, `ToggleGroup`, `ToggleGroupItem`, the `Toolbar` parts, `AlertDialogAction`, `AlertDialogCancel` and `ToastAction` take the same names; Button, Toggle and ToggleGroup default to `md`, the Toolbar parts keep `sm` and ToastAction keeps `xs`. `InputGroupButton` keeps its own `xs`, `sm`, `icon-xs` and `icon-sm`, 24 and 32px to fit inside the group, `xs` by default. `Pagination` hands its `md` to Button as it is. Button, Toggle and `ToggleGroupItem` set `data-variant`, `data-color` and `data-size` even when you leave them at their defaults.\n- `AlertDialogContent`: `size=\"default\"` becomes `size=\"md\"`, still the default; `sm` is unchanged. The `size` option of `useConfirm`'s `confirm`, `alert` and `prompt` takes the same names.\n- `Table` and `DataTable`: `density` becomes `size`, `data-density` becomes `data-size`, and the `TableDensity` type is now `TableSize`. `sm`, `md` and `lg` keep their 36, 44 and 52px rows; `xs` (28px) and `xl` (60px) are new, and DataTable's virtual row estimates cover them. The cells' padding above and below the text is now `--table-cell-py` on the table: 8px as before, 3px at `xs`. At `xs`, DataTable's sort buttons and expand and group toggles shrink to fit the row. The `table-density` example is now `table-sizes`.\n- `DrawerMenu`: `size` takes `xs` to `xl` like Menu and reads the control scale, plus room for a thumb. `sm`, `md` and `lg` keep their 40, 48 and 56px rows, padding and icons; `xs` is 36px and `xl` 64px. Overriding a `--control-*` token on `:root` now resizes DrawerMenu rows as well.\n- `Select` and `Combobox`: the list opens at the trigger's or anchor's size instead of always at `md`, so `\u003CSelectTrigger size=\"xl\">` opens an `xl` list. `size` on `SelectContent` or `ComboboxList` picks another. Behind an `as-child` button, set `size` on `ComboboxAnchor` to match the button. The Select list now sets its menu variables on `SelectContent` instead of its viewport, so a class such as `[--menu-item-height:2.5rem]` on `SelectContent` reaches the items.\n- `Input`, `Textarea`, `InputFloating`, `SelectTrigger`, `ComboboxAnchor` and `Separator` set `data-size` with the default filled in, and the anchor sets `data-variant` too. With `as-child`, the anchor leaves the button's own `data-variant` and `data-size` alone.",{"package":1106,"version":1152,"date":1153,"entries":1154},"0.12.0","2026-10-05T21:19:24.000Z",[1155],{"hash":1156,"url":1157,"text":1158},"c79028b","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002Fc79028b66e69acfc5085910b431e29724ffaa03a","The control scale is now a set of tokens: `--control-height-*`, `--control-padding-*`, `--control-icon-*` and `--control-gap-*` for `xs` to `xl`, added to `:root` by the `tokens` item. Button, Input, InputFloating, Select, Combobox, InputNumber, TagsInput, PinInput, InputTime, InputGroup, Menu, Tabs, ColorPicker and Pagination read them, so overriding one on `:root` resizes every control of that size.\n\nSome sizes that strayed from the scale now follow it. Button icons are 20px at `lg` and `xl` instead of 16px, and so are the icons of Toggle, ToggleGroup, Toolbar and Pagination at those sizes. The gap between an icon and its label is 6, 8, 8, 10 and 12px from `xs` to `xl`, about half the icon, everywhere that has one: Button and the components built on it (where it was 4, 6, 8, 8 and 8px), Menu items and the Select, Combobox and Command lists (8, 10, 12, 12 and 12px), and Tabs triggers (6, 8, 8, 8 and 10px). Inset and checkbox or radio items move their labels with it, so they stay in line with items that have an icon. Everything else keeps its size.",{"package":1106,"version":1160,"date":1161,"entries":1162},"0.6.0","2026-09-30T17:22:37.000Z",[1163],{"hash":1164,"url":1165,"text":1166},"715f6fc","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002F715f6fcccaafcbabc56cd53f7a5671756c63e477","Components are coloured by tones. A colour is three inputs, `--tone`, `--tone-foreground` and `--tone-text`, set on `[data-slot][data-color=\"\u003Cname>\"]`; core derives `--tone-soft`, `--tone-soft-foreground`, `--tone-border` and `--tone-border-subtle` from them and registers all seven as `tone-*` colours, so `bg-tone`, `text-tone-text` and the rest work as classes. The `--c-*` variables are gone: a rule that set `--c`, `--c-fg`, `--c-soft`, `--c-soft-fg` or `--c-edge` now sets `--tone`, `--tone-foreground` and `--tone-text`, and drops the rest. Button, Badge, Alert, Toggle, the choice controls and Toast read tones; Toast no longer exports `toastAccents`.",{"package":1131,"version":1168,"date":1161,"entries":1169},"0.5.0",[1170],{"hash":1164,"url":1165,"text":1166},{"package":1106,"version":1168,"date":1172,"entries":1173},"2026-09-29T20:38:16.000Z",[1174],{"hash":1175,"url":1176,"text":1177},"d290041","https:\u002F\u002Fgithub.com\u002FEg0r0k\u002Fkappa-ui\u002Fcommit\u002Fd290041f16221bdabbe9f3df71de6167d71e27c4","Add Toggle and ToggleGroup. Toggle is a two-state button with Button's variants, colours and sizes, styled when on by `activeVariant` and `activeColor`; ToggleGroup joins toggles like a ButtonGroup, with single or multiple selection and arrow-key navigation. The core colour rules also match `[data-state=\"on\"][data-active-color]`, so an on toggle reads its active colour.",{"package":1131,"version":1179,"date":1172,"entries":1180},"0.4.0",[1181],{"hash":1175,"url":1176,"text":1177},[1183],{"label":1184,"href":1185},"Reka UI","https:\u002F\u002Freka-ui.com\u002Fdocs\u002Fcomponents\u002Ftoggle",{"files":1187,"css":11},[1188,1192],{"filename":1189,"source":1190,"html":1191},"@\u002Fcomponents\u002Fui\u002Ftoggle\u002FToggle.vue","\u003Cscript setup lang=\"ts\">\nimport { Primitive, Toggle, type ToggleEmits, type ToggleProps, useForwardPropsEmits } from \"reka-ui\";\nimport { type HTMLAttributes, computed } from \"vue\";\n\nimport vRipple from \"@\u002Flib\u002Fripple\";\nimport { cn } from \"@\u002Flib\u002Futils\";\nimport {\n  type ButtonColor,\n  type ButtonSize,\n  type ButtonVariants,\n  buttonVariants,\n  swallowWhenDisabled,\n} from \"@\u002Fcomponents\u002Fui\u002Fbutton\";\nimport { type ToggleVariants, toggleVariants } from \".\";\n\ndefineOptions({ inheritAttrs: false });\n\nconst props = withDefaults(\n  defineProps\u003C\n    ToggleProps & {\n      variant?: ButtonVariants[\"variant\"];\n      activeVariant?: ToggleVariants[\"activeVariant\"];\n      color?: ButtonColor | (string & {});\n      activeColor?: ButtonColor | (string & {});\n      size?: ButtonSize;\n      class?: HTMLAttributes[\"class\"];\n    }\n  >(),\n  { as: \"button\", variant: \"ghost\", activeVariant: \"soft\", color: \"neutral\", size: \"md\", disabled: false },\n);\nconst emits = defineEmits\u003CToggleEmits>();\n\nconst delegated = computed(() => {\n  const {\n    class: _,\n    variant: _variant,\n    activeVariant: _activeVariant,\n    color: _color,\n    activeColor: _activeColor,\n    size: _size,\n    ...rest\n  } = props;\n  return rest;\n});\nconst forwarded = useForwardPropsEmits(delegated, emits);\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CToggle v-slot=\"slotProps\" v-bind=\"forwarded\" as-child>\n    \u003CPrimitive\n      v-ripple\n      :as=\"props.as\"\n      :as-child=\"props.asChild\"\n      data-slot=\"toggle\"\n      :data-variant=\"props.variant\"\n      :data-color=\"props.color\"\n      :data-active-color=\"props.activeColor\"\n      :data-active-variant=\"props.activeVariant\"\n      :data-size=\"props.size\"\n      :class=\"\n        cn(\n          buttonVariants({ variant: props.variant, size: props.size }),\n          toggleVariants({ activeVariant: props.activeVariant }),\n          props.class,\n        )\n      \"\n      v-bind=\"$attrs\"\n      @click.capture=\"swallowWhenDisabled\"\n    >\n      \u003Cslot v-bind=\"slotProps\" \u002F>\n    \u003C\u002FPrimitive>\n  \u003C\u002FToggle>\n\u003C\u002Ftemplate>\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> setup\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> lang\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"ts\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { Primitive, Toggle, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ToggleEmits, \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ToggleProps, useForwardPropsEmits } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"reka-ui\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> HTMLAttributes, computed } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> vRipple \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Flib\u002Fripple\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { cn } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Flib\u002Futils\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonColor,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonSize,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonVariants,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  buttonVariants,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  swallowWhenDisabled,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">} \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"@\u002Fcomponents\u002Fui\u002Fbutton\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ToggleVariants, toggleVariants } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">defineOptions\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ inheritAttrs: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> });\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> props\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> withDefaults\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  defineProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">&#x3C;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    ToggleProps \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">&#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      variant?: ButtonVariants[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"variant\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">];\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      activeVariant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ToggleVariants[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"activeVariant\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">];\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonColor \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">|\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> (string \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">&#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      activeColor\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonColor \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">|\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> (string \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">&#x26;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      size\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> ButtonSize;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">?:\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> HTMLAttributes[\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"class\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">];\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  >\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  { as: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"button\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, variant: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"ghost\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, activeVariant: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"soft\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, color: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"neutral\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, size: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"md\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">, disabled: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> emits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> defineEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">ToggleEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> delegated\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> computed\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(() \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=>\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    variant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_variant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    activeVariant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_activeVariant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    activeColor\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_activeColor\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#E36209;--shiki-dark:#FFAB70\">    size\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">_size\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">    ...\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\">rest\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> props;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">  return\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> rest;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">});\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> forwarded\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> useForwardPropsEmits\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(delegated, emits);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">script\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">Toggle\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> v-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">slotProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">forwarded\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> as-child\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">Primitive\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">      v-ripple\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">as-child\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.asChild\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">      data-slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"toggle\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">data-variant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.variant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">data-color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">data-active-color\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.activeColor\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">data-active-variant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.activeVariant\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">data-size\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">props.size\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      :\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">class\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">        cn\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">          buttonVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ variant: props.variant, size: props.size }),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">          toggleVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">({ activeVariant: props.activeVariant }),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">          props.class,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        )\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">      \"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">      v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">$attrs\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      @\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">click\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\">capture\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">swallowWhenDisabled\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    >\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      &#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">slot\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> v-bind\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">=\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"slotProps\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#B31D28;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic\"> \u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    &#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">Primitive\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  &#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">Toggle\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u002F\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#22863A;--shiki-dark:#85E89D\">template\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",{"filename":1193,"source":1194,"html":1195},"@\u002Fcomponents\u002Fui\u002Ftoggle\u002Findex.ts","import { type VariantProps, cva } from \"class-variance-authority\";\n\nexport { default as Toggle } from \".\u002FToggle.vue\";\n\nexport const toggleVariants = cva(\n  \"aria-pressed:disabled:text-foreground\u002F(--disabled-opacity) aria-pressed:disabled:no-underline\",\n  {\n    variants: {\n      activeVariant: {\n        solid: `\n          aria-pressed:state-layer aria-pressed:bg-tone aria-pressed:text-tone-foreground aria-pressed:inset-ring-0\n          aria-pressed:no-underline\n          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\n        `,\n        soft: `\n          aria-pressed:state-layer aria-pressed:bg-tone-soft aria-pressed:text-tone-soft-foreground\n          aria-pressed:inset-ring-0 aria-pressed:no-underline\n          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\n        `,\n        subtle: `\n          aria-pressed:state-layer aria-pressed:bg-tone-soft aria-pressed:text-tone-soft-foreground\n          aria-pressed:inset-ring aria-pressed:inset-ring-tone-border-subtle aria-pressed:no-underline\n          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\n          aria-pressed:disabled:inset-ring-foreground\u002F(--disabled-container-opacity)\n        `,\n        outline: `\n          aria-pressed:state-layer aria-pressed:bg-background aria-pressed:text-tone-text aria-pressed:inset-ring\n          aria-pressed:inset-ring-tone-border aria-pressed:no-underline\n          aria-pressed:disabled:inset-ring-foreground\u002F(--disabled-container-opacity)\n        `,\n        ghost: `\n          aria-pressed:state-layer aria-pressed:bg-transparent aria-pressed:text-tone-text aria-pressed:inset-ring-0\n          aria-pressed:no-underline\n        `,\n        link: `aria-pressed:bg-transparent aria-pressed:text-tone-text aria-pressed:inset-ring-0 aria-pressed:underline`,\n      },\n    },\n    defaultVariants: { activeVariant: \"soft\" },\n  },\n);\n\nexport type ToggleVariants = VariantProps\u003Ctypeof toggleVariants>;\n","\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-default:#24292e;--shiki-dark:#e1e4e8;\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> VariantProps, cva } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \"class-variance-authority\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> { \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">default\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> as\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> Toggle } \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">from\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\"> \".\u002FToggle.vue\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> const\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#005CC5;--shiki-dark:#79B8FF\"> toggleVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> cva\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">  \"aria-pressed:disabled:text-foreground\u002F(--disabled-opacity) aria-pressed:disabled:no-underline\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    variants: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      activeVariant: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        solid: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:state-layer aria-pressed:bg-tone aria-pressed:text-tone-foreground aria-pressed:inset-ring-0\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:no-underline\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">        `\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        soft: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:state-layer aria-pressed:bg-tone-soft aria-pressed:text-tone-soft-foreground\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:inset-ring-0 aria-pressed:no-underline\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">        `\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        subtle: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:state-layer aria-pressed:bg-tone-soft aria-pressed:text-tone-soft-foreground\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:inset-ring aria-pressed:inset-ring-tone-border-subtle aria-pressed:no-underline\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:disabled:bg-foreground\u002F(--disabled-container-opacity)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:disabled:inset-ring-foreground\u002F(--disabled-container-opacity)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">        `\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        outline: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:state-layer aria-pressed:bg-background aria-pressed:text-tone-text aria-pressed:inset-ring\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:inset-ring-tone-border aria-pressed:no-underline\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:disabled:inset-ring-foreground\u002F(--disabled-container-opacity)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">        `\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        ghost: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:state-layer aria-pressed:bg-transparent aria-pressed:text-tone-text aria-pressed:inset-ring-0\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">          aria-pressed:no-underline\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">        `\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">        link: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">`aria-pressed:bg-transparent aria-pressed:text-tone-text aria-pressed:inset-ring-0 aria-pressed:underline`\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">      },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">    defaultVariants: { activeVariant: \u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#032F62;--shiki-dark:#9ECBFF\">\"soft\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">);\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> type\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> ToggleVariants\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#6F42C1;--shiki-dark:#B392F0\"> VariantProps\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\">&#x3C;\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#D73A49;--shiki-dark:#F97583\">typeof\u003C\u002Fspan>\u003Cspan style=\"--shiki-default:#24292E;--shiki-dark:#E1E4E8\"> toggleVariants>;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>",[1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283],{"path":73,"component":75},{"path":79,"component":81},{"path":85,"component":87},{"path":91,"component":93},{"path":97,"component":99},{"path":103,"component":105},{"path":109,"component":111},{"path":115,"component":117},{"path":121,"component":123},{"path":127,"component":129},{"path":133,"component":135},{"path":139,"component":141},{"path":145,"component":147},{"path":151,"component":153},{"path":157,"component":159},{"path":163,"component":165},{"path":169,"component":171},{"path":175,"component":177},{"path":181,"component":183},{"path":187,"component":189},{"path":193,"component":195},{"path":199,"component":201},{"path":205,"component":207},{"path":211,"component":213},{"path":217,"component":219},{"path":223,"component":225},{"path":229,"component":231},{"path":235,"component":237},{"path":241,"component":243},{"path":247,"component":249},{"path":253,"component":255},{"path":259,"component":261},{"path":265,"component":267},{"path":271,"component":273},{"path":277,"component":279},{"path":283,"component":285},{"path":289,"component":291},{"path":295,"component":297},{"path":301,"component":303},{"path":307,"component":309},{"path":313,"component":315},{"path":319,"component":321},{"path":325,"component":327},{"path":331,"component":333},{"path":337,"component":339},{"path":343,"component":345},{"path":349,"component":351},{"path":355,"component":357},{"path":361,"component":363},{"path":367,"component":369},{"path":373,"component":375},{"path":379,"component":381},{"path":385,"component":387},{"path":391,"component":393},{"path":397,"component":399},{"path":403,"component":405},{"path":409,"component":411},{"path":415,"component":417},{"path":421,"component":423},{"path":427,"component":429},{"path":433,"component":435},{"path":439,"component":441},{"path":445,"component":447},{"path":451,"component":453},{"path":457,"component":459},{"path":463,"component":465},{"path":469,"component":471},{"path":475,"component":477},{"path":481,"component":483},{"path":487,"component":489},{"path":499,"component":501},{"path":505,"component":507},{"path":511,"component":513},{"path":517,"component":519},{"path":523,"component":525},{"path":529,"component":531},{"path":535,"component":537},{"path":541,"component":543},{"path":547,"component":549},{"path":553,"component":555},{"path":559,"component":561},{"path":565,"component":567},{"path":577,"component":579},{"path":583,"component":585},{"path":589,"component":591},{"path":600,"component":602},{"path":640,"component":642},1792689666526]