Reference
[09] Reference
Changelog 1.4
Release notes for @vaneui/ui 1.4.0 to 1.4.6, released 2026-08-20 to 2026-10-29: added props and components, changes and fixes. The changelog page has the latest version.
1.4.6
2026-10-29
Breakpoint props for showing an element only on smaller screens and for full width below a breakpoint, so sites no longer need lg:hidden or max-mobile:w-full.
Added
mobileShow,tabletShowanddesktopShow: show an element only below 768, 1024 or 1280px, the reverse ofmobileHideand friends. They combine with a hide prop, so<Row mobileHide tabletShow>shows only between 768 and 1024px.mobileWFull,tabletWFullanddesktopWFull: full width below 768, 1024 or 1280px, keeping the component's base width above it.<Button mobileWFull>fills a stacked row on a phone and stays fit width on desktop. ASelectapplies both families to its wrapper.
1.4.5
2026-10-29
Additions that let vaneui.com drop most of its custom CSS: a progress bar, divided grids, strong borders, NavLink indicators, shadow sizes and real light subtrees.
Added
Progress: a determinate bar,<Progress value={40} aria-label="Upload" />. Arole="progressbar"track witharia-valuenow,aria-valueminandaria-valuemax;valueis clamped to 0 tomax(100 by default). The fill is its own themed element (progress.fill), a filled bar in the appearance color over a neutral track, and it follows the track's shape andtransition/noTransition. Heights run 2, 4, 8, 12 and 16px fromxstoxl;pillby default. The fill eases to a new value, with no motion under reduced motion.dividedonGrid2toGrid6: 1px lines in the divider color between and around the cells, in place of the gap.strongBorderon layout components (Row,Col,Stack,Grid*,Container,Card,Section): the border takes the appearance's strong color, the one its focus ring uses. A filledCard, whose border is otherwise transparent, shows it too.indicatorStartandindicatorBottomonNavLink: a 1px rail on the start edge that turns into a 2px accent mark whenactiveoraria-selected, or an accent bar under the active tab. They are inset shadows, so the text does not move. The rail flips in right-to-left text.shadowXstoshadowXl: fix the drop shadow size on the component's own ramp (compact for UI components, deeper for layout ones), whatever the component's size.shadowstill follows the size.pointerEventsNone/pointerEventsAutoand thewhitespace*props on layout components:Row,Col,Stack,Grid*,Container,CardandSection.noShrinkonImg, so an image keeps its size in a tightRow.- Selected options: a
NavLinkorMenuItemwitharia-selected="true"(an option in a listbox, like a search result) takes the hover fill.
Changed
- Dark mode colors are
light-dark()pairs. The dark block's colors are now one list oflight-dark(light, dark)pairs on everydata-themeelement, anddata-themesetscolor-scheme, which picks the side. Pages withoutdata-themekeep the@themevalues and are unaffected. Uncompiled,light-dark()needs Chrome 123, Firefox 120 or Safari 17.5; bundlers that compile it for older browsers (Next.js does by default) keep those working. To change a color in both schemes, re-declare it as a pair under:root[data-theme], [data-theme]:not(:root), after the VaneUI stylesheet.
Fixed
data-theme="light"makes a subtree light inside a dark page or wrapper. It only resetcolor-scheme, so the dark colors still came through. It now resolves every pair to its light side. On<html>it changes nothing, so token customizations made with@themekeep working.
1.4.4
2026-10-10
A consistency pass on Tooltip: it is now sized and coloured as a label, not a panel.
Added
TooltiptakesPopupprops directly, likeMenu:<Tooltip lg placeBottom arrow>. Size, appearance, variant, shape, placement,arrow,offsetandclassNamestyle the tooltip.popupPropsstill works and is combined with them.
Changed
Tooltipis filled in ink: near-black, and near-white in dark mode, like a filled primaryButton. It was gray.<Tooltip secondary>orthemeDefaults={{ tooltip: { secondary: true } }}brings the gray back.Tooltiptext follows its size: 10, 12, 14, 16 and 18px fromxstoxl, one step under aButtonof the same size. It inherited the page's text (16px at every size).Tooltippadding and radius follow theButtonramp, so a tooltip is about as tall as aButtonof the same size (29px instead of 44px at the defaultsm). Padding no longer shrinks on tablets and phones.- Long tooltips wrap inside a cap that grows with size (16–32rem, 20rem at
sm) instead of running on one line across the page.
Fixed
- Popups placed above or below stay on screen next to an anchor at the viewport edge in browsers with CSS anchor positioning. They were centred on the anchor and cut off; they now line up with the anchor's edge, and the arrow follows.
1.4.3
2026-09-30
Fixes from a review of the components composed into real screens (dashboards, forms, landing pages, articles, overlays, a storefront).
Added
TableandAlerttake a font family (fontSans,fontMono, …) and default tofontSans. Their cells and raw text used to fall back to the page's own font (a serif on an unstyled page), because the scoped reset never sets one.
Changed
InputandSelectare as tall asButtonat every size. They used a looser line height, so a field was 4.8px taller than the button beside it atmd. Their corner radius now matches too. EveryInputandSelectgets slightly shorter.- List markers sit inside the list box. The marker gutter was 12px at
md, so bullets and10.hung outside it; it is now 16–32px by size. Aniconitem's icon moves into the same gutter, so icon items and plain items share one text column. transitionno longer animates the focus ring, only colors, shadows and transforms.
Fixed
- Words no longer break mid-word in rows and tables. The long-token wrapping added for URLs let a short label beside a full-width control shrink to one letter per line, and split prices and names in table cells. Titles, lists and blockquotes now wrap long tokens too, instead of overflowing on a phone.
- An unselected
RadioGroupno longer shows every radio as selected. - The invalid state is visible.
Input,SelectandTextareadrew their danger ring at 30% strength, fainter than a normal field; it is now full strength. Text fields also use the form-control border token, likeCheckbox,RadioandSwitch. - The active
NavLinkstands out: it is semibold on a stronger tint, and hover no longer looks the same as the current page. A trailingBadgesits at the row's end. Linkand aCardwithhrefdraw a visible focus ring in dark mode and on colored surfaces. It used the browser's default color.- Text stays readable on filled surfaces. Secondary and tertiary text, ghost buttons and links on a filled
CardorSectiontake the surface's text color. filledwithout an appearance no longer turns text white on an unpainted surface.- Whole-page dark mode paints the page, so cards no longer sit darker than the page. Any background you set on
htmlorbodystill wins. Markshows a visible highlight.- An svg in running text stays inline instead of breaking the line.
Tooltip,Popupand menus render in the library font. A stringtitleonModalrenders as aTitle.Modalreturns focus to the button that opened it on every close path.- Escape inside a
Menucloses only that menu, not theModalaround it or the whole menu tree. - Menu items sit flush again; a 16px gap had appeared between them.
- Popups placed above or below keep their own width instead of shrinking to a small trigger, so tooltips no longer wrap one word per line.
- End-aligned and left popups stay at their trigger under
dir="rtl". Modalkeeps a margin on a phone instead of running edge to edge.ModalCloseButtonkeeps its own look under app-widebutton.maindefaults (a filled default made the × invisible) and is square likeIconButton.- A loading
Buttonwith an icon keeps its size. - A read-only
Checkboxno longer toggles, a read-onlySelectcan no longer be changed, and read-only toggles dim like read-only text fields. Fieldpassesdisabled,requiredandreadOnlyto a child control, including everyRadioof a childRadioGroup. Control-only attributes no longer land on its wrapper div.<Link sm>renders atsm; an explicit size used to be ignored.- A size set on the switch input theme reaches the track.
- A disabled
Linklooks disabled, and disabled fields show the not-allowed cursor. Disabled opacity now reads the--disabled-opacitytoken. Selectstays on one line in a row,noShrinkreaches it, and a placeholder option is muted like anInputplaceholder.Textareahonoursrowsbelow three lines.- A clickable
Chipshows the focus ring, and linkedCard,ChipandBadgeget a hover tint. - Hovering another menu item closes an open sibling submenu, and a submenu's trigger keeps its tint while the submenu is open.
Alerttext uses body line-height and a leading icon centres on the first line.- A
Cardwithhrefwarns in development when it contains a button, link or field.
1.4.2
2026-08-22
Fixed
Field's label now scales with the field. The label, description and error were pinned tosmat every size, so<Field xl>grew the control and left its label behind. The label now takes the field's size and the help and error text sit one step below it.Field's inline checkbox and switch line up with their label. The control resolved its line box against the page root instead of the label's font metrics, so it sat high and the switch track overflowed its own box.Field's help and error text stay readable on a filled surface. Their pinned secondary and danger colors lost contrast on a fill; under any filled ancestor, the field itself or aCardorRowabove it, they now take that surface's text color.
1.4.1
2026-08-22
Added
Fieldcan render its own control, instead of only wrapping one passed as a child. Passtype(a control kind such asselect, or a native input type such aspassword,email,date) or one of the six booleanstextInput,textarea,select,checkbox,switch,radiogroup. Surface props (appearance,variant,shape,border,ring,shadow,transparent) route to the rendered control, native attributes go to the control, andrefnow points at the control instead of the wrapper. Layout props andclassNamestay on the wrapper. Children still reach the control, so<option>and<Radio>children keep working.checkboxandswitchlay out inline, control first and label beside it, unless an explicitrow/columnfalls back to the plain stacked layout. Naming no control leaves today's children mode completely unchanged.
Changed
Field'stypeprop is now a closed union of the control kinds and native input types above. It previously accepted any string, inherited from the anchor attributesFieldspreads for tag switching, and Field has nohref-based tag switching of its own, so a value like<Field type="button">was already reaching the wrapper<div>and emitting an invalidtypeattribute at runtime. The type change surfaces that pre-existing bug at compile time rather than removing a working option.
Fixed
- The conflicting-props dev warning no longer fires on composable side toggles.
borderandmarginside toggles compose by design, so<Card borderT borderL>and<Card marginT marginB>are correct usage, yet every component warned that they conflicted. The warning now skips composable categories, matching the rule the resolver itself already used. It still warns in the one case that is genuinely ambiguous there: when ano*reset is combined with a side toggle (<Card borderT noBorder>), where the reset discards the toggle and wins. Fieldno longer emits a danglinghtmlForfor a radio group. Aradiogroupis not a labelable element and never claims the generated id, so the label pointed at nothing.Fieldnow omitshtmlForfor a radio group in both modes; the accessible name continues to come fromaria-labelledby.
1.4.0
2026-08-20
Changed
Portalled floating content waits for hydration before it mounts. A portal has no server markup, so
Popup,ModalandOverlayreturnednullduring SSR — but the first client render portalled immediately, giving React DOM it never emitted server-side and forcing it to throw the subtree away and rebuild it. They now stay closed through the hydrating render and mount on the next one.The gate is on the open state rather than the portal call, so the transition and every element-dependent effect sit downstream of it and run once the element actually attaches. Two consequences worth knowing:
- Portalled content that is open on its first render now transitions in (
entering→entered) instead of appearing alreadyentered. Content opened by interaction is unaffected: hydration is long since complete. portal={false}is untouched. Inline content has server markup, so it still renders server-side and still startsentered— the SSR test that pins this behaviour is unchanged.
Menunow tracks its content element in state rather than a bare ref. Its "focus the first item on open" effect was keyed on the open flag alone, so adefaultOpenmenu focused nothing once the content mounted a render later.- Portalled content that is open on its first render now transitions in (