v2.0.0
Breaking changes
- Solid 2.0 is now required. Peer dependencies are
solid-js@^2.0.0and@solidjs/web@^2.0.0. Solid 1.x is no longer supported. - The JSX import source has changed from
solid-jsto@solidjs/web. Update yourtsconfig.json:{ "compilerOptions": { "jsxImportSource": "@solidjs/web" } } JSXnamespace types and DOM-specific component types must now be imported from@solidjs/webinstead ofsolid-js.- Context providers now use the
valueprop directly —<Context.Provider value={...}>is replaced by<Context value={...}>. - DOM attributes passed to Kobalte parts use Solid 2.0's lowercase convention:
tabindex,inputmode,autocomplete,spellcheck,contenteditable,readonly. - Import each component from its own entry point (
@kobalte/core/dialog,@kobalte/core/tabs, ...). The package root@kobalte/coreis no longer an export, andsrc/is no longer shipped. Dialog,Tabs, etc. are the Root component with the other parts attached (Dialog.Trigger,Dialog.Content, ...). TheDialog.Rootalias is gone: useDialogor theRootnamed export.- Solid 2.0's
mergekeeps explicitly passedundefinedvalues, soid={undefined}orshouldFocusWrap={undefined}no longer falls back to the component default. Omit the prop to get the default. createTransitionwas removed, it is superseded by Solid 2.0's built-in transition model.@solidjs/[email protected]is the only release compatible with Solid 2 if you test Kobalte components.
Migrating your own code
Kobalte itself no longer needs changes beyond the list above. Your application code needs the Solid 1 to Solid 2 changes from Solid's own 2.0 migration guide: @solidjs/web imports, split createEffect, merge/omit replacing mergeProps/splitProps, <Loading>/<Errored> replacing <Suspense>/<ErrorBoundary>, and <Index> replaced by <For keyed={false}> (or <Repeat> for a fixed count).
New features
- New
Drawercomponent — a panel that slides in from any edge of the screen with drag-to-dismiss, snap-point support, and real-time overlay opacity tracking. Adapted from corvu/drawer by Jasmin Noetzli (MIT). - New
Resizablecomponent — a set of panels that can be resized by dragging the handles between them. Supports horizontal and vertical layouts, collapsible panels, pixel or fraction sizes, nested layouts, and full keyboard navigation. Adapted from corvu/resizable by Jasmin Noetzli (MIT). - New
OTPFieldcomponent — an accessible one-time password input built from a hidden native<input>and fully customisable visual slots. Supports autofill, custom character patterns, caret tracking, and Kobalte's standard form control system. - New
DateFieldcomponent — a segmented date/time input with per-segment keyboard editing and Kobalte's standard form control system. Values are nativeDateobjects (Gregorian only, no explicit per-value time zone). - New
Calendarcomponent — a date grid supporting single, multiple, and range selection and full keyboard navigation, built on nativeDate. Range selection follows corvu/calendar's click-only model (first click sets the start, second click commits the end — no pointer-drag) by Jasmin Noetzli (MIT). - New
Stepscomponent — a step indicator for multi-step flows with per-step validity and skippable steps. - New
Statisticcomponent — displays a labeled numeric value such as a KPI or dashboard metric, with locale formatting and trend indicator. - New
Cardcomponent andDividercomponent. - New
DatePickercomponent — a trigger button that opens aCalendarin aPopoverto pick a date, dates, or date range. corvu has no dedicated date-picker primitive; this follows its own suggested composition ofCalendardirectly insidePopover. DateField/Calendar/DatePickerintentionally do not depend on@internationalized/date— this trades away three capabilities in exchange for zero extra runtime dependencies: no non-Gregorian calendar systems (Gregorian only, permanently), no explicit per-value time zone or DST-safe arithmetic (all date math runs in the browser's local time zone), and no era segment inDateField(no calendar-system era concept to expose).
Solid Primitives integration
Internal primitives have been replaced with their @solid-primitives equivalents, reducing the custom code surface and aligning with the broader Solid ecosystem:
createControllableSignal→@solid-primitives/controlled-signalcreateFormResetListener→@solid-primitives/formcreateSize/createElementSize→@solid-primitives/resize-observer- Reduced-motion detection →
@solid-primitives/media(via interaction) - Presence/exit animation management →
@solid-primitives/presence - i18n utilities →
@solid-primitives/i18n - Keyboard shortcut tracking →
@solid-primitives/keyboard combineStyle/ prop utilities →@solid-primitives/props- Scroll locking →
@solid-primitives/scroll - A11y helpers →
@solid-primitives/a11y - Focus management →
@solid-primitives/focus
Internal changes
- All components ported to the Solid 2.0 API: split
createEffect(compute, apply)form,omitreplacingsplitProps,mergereplacingmergeProps, auto-batched writes, and<Loading>/<Errored>replacing<Suspense>/<ErrorBoundary>in internal use. createTransitionremoved — superseded by Solid 2.0's built-in transition model.- TypeScript updated to 7.0 with stricter type checking applied across all components.
- Biome updated to 2.5.15 for formatting and linting.
- pnpm updated to 11.
- Vite updated to 8, Vitest to 5, and Storybook to 10.
@solidjs/testing-libraryupdated to 1.0.0-rc.2.
Last updated: 11/28/26, 4:40 PM