Keep upWhat's new

What's new

Effect UI is in public preview: every commit to main is published as a snapshot build. This page follows the repository.

Latest snapshot: 9a74c82

Install it
bun add effect \
  @effect/ui@https://pkg.pr.new/Effect-TS/ui/@effect/ui@9a74c82 \
  @effect/ui-kit@https://pkg.pr.new/Effect-TS/ui/@effect/ui-kit@9a74c82

The lessons on this site are checked against this snapshot. The packages aren't on npm yet. They install from pkg.pr.new by commit, so pin a SHA and move it on purpose.

Recent changes

240 of the last 240 commits to Effect-TS/ui
DateKindChangePackage
Dec 1ChangedShow a not-allowed cursor over the paused page during time travel@effect/ui, ui-devtools
Dec 1ChangedRead the Dialog focus test's target from the composed path, and drop a duplicate fallback testui-kit
Dec 1ChangedFold the bounded Command loop test into the drain order test@effect/ui
Dec 1ChangedRun ui-native on React Native 0.83 and react-native-macosui-native, examples
Dec 1FixedFix Menu picking the wrong item when keys are pressed right after a keyboard openui-kit
Dec 1ChangedSettle document tests on a quiet document instead of a fixed timeoutui-kit
Dec 1FixedKeep an open stream open after a run that only patches it@effect/ui, docs
Dec 1ChangedName the update behind a query-driven unmount, and document run ownership@effect/ui, docs
Dec 1AddedAdd Router.settled and settle the initial page load@effect/ui, ui-native
Dec 1AddedLet a query's fetch read other query entries in a mounted tree@effect/ui
Dec 1ChangedShare a component's logic across hosts with Definition.logic@effect/ui, examples, docs
Dec 1AddedAdd TimeField and TimeOfDay to ui-kitui-kit, examples
Dec 1AddedAdd NativeHttpClient, a streaming HttpClient on React Native's Networking moduleui-native
Dec 1ChangedFail Play steps on a child failure nothing handles@effect/ui, docs
Dec 1ChangedStart Commands in the task that issued them@effect/ui, ui-kit
Dec 1ChangedHide the page only for a modal Combobox popupui-kit
Dec 1FixedHandle capture events aimed at a closed shadow root's hostui-kit
Dec 1ChangedGlide to the end on a smooth scrollTo request in VirtualList@effect/ui, ui-kit, ui-native
Dec 1FixedTake back focus a script moves between iframes behind a modal Dialogui-kit
Dec 1FixedBlur a focused native input when it leaves the treeui-native
Dec 1DocsDocument DevToolsVite.plugin as the overlay path for Vite appsui-devtools, examples
Dec 1ChangedUse the editor's Save button in the App Play exampledocs
Dec 1AddedAdd horizontal VirtualList and VirtualGrid@effect/ui, ui-kit, ui-native, examples
Dec 1DocsDocument resetting a Model draft when the URL or a parent's value changes@effect/ui, docs
Dec 1ChangedReport blocked navigation attempts to the app@effect/ui, ui-native
Dec 1ChangedReject a failing Effect as a no-props component's props@effect/ui, ui-native, ui-opentui
Dec 1ChangedTrack focus in HtmlPlay with TestHtmlHost@effect/ui, ui-kit, examples, docs
Dec 1ChangedRead collected reports in an owner without a copy@effect/ui, ui-kit, docs
Dec 1ChangedCover Dialog's beforetoggle autofocus guard with a testui-kit
Dec 1FixedKeep focus in a modal dialog when a press outside focuses what contains itui-kit
Dec 1DocsDocument native storage, query persistence and the Metro React auditui-native
Dec 1FixedKeep the popup when modal changes on an open Dialog, Menu, Select or Comboboxui-kit
Dec 1FixedKeep a VirtualList scroll that a layout sync sees before its eventui-kit
Nov 30ChangedList failed instances on the server render result@effect/ui, docs
Nov 30ChangedMake Locator pipeable, with pipe forms for inside and and@effect/ui
Nov 30DocsDocument a pending state for Buttonui-kit
Nov 30ChangedMake modal dialogs aria-modal and inert, and fix the scroll lockui-kit, ui-devtools
Nov 30AddedAdd OpenTuiPlay and Play.custom@effect/ui, ui-opentui, docs
Nov 30AddedAdd a public Swipe behaviour module to ui-kitui-kit, examples
Nov 30ChangedRemove redundant TestHost.settle calls@effect/ui, ui-kit
Nov 30AddedAdd RouterStack, a screen stack on the Router for OpenTUI and native@effect/ui, ui-native, ui-opentui, examples, docs
Nov 30ChangedMove StackSlide.slide to StackTransition.slideui-native, examples, docs
Nov 30AddedAdd href, push and replace to route constructors@effect/ui, ui-native, examples, docs
Nov 30FixedKeep what defined custom elements add to server HTML during hydration@effect/ui, docs
Nov 30AddedAdd ElementBuilder.props for setting multiple properties@effect/ui, ui-native, ui-opentui
Nov 30AddedAdd clipboard commands to OpenTuiCommandui-opentui, docs
Nov 30AddedAdd Renderer.instanceAt for custom host inspectors@effect/ui
Nov 30AddedAdd opt-in smooth end following to VirtualList@effect/ui, ui-kit, ui-native
Nov 30AddedAdd swipe dismissal to ToastProviderui-kit
Nov 30FixedKeep the native example's buttons on screen at phone widthsexamples
Nov 30ChangedPass element props to Host.createElement@effect/ui, ui-native, ui-opentui
Nov 30ChangedCompare a waiting instance's adopted state in ssr@effect/ui
Nov 30FixedKeep focus in Menu and Combobox popups opened with a mouseui-kit
Nov 30ChangedReset Pan velocity when the touch rests before it endsui-native
Nov 30AddedLet Play answer mounts, at any depth@effect/ui, docs
Nov 30ChangedInclude scroll offsets and transforms in native host measurementui-native
Nov 30ChangedStep at repeated interpolate knots instead of committing NaNui-native
Nov 30ChangedDismiss Dialog and Drawer from a backdrop click without mountsui-kit
Nov 30AddedAdd Locator.className, and, not and RegExp attr@effect/ui
Nov 30AddedLet consumer inline styles override top-layer portal defaultsui-kit
Nov 30AddedLet query onChange return undefined to send no message@effect/ui, docs
Nov 30AddedAdd maxSize to FileDropui-kit
Nov 30ChangedFocus the first server-invalid control with FormFocusInvalidui-kit, examples
Nov 30ChangedClose inner popups before the dialog around them on Escapeui-kit
Nov 30ChangedReturn Option from Linking.initialURL and NativeRouter.pathOfui-native
Nov 30AddedAllow custom WebSocket constructors in headless DevTools@effect/ui, ui-devtools
Nov 30ChangedReturn an Option from Css.colorui-native
Nov 30ChangedUpdate Dialog tests and the DevTools modal fixture for the div portalui-kit, ui-devtools
Nov 30ChangedExpose clipboard files in paste payloads@effect/ui
Nov 30ChangedRemove a Tabs panel with no exit animation in the same frame the next one entersui-kit
Nov 30ChangedStop Drawer swipes from restyling the pageui-kit
Nov 30FixedKeep a #hash cleared outside BrowserRouter@effect/ui
Nov 30DocsDocument the node contract for hosts that run mounts@effect/ui
Nov 30FixedKeep a served lazy child's nodes while its module loads during hydration@effect/ui
Nov 30ChangedTreat the hidden property as hidden in HtmlLocator@effect/ui
Nov 30ChangedShare visibility and connectivity listeners across BrowserHost roots@effect/ui
Nov 30ChangedShow popovers through hidden without the Popover API@effect/ui, ui-kit
Nov 30ChangedAnnounce routes politely and reset focus left on the followed link@effect/ui
Nov 30ChangedName unsupported app services in Command.make errors@effect/ui
Nov 30FixedKeep focus moved inside a Dialog before its opening frameui-kit
Nov 30ChangedStop touch taps from counting as mouse hover@effect/ui, ui-kit, ui-devtools, examples
Nov 30FixedKeep a controlled details' toggle until the browser sends it@effect/ui
Nov 30ChangedPrint route search the way URLSearchParams does@effect/ui
Nov 30FixedFix ToastProvider timers, exits, measuring and urgent announcementsui-kit
Nov 30ChangedInfer inline onFailure when providing a fallible Layer value@effect/ui
Nov 30ChangedHydrate an element with the attributes a mount writes for its properties@effect/ui
Nov 30ChangedClick a label's control in HtmlScene and HtmlPlay@effect/ui
Nov 30ChangedCache colour strings that have no native valueui-native
Nov 30ChangedMatch React Native testID props in Locator.testId@effect/ui, ui-native
Nov 30ChangedRestore presses on a kept-alive native child when it returnsui-native
Nov 30ChangedPut the dialog role on the popup, and make the portal a divui-kit, examples
Nov 30ChangedType-check ARIA roles and attributes on HTML and SVG builders@effect/ui, ui-kit, ui-devtools, examples, docs
Nov 30FixedKeep the DevTools inspector clickable above open kit dialogsui-devtools
Nov 30ChangedClear the keyboard on an off-screen iOS frame changeui-native
Nov 30ChangedSend scroll deceleration presets to native as platform ratesui-native
Nov 30ChangedResolve DevTools socket URLs without the URL globalui-devtools
Nov 30ChangedStop AccessibilityInfo.onChange leaking its listener when the first read is synchronousui-native
Nov 30FixedFix duplicate event delivery to handlers in nested roots@effect/ui
Nov 30FixedKeep Animation.set values over unchanged renders without a native driverui-native
Nov 30FixedKeep generated Popover trigger IDs stable across Dialog re-rendersui-kit
Nov 30ChangedCommit restored controlled input edits to Fabricui-native
Nov 30FixedKeep a parent's service requirements when it renders VirtualListui-native
Nov 30FixedFix clearing an Android scroll view's position making its refresh wrapper absoluteui-native
Nov 30AddedLet a native Pan inside a Pressable take the touch once it movesui-native
Nov 30ChangedProvide a fake Native.Host from TestDevice.layerui-native
Nov 30ChangedAccept native hosts in the MessageLog wire protocol@effect/ui, ui-devtools
Nov 30ChangedExpose maxEntryBytes in DevToolsHeadless.layerui-devtools
Nov 30ChangedStop reporting MessageLog socket defects as retryable@effect/ui
Nov 29FixedKeep host iframe minimum sizes off the DevTools launcherui-devtools
Nov 30AddedAdd UiAtom.family: readers pick their Atom from their Model or props@effect/ui, docs
Nov 29AddedAdd UiAtom.share: read and write effect Atoms as shared state@effect/ui, docs
Nov 29AddedAdd Toaster service for toasts from Effect servicesui-kit, examples
Nov 29ChangedCopy the clicked heading’s permalink on the launch pageexamples
Nov 29FixedFix launch page deep links landing past their headingsexamples
Nov 29ChangedRestore the launch page performance comparison without Foldkitexamples
Nov 29Changedfeat(ui-native): keyboardShouldPersistTaps on scroll, and Animation.stickyHeaders@effect/ui, ui-native
Nov 29AddedAdd a router to @effect/ui-native: NativeRouter, Link and a screen stack@effect/ui, ui-native, examples, docs
Nov 28ChangedStop recording DevTools entries by component or subtree@effect/ui, ui-devtools
Nov 28ChangedLoad the ui-native kit in Node tests without mocksui-native
Nov 28ChangedContinue a Command's trace across runs and invalidated refetches@effect/ui, docs
Nov 28AddedAdd TestDevice to @effect/ui-native/testingui-native
Nov 28AddedAdd pointer events and hover to @effect/ui-nativeui-native, examples
Nov 28AddedAdd a virtual list to @effect/ui-native on a shared Virtualizer core@effect/ui, ui-kit, ui-native, examples
Nov 28ChangedInstall queueMicrotask in NativeApp.installui-native
Nov 28ChangedEnd interrupted ui-kit drags and stepper holdsui-kit
Nov 28AddedAdd React Native device APIs to @effect/ui-native/kit@effect/ui, ui-native
Nov 28ChangedAnimate native views on the native driver with Animation and LayoutAnimationui-native, examples
Nov 28AddedAdd Image and ImageBackground to @effect/ui-native/kitui-native, examples
Nov 28AddedAdd reactivityKeys option to Query services@effect/ui
Nov 28AddedAdd experimental VirtualView kit module to @effect/ui-nativeui-native, examples
Nov 28AddedAdd Switch and ActivityIndicator to @effect/ui-native/kitui-native
Nov 28AddedAdd Pressable and Pan to the native kit, and let scroll views take touchesui-native, examples
Nov 28ChangedDismiss open Select when Escape is pressed on the triggerui-kit
Nov 28AddedAdd expanded option to HtmlLocator role queries@effect/ui
Nov 28ChangedBundle installed @effect/ui libraries during SSR in HtmlServerVite@effect/ui
Nov 28ChangedExpose KeyboardEvent.code on Html.KeyPayload@effect/ui
Nov 28ChangedIgnore menuitem and option roles when starting Drawer swipesui-kit
Nov 28ChangedSkip view transitions after browser-animated Back/Forward navigation@effect/ui, docs
Nov 28AddedAdd Modal, SafeArea, Drawer, and InputAccessory to @effect/ui-native/kitui-native
Nov 28ChangedName buttons by their associated labels in HtmlLocator@effect/ui
Nov 28ChangedAvoid sleeping through mount changes updates across yields@effect/ui
Nov 28ChangedWait one quiet macrotask in TestHost.settle after scheduler work runs@effect/ui, examples, docs
Nov 28ChangedPersist selected query results with QueryPersistence@effect/ui
Nov 28ChangedName shared owners by key so readers don't bundle them@effect/ui, ui-kit, docs
Nov 28AddedAdd opt-in @effect/ui-native/networking entryui-native
Nov 27ChangedTrim Why Effect UI and DevTools For agents copyexamples
Nov 27ChangedSimplify launch OG image and description copyexamples
Nov 27ChangedUpdate launch OG image copy and bust cacheexamples
Nov 27ChangedFocus launch page on Effect UI and remove Foldkit comparisonsexamples
Nov 27ChangedUpdate launch page for recent ui additions and add publication datesexamples
Nov 28AddedAdd typed native text and input props, events, defaults, and command helpersui-native, examples
Nov 28ChangedRecord the issuing message tag on command spans@effect/ui
Nov 28ChangedPublish snapshots for every public package, including @effect/ui-native
Nov 28ChangedCover React Native scroll behaviour and add RefreshControlui-native
Nov 27ChangedType native styles and props, and add Css parsers to ui-native kitui-native
Nov 27AddedLet modules define native views with Native.defineViewui-native
Nov 27AddedLet Enter pick the focused Calendar day during a months-only changeui-kit
Nov 27ChangedPoint a Scene's child-handler error to childEmit and Play, and fix slot content owners@effect/ui, docs
Nov 27DocsDocument filtering stale snapshots after an optimistic run on stream queries@effect/ui
Nov 27ChangedInterrupt superseded query fetches by default@effect/ui, docs
Nov 27ChangedCheck each update against a transition rule in Story@effect/ui, docs
Nov 27AddedAdd @effect/ui-native, a Fabric host for React Native without React@effect/ui, ui-native, examples
Nov 27AddedAdd BrowserHost.defineElement to publish components as custom elements@effect/ui, docs
Nov 27AddedAdd Query.StreamService for stream-backed query entries@effect/ui, docs
Nov 27ChangedPick a page element to find the instance that rendered it@effect/ui, ui-devtools
Nov 27ChangedRestore controlled input values in TestHost after a refused edit@effect/ui
Nov 27ChangedShip root props in the hydration state@effect/ui, docs
Nov 27FixedFix Select, Dialog, and Positioning interactions inside shadow rootsui-kit
Nov 27FixedKeep committed IME text on Enter keyup in Combobox@effect/ui, ui-kit
Nov 27ChangedExplore bounded message and Command orders in Story@effect/ui, docs
Nov 27ChangedPreserve keyboard focus on keyed sibling reorders@effect/ui
Nov 27AddedSupport non-root Vite bases in dev SSR and prerendering@effect/ui
Nov 27ChangedExpose typed schemas on query services@effect/ui
Nov 27AddedAdd Root.setProps to update mounted roots without remounting@effect/ui, ui-opentui, docs
Nov 27ChangedReturn dispatchable examples from get_message_schema@effect/ui, ui-devtools
Nov 27ChangedParent command work and query fetches under their spans@effect/ui
Nov 27ChangedLeave unhandled GET forms to the browser@effect/ui
Nov 27AddedAdd HtmlFiles.download for named browser downloads@effect/ui, docs
Nov 27AddedAdd Renderer.slowPhases to report slow updates, views and flushes@effect/ui
Nov 27ChangedExpose text selection in HTML events and let HtmlCommand.select set a range@effect/ui
Nov 27ChangedDefer deep views instead of crashing server rendering@effect/ui
Nov 27AddedAdd Dismissal, a shared stack of dismissable layers for custom widgetsui-kit
Nov 27AddedAdd dropdown panels to NavigationMenuui-kit, examples
Nov 27ChangedStop document shortcuts from firing behind an open modal@effect/ui, ui-kit, docs
Nov 27AddedSupport captured pointer gestures on HTML elements@effect/ui, ui-opentui, examples, docs
Nov 27AddedAdd Case, BrowserCase and the DevToolsVite workbench@effect/ui, ui-devtools, examples, docs
Nov 27ChangedInfer custom-element prop and ref types from HTMLElementTagNameMap@effect/ui, examples
Nov 27ChangedRead Menu checked state from itemsui-kit
Nov 27AddedAdd Story.check for generated stories@effect/ui
Nov 27ChangedOnly select the first matching option in HtmlServer@effect/ui
Nov 27ChangedMake h.textarea take no children@effect/ui, ui-kit
Nov 27AddedAdd HtmlSubscription.keySequences for timed multi-key shortcuts@effect/ui, docs
Nov 27ChangedShow several consecutive months in Calendar, RangeCalendar and DatePickerui-kit
Nov 27ChangedEmit an optional production web handler from HtmlServerVite@effect/ui, examples
Nov 27ChangedShow and filter DevTools timeline entries by declared payload fieldsui-devtools
Nov 27AddedAdd an accessible SortableList to ui-kitui-kit
Nov 27DocsDocument testing components that wrap headless and ui-kit partsui-kit, docs
Nov 27AddedAdd HtmlSubscription.onVisibility and onConnectivity@effect/ui
Nov 27ChangedAppend classes across Element.class calls@effect/ui
Nov 27AddedAdd optional root key for multiple mounts of the same component@effect/ui
Nov 27FixedFix Calendar rapid keyboard navigation and run DOM ref Commands on commit@effect/ui, ui-kit
Nov 27ChangedSettle the fibers of Layers built on top of TestHost@effect/ui, docs
Nov 27AddedAdd toHaveAttributes and toHaveStyle scene matchers@effect/ui, docs
Nov 27AddedAdd Scene.expectLazyReused to diagnose h.lazy cache misses@effect/ui
Nov 27ChangedWarn before unloading while a Router block is held@effect/ui
Nov 27AddedSupport native slot elements in Html vocabulary@effect/ui
Nov 27AddedSupport sprite images in Canvas scenes@effect/ui, docs
Nov 27DocsDocument using HtmlServerVite with a shell from another renderer@effect/ui
Nov 27FixedKeep the page offset when keyed items reorder above a VirtualListui-kit
Nov 27FixedKeep startup edits and their caret on a prerendered Domains search link@effect/ui, examples
Nov 27ChangedReject vite build --watch in HtmlServerVite@effect/ui
Nov 27ChangedPort Foldkit Domains to an exampleui-kit, examples
Nov 27FixedFix remaining cross-realm DOM checks in ui-kitui-kit
Nov 27ChangedMake Command, Mount and Query options optional, with a silent Command.Service by default@effect/ui, ui-devtools, examples, docs
Nov 27FixedKeep requirements when chaining on a choice of element builders@effect/ui, ui-kit, ui-opentui
Nov 27ChangedRun a mount's start, args and release in the committing task@effect/ui, ui-kit
Nov 26ChangedEnlarge the DevTools instance tree toggles and keep its selection bar at the panel edgeui-devtools
Nov 27ChangedStart the devtools instance list in tree modeui-devtools
Nov 27FixedKeep inert controls out of HTML testing helpers' queries and user steps@effect/ui, ui-devtools
Nov 27ChangedUse OS-assigned ports in the DevTools server and viewer testsui-devtools, ui-opentui
Nov 27FixedKeep a query's last result while changed args load, and add dropPrevious@effect/ui, examples, docs
Nov 27AddedAdd HtmlServerVite.plugin for SSR in dev and prerendering at build@effect/ui, examples
Nov 27FixedKeep focus in Select popups opened with a mouseui-kit
Nov 27AddedLet DevTools stop and start recording noisy message tags at runtime@effect/ui, ui-devtools
Nov 27ChangedSkip CSS direction reads under a DirectionProviderui-kit
Nov 27AddedAdd typed SVG builders to the HTML vocabulary@effect/ui, examples, docs
Nov 27ChangedSkip restoring reused subtrees that have no controlled properties@effect/ui
Nov 27AddedAdd a browser benchmark for the startup cost of unmounted ui-kit definitions@effect/ui
Nov 27ChangedAccept either space before the Bulgarian date suffix in DateField testsui-kit
Nov 27ChangedHydrate ssr() in an iframe so open popovers and modal dialogs work in browsers@effect/ui
Nov 27ChangedType picker values with a schemaui-kit
Nov 27ChangedReplay live state to late MessageLog.socket connections@effect/ui, ui-devtools
Nov 27ChangedStart dialog tracking before commit so open dialogs show under TestHost@effect/ui, ui-kit
Nov 27ChangedNotify renderer hosts before a mount's nodes are removed@effect/ui
Nov 27ChangedOmit SVG animation values that set a blocked URL during server rendering@effect/ui
Nov 27ChangedWait for lazy children drawn in a headless child's view closure or in a slot@effect/ui
Nov 27ChangedDon't report RouteMismatch when a static 404 hydrates at another unknown path@effect/ui
Nov 27FixedKeep Step.run requirements on a union of steps@effect/ui, ui-opentui
Nov 27AddedAllow a query entry to opt out of history restore@effect/ui
Nov 27FixedFix ui-kit pointer and focus handling in parent-driven iframesui-kit