[{"data":1,"prerenderedAt":1929},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Fgetting-started\u002Fsizing":644,"dependencies:\u002Fdocs\u002Fgetting-started\u002Fsizing":1928},[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":51,"body":646,"category":11,"component":11,"description":54,"extension":747,"meta":1923,"navigation":1924,"path":52,"seo":1925,"stem":53,"__hash__":1926,"examples":1927},"docs\u002Fdocs\u002F1.getting-started\u002F08.sizing.md",{"type":647,"value":648,"toc":1909},"minimark",[649,666,669,674,677,790,837,862,866,872,963,973,977,1002,1017,1026,1030,1036,1041,1044,1135,1138,1255,1258,1373,1377,1380,1451,1456,1465,1471,1475,1513,1517,1544,1641,1645,1680,1684,1687,1757,1764,1881,1884,1888,1905],[650,651,652,653,657,658,661,662,665],"p",{},"Every control with a ",[654,655,656],"code",{},"size"," prop takes its height, padding, icon size and the gap between icon and text from one scale, ",[654,659,660],{},"xs"," to ",[654,663,664],{},"xl",". A Button, an Input and a Select of one size line up in a row, and the list a Select or Combobox opens takes its trigger's size, so its items match the trigger.",[667,668],"size-lineup",{},[670,671,673],"h2",{"id":672},"scale","Scale",[675,676],"control-anatomy",{},[387,678,679,701],{},[680,681,682],"thead",{},[683,684,685,689,692,695,698],"tr",{},[686,687,688],"th",{},"Size",[686,690,691],{},"Height",[686,693,694],{},"Padding",[686,696,697],{},"Icon",[686,699,700],{},"Gap",[702,703,704,723,741,758,775],"tbody",{},[683,705,706,711,714,717,720],{},[707,708,709],"td",{},[654,710,660],{},[707,712,713],{},"28px",[707,715,716],{},"8px",[707,718,719],{},"14px",[707,721,722],{},"6px",[683,724,725,730,733,736,739],{},[707,726,727],{},[654,728,729],{},"sm",[707,731,732],{},"32px",[707,734,735],{},"10px",[707,737,738],{},"16px",[707,740,716],{},[683,742,743,748,751,754,756],{},[707,744,745],{},[654,746,747],{},"md",[707,749,750],{},"36px",[707,752,753],{},"12px",[707,755,738],{},[707,757,716],{},[683,759,760,765,768,770,773],{},[707,761,762],{},[654,763,764],{},"lg",[707,766,767],{},"40px",[707,769,753],{},[707,771,772],{},"20px",[707,774,735],{},[683,776,777,781,784,786,788],{},[707,778,779],{},[654,780,664],{},[707,782,783],{},"48px",[707,785,738],{},[707,787,772],{},[707,789,753],{},[650,791,792,793,796,797,800,801,804,805,804,808,804,811,814,815,818,819,821,822,825,826,829,830,661,833,836],{},"Each cell is a variable on ",[654,794,795],{},":root",", added by the ",[654,798,799],{},"tokens"," item: ",[654,802,803],{},"--control-height-md",", ",[654,806,807],{},"--control-padding-md",[654,809,810],{},"--control-icon-md",[654,812,813],{},"--control-gap-md"," and so on for every size. They're steps of ",[654,816,817],{},"--spacing",", so ",[654,820,803],{}," is ",[654,823,824],{},"calc(var(--spacing) * 9)",", the same as ",[654,827,828],{},"h-9",". Button adds ",[654,831,832],{},"icon-xs",[654,834,835],{},"icon-xl",": squares of the same heights, for an icon alone.",[650,838,839,840,842,843,845,846,848,849,851,852,854,855,857,858,861],{},"Leave ",[654,841,656],{}," out and a control is ",[654,844,747],{},", unless where it sits calls for less: the Toolbar parts start at ",[654,847,729],{}," and ToastAction at ",[654,850,660],{},", so they fit their bar and their toast. InputGroupButton keeps sizes of its own, 24px ",[654,853,660],{}," and 32px ",[654,856,729],{}," and their ",[654,859,860],{},"icon-"," squares, to fit inside the group's frame.",[670,863,865],{"id":864},"customising","Customising",[650,867,868,869,871],{},"Override a token on ",[654,870,795],{},", and every control of that size follows:",[873,874,879],"pre",{"className":875,"code":876,"language":877,"meta":878,"style":878},"language-css shiki shiki-themes github-light github-dark",":root {\n  --control-height-md: calc(var(--spacing) * 10);\n  --control-padding-md: calc(var(--spacing) * 3.5);\n}\n","css","",[654,880,881,893,930,957],{"__ignoreMap":878},[882,883,886,889],"span",{"class":884,"line":885},"line",1,[882,887,795],{"class":888},"sScJk",[882,890,892],{"class":891},"sVt8B"," {\n",[882,894,896,900,903,907,910,913,915,917,920,924,927],{"class":884,"line":895},2,[882,897,899],{"class":898},"s4XuR","  --control-height-md",[882,901,902],{"class":891},": ",[882,904,906],{"class":905},"sj4cs","calc",[882,908,909],{"class":891},"(",[882,911,912],{"class":905},"var",[882,914,909],{"class":891},[882,916,817],{"class":898},[882,918,919],{"class":891},") ",[882,921,923],{"class":922},"szBVR","*",[882,925,926],{"class":905}," 10",[882,928,929],{"class":891},");\n",[882,931,933,936,938,940,942,944,946,948,950,952,955],{"class":884,"line":932},3,[882,934,935],{"class":898},"  --control-padding-md",[882,937,902],{"class":891},[882,939,906],{"class":905},[882,941,909],{"class":891},[882,943,912],{"class":905},[882,945,909],{"class":891},[882,947,817],{"class":898},[882,949,919],{"class":891},[882,951,923],{"class":922},[882,953,954],{"class":905}," 3.5",[882,956,929],{"class":891},[882,958,960],{"class":884,"line":959},4,[882,961,962],{"class":891},"}\n",[650,964,965,966,969,970,972],{},"A token set on an element reaches only the controls inside it. Menus, select lists and other overlays render at the end of ",[654,967,968],{},"\u003Cbody>",", so they only see ",[654,971,795],{},". NavigationMenu's panels are the exception: they open inside the nav, so a token set on the header reaches them.",[670,974,976],{"id":975},"what-reads-it","What reads it",[978,979,980,987,992,997],"ul",{},[981,982,983,986],"li",{},[984,985,691],"strong",{},": Button and everything built on it (Toggle, ToggleGroup, Toolbar, Pagination), Input, InputFloating's outline variant, Select, Combobox, InputNumber, TagsInput (as a minimum), PinInput, InputTime, InputDate, InputGroup and the DatePicker and DateRangePicker fields laid over it, Menu items and the lists of Select, Combobox and Command, Menubar triggers and menus, DrawerMenu rows, Listbox options, Tree rows, Tabs triggers, NavigationMenu triggers and links, ColorPicker's controls, the days, weekday columns and arrows of Calendar and RangeCalendar, FileUpload's icon circle, file icons and grid tiles, and Rating's stars, whose box is the control height and the star two thirds of it.",[981,988,989,991],{},[984,990,694],{},": the text fields (Input, InputFloating, Select, Combobox, InputNumber, TagsInput, InputTime, InputDate, InputGroup's addons and the DatePicker and DateRangePicker fields), Menu items and the lists of Select, Combobox and Command, Menubar triggers and menus, DrawerMenu rows, Listbox options, Tree rows, Tabs triggers, NavigationMenu triggers and links, and FileUpload's drop zone and file list.",[981,993,994,996],{},[984,995,697],{},": Button and everything built on it, the Select trigger, the Combobox chevron and clear button (2px smaller), InputTime, InputDate, InputGroup's addons and the DatePicker and DateRangePicker triggers, Menu items and the lists of Select, Combobox and Command, Menubar triggers and menus, DrawerMenu rows, Listbox options, Tree rows, Tabs triggers, NavigationMenu triggers and links, the arrows of Calendar and RangeCalendar, and FileUpload's icons.",[981,998,999,1001],{},[984,1000,700],{},": Button, the Select trigger, Menu items and the lists of Select, Combobox and Command, Menubar triggers and menus, Listbox options, Tree rows, Tabs triggers, NavigationMenu triggers and links, the header and grid of Calendar and RangeCalendar, FileUpload's zone and file list, and Rating, whose stars sit half the gap apart.",[650,1003,1004,1005,1007,1008,1010,1011,1016],{},"Button pads wider than a field, from 10px at ",[654,1006,660],{}," to 32px at ",[654,1009,664],{},", so it reads as an action. DrawerMenu adds room for a thumb on top of the tokens; see ",[1012,1013,1015],"a",{"href":1014},"#menus-and-lists","below",".",[650,1018,1019,1020,1022,1023,1025],{},"Table's row heights are its own, 28px at ",[654,1021,660],{}," to 60px at ",[654,1024,664],{},": a row holds a line of text with room around it, not a control.",[670,1027,1029],{"id":1028},"component-variables","Component variables",[650,1031,1032,1033,1035],{},"Lists, checkboxes, radios, switches, calendars, rows and a few more don't size each part on its own. Their root turns ",[654,1034,656],{}," into a few variables, and every part inside reads those. An item, its icon and its check mark stay in step, and you get one place to change them. A part reads a variable through a plain utility, so a class of your own on the part still wins.",[1037,1038,1040],"h3",{"id":1039},"menus-and-lists","Menus and lists",[650,1042,1043],{},"Menu and MenuSubContent, MenubarContent and MenubarSubContent, the lists of Select and Combobox, Command and DrawerMenu set these on their panel. Items, group labels, separators, check marks and the search field at the top of a Command or Combobox list read them.",[387,1045,1046,1056],{},[680,1047,1048],{},[683,1049,1050,1053],{},[686,1051,1052],{},"Variable",[686,1054,1055],{},"What it sets",[702,1057,1058,1072,1082,1092,1102,1112,1121],{},[683,1059,1060,1065],{},[707,1061,1062],{},[654,1063,1064],{},"--menu-item-height",[707,1066,1067,1068,1071],{},"An item's minimum height. With ",[654,1069,1070],{},"--menu-pad",", also the height of the search field.",[683,1073,1074,1079],{},[707,1075,1076],{},[654,1077,1078],{},"--menu-item-px",[707,1080,1081],{},"An item's side padding. Labels and inset items line up on it.",[683,1083,1084,1089],{},[707,1085,1086],{},[654,1087,1088],{},"--menu-item-py",[707,1090,1091],{},"The padding above and below an item's text. It shows once the text wraps.",[683,1093,1094,1099],{},[707,1095,1096],{},[654,1097,1098],{},"--menu-item-gap",[707,1100,1101],{},"The space between an item's icon and its text.",[683,1103,1104,1109],{},[707,1105,1106],{},[654,1107,1108],{},"--menu-icon",[707,1110,1111],{},"The size of an item's icons and check marks.",[683,1113,1114,1118],{},[707,1115,1116],{},[654,1117,1070],{},[707,1119,1120],{},"The padding around the items, and the space a separator leaves above and below.",[683,1122,1123,1128],{},[707,1124,1125],{},[654,1126,1127],{},"--menu-label",[707,1129,1130,1131,1134],{},"The text size of a group label, with ",[654,1132,1133],{},"--menu-label-leading"," its line height.",[650,1136,1137],{},"On Menu, Select, Combobox and Command, height, side padding, gap and icon are the control tokens of the same size:",[387,1139,1140,1161],{},[680,1141,1142],{},[683,1143,1144,1146,1148,1151,1154,1156,1158],{},[686,1145,688],{},[686,1147,691],{},[686,1149,1150],{},"Side padding",[686,1152,1153],{},"Above and below",[686,1155,700],{},[686,1157,697],{},[686,1159,1160],{},"Pad",[702,1162,1163,1182,1201,1219,1237],{},[683,1164,1165,1169,1171,1173,1175,1177,1179],{},[707,1166,1167],{},[654,1168,660],{},[707,1170,713],{},[707,1172,716],{},[707,1174,722],{},[707,1176,722],{},[707,1178,719],{},[707,1180,1181],{},"2px",[683,1183,1184,1188,1190,1192,1194,1196,1198],{},[707,1185,1186],{},[654,1187,729],{},[707,1189,732],{},[707,1191,735],{},[707,1193,716],{},[707,1195,716],{},[707,1197,738],{},[707,1199,1200],{},"4px",[683,1202,1203,1207,1209,1211,1213,1215,1217],{},[707,1204,1205],{},[654,1206,747],{},[707,1208,750],{},[707,1210,753],{},[707,1212,716],{},[707,1214,716],{},[707,1216,738],{},[707,1218,1200],{},[683,1220,1221,1225,1227,1229,1231,1233,1235],{},[707,1222,1223],{},[654,1224,764],{},[707,1226,767],{},[707,1228,753],{},[707,1230,716],{},[707,1232,735],{},[707,1234,772],{},[707,1236,1200],{},[683,1238,1239,1243,1245,1247,1249,1251,1253],{},[707,1240,1241],{},[654,1242,664],{},[707,1244,783],{},[707,1246,738],{},[707,1248,753],{},[707,1250,753],{},[707,1252,772],{},[707,1254,1200],{},[650,1256,1257],{},"DrawerMenu is tapped, not clicked. It adds room for a thumb to the same tokens, and its gap follows its side padding:",[387,1259,1260,1278],{},[680,1261,1262],{},[683,1263,1264,1266,1268,1270,1272,1274,1276],{},[686,1265,688],{},[686,1267,691],{},[686,1269,1150],{},[686,1271,1153],{},[686,1273,700],{},[686,1275,697],{},[686,1277,1160],{},[702,1279,1280,1298,1316,1334,1354],{},[683,1281,1282,1286,1288,1290,1292,1294,1296],{},[707,1283,1284],{},[654,1285,660],{},[707,1287,750],{},[707,1289,735],{},[707,1291,722],{},[707,1293,735],{},[707,1295,719],{},[707,1297,716],{},[683,1299,1300,1304,1306,1308,1310,1312,1314],{},[707,1301,1302],{},[654,1303,729],{},[707,1305,767],{},[707,1307,753],{},[707,1309,716],{},[707,1311,753],{},[707,1313,738],{},[707,1315,716],{},[683,1317,1318,1322,1324,1326,1328,1330,1332],{},[707,1319,1320],{},[654,1321,747],{},[707,1323,783],{},[707,1325,738],{},[707,1327,753],{},[707,1329,738],{},[707,1331,772],{},[707,1333,716],{},[683,1335,1336,1340,1343,1345,1347,1349,1352],{},[707,1337,1338],{},[654,1339,764],{},[707,1341,1342],{},"56px",[707,1344,738],{},[707,1346,753],{},[707,1348,738],{},[707,1350,1351],{},"24px",[707,1353,716],{},[683,1355,1356,1360,1363,1365,1367,1369,1371],{},[707,1357,1358],{},[654,1359,664],{},[707,1361,1362],{},"64px",[707,1364,772],{},[707,1366,738],{},[707,1368,772],{},[707,1370,1351],{},[707,1372,716],{},[1037,1374,1376],{"id":1375},"checkbox-radio-and-switch","Checkbox, Radio and Switch",[650,1378,1379],{},"A 36px checkbox would be absurd, so these keep steps of their own, one variable each:",[387,1381,1382,1398],{},[680,1383,1384],{},[683,1385,1386,1388,1393],{},[686,1387,688],{},[686,1389,1390],{},[654,1391,1392],{},"--choice-size",[686,1394,1395],{},[654,1396,1397],{},"--switch-h",[702,1399,1400,1410,1420,1431,1441],{},[683,1401,1402,1406,1408],{},[707,1403,1404],{},[654,1405,660],{},[707,1407,719],{},[707,1409,738],{},[683,1411,1412,1416,1418],{},[707,1413,1414],{},[654,1415,729],{},[707,1417,738],{},[707,1419,772],{},[683,1421,1422,1426,1429],{},[707,1423,1424],{},[654,1425,747],{},[707,1427,1428],{},"18px",[707,1430,1351],{},[683,1432,1433,1437,1439],{},[707,1434,1435],{},[654,1436,764],{},[707,1438,772],{},[707,1440,713],{},[683,1442,1443,1447,1449],{},[707,1444,1445],{},[654,1446,664],{},[707,1448,1351],{},[707,1450,732],{},[650,1452,1453,1455],{},[654,1454,1392],{}," is the box of a Checkbox or Radio. Its touch area, its hover halo, the radio's dot and the space before its label are worked out from it.",[650,1457,1458,1460,1461,1464],{},[654,1459,1397],{}," is the height of a Switch's track. The track is 1.625 times as wide (",[654,1462,1463],{},"--switch-w","), and the thumb, the icon in it, the touch area and the halo scale with it.",[650,1466,1467,1468,1470],{},"A horizontal ",[1012,1469,246],{"href":247}," with a description reads both, to set the control level with the first line of its label.",[1037,1472,1474],{"id":1473},"calendars","Calendars",[650,1476,1477,1478,1481,1482,1485,1486,1489,1490,1485,1493,1496,1497,1500,1501,1504,1505,1508,1509,1512],{},"Calendar and RangeCalendar set five on their root: ",[654,1479,1480],{},"--calendar-cell",", the size of a day, a weekday column and the arrows (",[654,1483,1484],{},"--control-height-*","); ",[654,1487,1488],{},"--calendar-icon",", the chevrons in the arrows (",[654,1491,1492],{},"--control-icon-*",[654,1494,1495],{},"--calendar-gap",", the space in the header and between it and the grid (",[654,1498,1499],{},"--control-gap-*","); and the text of the heading and of the weekday and week-number cells, ",[654,1502,1503],{},"--calendar-heading"," and ",[654,1506,1507],{},"--calendar-label",", each with a ",[654,1510,1511],{},"-leading"," twin for its line height. Months side by side sit twice the gap apart.",[1037,1514,1516],{"id":1515},"bars-rows-empties-and-steppers","Bars, rows, empties and steppers",[650,1518,1519,1520,804,1523,804,1526,804,1529,1504,1532,1535,1536,1539,1540,1543],{},"Menubar sets ",[654,1521,1522],{},"--menubar-h",[654,1524,1525],{},"--menubar-px",[654,1527,1528],{},"--menubar-gap",[654,1530,1531],{},"--menubar-icon",[654,1533,1534],{},"--menubar-radius"," on the bar from the control tokens, and ",[654,1537,1538],{},"--menubar-text"," with ",[654,1541,1542],{},"--menubar-text-leading"," for its triggers.",[650,1545,1546,1547,1550,1551,1554,1555,1558,1559,1562,1563,1504,1566,1569,1570,804,1573,804,1576,1504,1579,1562,1582,1585,1586,804,1589,804,1592,804,1595,1504,1598,1601,1602,1605,1606,804,1609,804,1612,1615,1616,804,1619,1504,1622,1625,1626,804,1629,1504,1632,1508,1635,1637,1638,1640],{},"Item sets ",[654,1548,1549],{},"--item-media",", the box of an ",[654,1552,1553],{},"ItemMedia",": the icon variant draws its glyph at half of it, the image variant adds 8px. Empty sets ",[654,1556,1557],{},"--empty-icon"," for a bare icon in ",[654,1560,1561],{},"EmptyMedia",", and ",[654,1564,1565],{},"--empty-header-gap",[654,1567,1568],{},"--empty-content-gap"," for its two stacks. Stepper sets ",[654,1571,1572],{},"--stepper-indicator",[654,1574,1575],{},"--stepper-icon",[654,1577,1578],{},"--stepper-gap",[654,1580,1581],{},"--stepper-separator",[654,1583,1584],{},"--stepper-text"," for the number in the indicator. Timeline sets ",[654,1587,1588],{},"--timeline-indicator",[654,1590,1591],{},"--timeline-icon",[654,1593,1594],{},"--timeline-gap",[654,1596,1597],{},"--timeline-separator",[654,1599,1600],{},"--timeline-spacing",", the space between records, and ",[654,1603,1604],{},"--timeline-text"," for a number in the indicator. FileUpload sets ",[654,1607,1608],{},"--file-upload-gap",[654,1610,1611],{},"--file-upload-padding",[654,1613,1614],{},"--file-upload-control"," (the icon circle, a file's icon box and, times 2.5, a grid tile), ",[654,1617,1618],{},"--file-upload-icon",[654,1620,1621],{},"--file-upload-remove-icon",[654,1623,1624],{},"--file-upload-radius",", and, as a control, the text of its title, description and file names: ",[654,1627,1628],{},"--file-upload-title",[654,1630,1631],{},"--file-upload-description",[654,1633,1634],{},"--file-upload-name",[654,1636,1511],{}," twin. Item's, Empty's, Stepper's and Timeline's titles and descriptions don't follow the size at all: ",[654,1639,656],{}," is the density of the row, and the text keeps its role.",[1037,1642,1644],{"id":1643},"text-fields","Text fields",[650,1646,1647,1648,1504,1651,1654,1655,1657,1658,1504,1661,1664,1665,1667,1668,1671,1672,1675,1676,1679],{},"PinInput, InputNumber, TagsInput and InputGroup set ",[654,1649,1650],{},"--control-text",[654,1652,1653],{},"--control-text-leading"," on their root: the text size of the field inside, from the ",[654,1656,747],{}," breakpoint up (below it, text stays 16px so phones don't zoom in). The classes that set and read them are ",[654,1659,1660],{},"textControlText",[654,1662,1663],{},"textControlInnerText"," from ",[1012,1666,599],{"href":600},", the frame every text field shares. PinInput also sets ",[654,1669,1670],{},"--pin-input-slot",", the box of one slot, and TagsInput sets ",[654,1673,1674],{},"--tags-input-line",", the height of the line you type in, and ",[654,1677,1678],{},"--tags-input-delete",", a chip's remove button.",[1037,1681,1683],{"id":1682},"overriding-them","Overriding them",[650,1685,1686],{},"For one component, put the variable in a class on the part that sets it: the panel of a list, or the control itself. It wins over the size's own value.",[873,1688,1692],{"className":1689,"code":1690,"language":1691,"meta":878,"style":878},"language-vue shiki shiki-themes github-light github-dark","\u003CSelectContent class=\"[--menu-item-height:2.5rem]\">…\u003C\u002FSelectContent>\n\u003CDrawerMenu class=\"[--menu-item-gap:--spacing(3)]\">…\u003C\u002FDrawerMenu>\n\u003CCheckbox class=\"[--choice-size:1.375rem]\" \u002F>\n","vue",[654,1693,1694,1721,1741],{"__ignoreMap":878},[882,1695,1696,1699,1703,1706,1709,1713,1716,1718],{"class":884,"line":885},[882,1697,1698],{"class":891},"\u003C",[882,1700,1702],{"class":1701},"s9eBZ","SelectContent",[882,1704,1705],{"class":888}," class",[882,1707,1708],{"class":891},"=",[882,1710,1712],{"class":1711},"sZZnC","\"[--menu-item-height:2.5rem]\"",[882,1714,1715],{"class":891},">…\u003C\u002F",[882,1717,1702],{"class":1701},[882,1719,1720],{"class":891},">\n",[882,1722,1723,1725,1728,1730,1732,1735,1737,1739],{"class":884,"line":895},[882,1724,1698],{"class":891},[882,1726,1727],{"class":1701},"DrawerMenu",[882,1729,1705],{"class":888},[882,1731,1708],{"class":891},[882,1733,1734],{"class":1711},"\"[--menu-item-gap:--spacing(3)]\"",[882,1736,1715],{"class":891},[882,1738,1727],{"class":1701},[882,1740,1720],{"class":891},[882,1742,1743,1745,1747,1749,1751,1754],{"class":884,"line":932},[882,1744,1698],{"class":891},[882,1746,162],{"class":1701},[882,1748,1705],{"class":888},[882,1750,1708],{"class":891},[882,1752,1753],{"class":1711},"\"[--choice-size:1.375rem]\"",[882,1755,1756],{"class":891}," \u002F>\n",[650,1758,1759,1760,1763],{},"For every one, write a rule outside any CSS layer, so it beats Tailwind's utilities, and key it on the slot. The panels of Menu, MenuSubContent, MenubarContent, MenubarSubContent, Select, Combobox, Command and DrawerMenu also carry ",[654,1761,1762],{},"data-size",", and so do Checkbox, Radio and Switch, so a rule can change one size only:",[873,1765,1767],{"className":875,"code":1766,"language":877,"meta":878,"style":878},"[data-slot='menu'][data-size='md'],\n[data-slot='menu-sub-content'][data-size='md'],\n[data-slot='select-content'][data-size='md'],\n[data-slot='combobox-list'][data-size='md'] {\n  --menu-item-height: 2.5rem;\n}\n",[654,1768,1769,1795,1816,1837,1859,1876],{"__ignoreMap":878},[882,1770,1771,1774,1777,1779,1782,1785,1787,1789,1792],{"class":884,"line":885},[882,1772,1773],{"class":891},"[",[882,1775,1776],{"class":888},"data-slot",[882,1778,1708],{"class":922},[882,1780,1781],{"class":1711},"'menu'",[882,1783,1784],{"class":891},"][",[882,1786,1762],{"class":888},[882,1788,1708],{"class":922},[882,1790,1791],{"class":1711},"'md'",[882,1793,1794],{"class":891},"],\n",[882,1796,1797,1799,1801,1803,1806,1808,1810,1812,1814],{"class":884,"line":895},[882,1798,1773],{"class":891},[882,1800,1776],{"class":888},[882,1802,1708],{"class":922},[882,1804,1805],{"class":1711},"'menu-sub-content'",[882,1807,1784],{"class":891},[882,1809,1762],{"class":888},[882,1811,1708],{"class":922},[882,1813,1791],{"class":1711},[882,1815,1794],{"class":891},[882,1817,1818,1820,1822,1824,1827,1829,1831,1833,1835],{"class":884,"line":932},[882,1819,1773],{"class":891},[882,1821,1776],{"class":888},[882,1823,1708],{"class":922},[882,1825,1826],{"class":1711},"'select-content'",[882,1828,1784],{"class":891},[882,1830,1762],{"class":888},[882,1832,1708],{"class":922},[882,1834,1791],{"class":1711},[882,1836,1794],{"class":891},[882,1838,1839,1841,1843,1845,1848,1850,1852,1854,1856],{"class":884,"line":959},[882,1840,1773],{"class":891},[882,1842,1776],{"class":888},[882,1844,1708],{"class":922},[882,1846,1847],{"class":1711},"'combobox-list'",[882,1849,1784],{"class":891},[882,1851,1762],{"class":888},[882,1853,1708],{"class":922},[882,1855,1791],{"class":1711},[882,1857,1858],{"class":891},"] {\n",[882,1860,1862,1865,1867,1870,1873],{"class":884,"line":1861},5,[882,1863,1864],{"class":898},"  --menu-item-height",[882,1866,902],{"class":891},[882,1868,1869],{"class":905},"2.5",[882,1871,1872],{"class":922},"rem",[882,1874,1875],{"class":891},";\n",[882,1877,1879],{"class":884,"line":1878},6,[882,1880,962],{"class":891},[650,1882,1883],{},"Setting one on an ancestor does nothing: the panel or control sets its own value, and its parts see that one.",[670,1885,1887],{"id":1886},"next","Next",[978,1889,1890,1895,1900],{},[981,1891,1892,1894],{},[1012,1893,46],{"href":47},": how icons pick up their size.",[981,1896,1897,1899],{},[1012,1898,56],{"href":57},": the corner roles and how nested corners stay concentric.",[981,1901,1902,1904],{},[1012,1903,61],{"href":62},": small controls that are still easy to tap.",[1906,1907,1908],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}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 .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":878,"searchDepth":932,"depth":932,"links":1910},[1911,1912,1913,1914,1922],{"id":672,"depth":895,"text":673},{"id":864,"depth":895,"text":865},{"id":975,"depth":895,"text":976},{"id":1028,"depth":895,"text":1029,"children":1915},[1916,1917,1918,1919,1920,1921],{"id":1039,"depth":932,"text":1040},{"id":1375,"depth":932,"text":1376},{"id":1473,"depth":932,"text":1474},{"id":1515,"depth":932,"text":1516},{"id":1643,"depth":932,"text":1644},{"id":1682,"depth":932,"text":1683},{"id":1886,"depth":895,"text":1887},{},true,{"title":51,"description":54},"lHbz7-JABKWcFLNLBgoANtmTv6gAfBqdgs-dWWzQKlc",[],[],1792689688288]