|Kit
Changelog

0.20.0

Spotlight ⌘K search, media and file components, swappable icons, and an a11y and i18n pass

Spotlight brings a ⌘K omni search with drill-down paths, scopes and streaming sources. A media set arrives alongside it: Image, AspectRatio, Figure, Gallery, Lightbox, Carousel, Compare, ImageCropper, Camera and PhotoCapture. Files get FileTrigger, FileItem, DownloadButton, FilePreview and the network-free useFileQueue. Every built-in icon can be swapped through an icons map and is drawn at a true 1.5px stroke. Schedule, DataTable, pickers and status components went through an accessibility and locale pass. Tabs moves to underline and enclosed indicators, and new public hooks include useHotkey, useInView, useElementSize and useDebouncedValue.

Spotlight

Search everything from one box

createSpotlight({ sources, navigate }) searches every source in parallel, each with its own debounce, and streams in results as they arrive. Type a source's prefix to scope the search, press Tab on a row to search inside it, and pick up where you left off from recents. Items carry a link typed against your router's navigate.

View Spotlight

From a thumbnail to full screen

Wrap a Gallery in a Lightbox and every tile opens the viewer: the photo grows out of its thumbnail and shrinks back into the tile you end on. Swipe between photos, drag down to dismiss, and pinch, double-tap or ⌘-scroll to zoom.

View Lightbox

Uploads, without the plumbing

Pass queue={useFileQueue({ upload })} and FileUpload sends what's picked through your own transport, with per-row progress, Retry and cancel. When the run ends, screen readers hear one summary, not one message per file.

View File Upload
Each file uploads as soon as you drop it.

Drop files here or click to browse

    Changes

    10 breaking changes

    • Tabs:

      The filled, light, outline, subtle and default variants are replaced by underline (the new default) and enclosed on a full-width baseline; use SegmentGroup for the pill look

    • CodeBlock:

      CodeBlock and CodeBlock.Static replace copyIcon, copiedIcon, expandIcon and collapseIcon with one icons={{ copy, copied, expand, collapse }} map; null still leaves a button iconless

    • Slider:

      label is now the field label that names the slider, like every other input; the floating bubble moves to thumbLabel, and showLabel becomes showThumbLabel (the old name still works for now)

    +7 more in the list

    1removed

    61added

    26changed

    34fixed

    AspectRatioNewViewCameraNewViewCarouselNewViewCompareNewViewDownloadButtonNewViewFigureNewView+11more new components
    • breaking10
    • Tabs

      The filled, light, outline, subtle and default variants are replaced by underline (the new default) and enclosed on a full-width baseline; use SegmentGroup for the pill look

      #378
    • CodeBlock

      CodeBlock and CodeBlock.Static replace copyIcon, copiedIcon, expandIcon and collapseIcon with one icons={{ copy, copied, expand, collapse }} map; null still leaves a button iconless

      #361
    • Slider

      label is now the field label that names the slider, like every other input; the floating bubble moves to thumbLabel, and showLabel becomes showThumbLabel (the old name still works for now)

      #379
    • Alert

      withCloseButton now requires onClose; omitting it is a type error

      #376
    • Drawer

      Drawer parts live on the namespace only: DrawerTitle, DrawerHeader and the other flat exports become Drawer.Title, Drawer.Header…

      #383
    • Schedule

      translations.eventCount is now (count) => string and reads "1 event" correctly; a "{count}" string still works for one minor with a deprecation warning

      #381
    • Schedule

      timeLabel(date, timeZone, locale) → timeLabel(date, { timeZone, locale }) and durationLabel(start, end, locale) → durationLabel(start, end, { locale }) (exported as ScheduleFormatOptions)

      #386
    • Spinner

      Spinner renders a <span role="status"> instead of an <svg role="img">, so its props are span props and className/testId/rest land on the root; it stops spinning under reduced motion

      #388
    • DataTable

      A date column's meta.filter.translations.clear is renamed clearDates

      #406
    • SelectMultiSelectComboboxList

      renderItem's item.payload is typed Payload | undefined, as it always was at runtime for strings and payload-less items: guard it with item.payload?.x

      #407
    • removed1
    • File Upload

      onDrop is removed — it never ran; filter with accept, maxFiles and maxFileSize and read what they turn away in onReject

      #358
    • added61
    • Spotlight

      New Spotlight ⌘K omni search: createSpotlight({ sources, navigate }) returns a controller (open, close, toggle, setQuery, refresh, loadMore) plus <SpotlightProvider />, useSpotlight, useSpotlightSource and <SpotlightSources>; sources search in parallel with their own debounce, can stream from an async function*, and fail alone with a retry row

      #340
    • Spotlight

      Items take a typed link checked against your router's navigate parameter, or an onSelect; ↵ navigates, ⌘↵ opens a new tab, and staticSource({ id, label, items }) filters commands client-side ignoring case and diacritics

      #340
    • Spotlight

      The default menu opens on hotkey (mod+k), keeps recents (recents: { limit, storageKey } or false), highlights matches and supports RTL; Spotlight.Root/Input/List/Group/Item/Empty/Footer compose a custom layout, and translations, placeholder and icons reword and restyle it

      #343
    • Spotlight

      Drill-down: a source's within(item) returns the sources to search inside an item; Tab or › pushes a chip, Backspace or Esc pops one, and spotlight.open({ path }), setPath, push, pop, useSpotlightPath and <SpotlightPath> set the path from code

      #346
    • Spotlight

      Scope a search by typing a source's prefix (@ , # …) or picking a "Search in" row (scopes: false hides them); scoped sources page in as you scroll by following nextCursor

      #352
    • Spotlight

      Loading never flashes: pending and streaming groups end in skeleton rows, stale rows dim, the list height eases; an empty scope shows Spotlight.Prompt with the source's hint and recents, and no results shows icons.empty and a hint

      #414
    • SpotlightKbd

      The footer draws its hints as <Kbd hotkey> caps with terse labels, translated through translations.kbd

      #410
    • Image

      New Image: an <img> that fades in once decoded over a color, blurred data: or skeleton placeholder painted in the SSR HTML, with a CDN loader that builds srcset, priority, fallbackSrc, a required alt, ratio, radius, RTL-aware position and onStatusChange

      #345
    • Kit

      Ratio, ratioStyle and ratioToNumber are exported, to size your own boxes like the media components

      #345
    • AspectRatio

      New AspectRatio: a Server Component box with a fixed ratio that crops video, iframes or layered content, with radius and asChild

      #347
    • Figure

      New Figure with a caption or Figure.Caption placed bottom, top or overlay (a readable scrim over the photo); a Server Component that sizes to its media

      #347
    • Gallery

      New Gallery in grid, masonry or justified layout computed in CSS from each item's width/height, with captions, spacing, radius, loader and renderItem; wrap it in a Lightbox and every tile opens the viewer

      #349
    • Gallery

      Gallery adapts to its own width: justified rows shrink when narrow, masonry columns takes a breakpoint map ({ base: 2, md: 3 }) or fits from min, and keyboard focus stays on its tile as columns change

      #351
    • Lightbox

      New Lightbox viewer that grows out of the clicked thumbnail and shrinks back into the tile you end on: swipe, drag down to dismiss, pinch, double-tap or ⌘-scroll to zoom, ← → mirrored in RTL; use <Lightbox data> or compose Trigger, Thumbnails, Caption, Download and more, with an icons map

      #354
    • Carousel

      New Carousel with slidesPerPage, padding peek, mouse drag, roving indicators and autoplay that holds on hover and focus and stops under reduced motion; icons, composable parts, and slides that open in a Lightbox scrolling back to where you close

      #357
    • Compare

      New Compare before/after slider (before, after, value/defaultValue/onChange, step, ratio) on a native range input — drag, touch, keyboard, screen readers and RTL

      #356
    • ImageCropper

      New ImageCropper with a ratio or shape="circle", a grid while dragging, and withControls for zoom, rotate, flip and reset (glyphs swappable through icons); getCroppedImage() exports at exactly the locked ratio

      #355
    • Camera

      New Camera parts and headless useCamera(): Viewfinder, Guide (circle or document cut-out), Shutter, Flip, Devices and Status cover denied, blocked, busy and missing cameras with per-browser recovery steps; onCapture hands you a File

      #359
    • PhotoCapture

      New PhotoCapture: take or pick a photo, crop it, and get a File in onChange on "Use photo"; shape, ratio, output={{ type, quality, size }}, and the phone's camera app on touch devices (camera="auto")

      #364
    • FileTrigger

      New FileTrigger: a button, or any element through asChild, that opens the file picker and calls onSelect(files), with accept, multiple and capture; picking the same file twice fires twice

      #358
    • File Item

      New FileItem: one row for a picked File or a stored document — thumbnail or kind icon, size, date, upload status/progress, onRetry, onRemove/onCancel, polite announcements and composable parts; thumbnails render only for allowlisted types

      #366
    • File Item

      formatFileSize(bytes, locale?) and fileKind(type, name) are exported

      #366
    • DownloadButton

      New DownloadButton: data is a Blob, a URL or ({ signal }) => Promise<Blob | string>; it keeps focus with a spinner while pending, ignores repeat clicks, announces failures, and takes onDone/onError/asChild. saveFile(data, name) does it without a button

      #368
    • FilePreview

      New FilePreview shows a PDF, image, video, audio or text file with the browser's own viewers from file, src or an async data loader, with Open and Download actions; only allowlisted types render, so an uploaded HTML or SVG never runs as your app. openFile(source) opens one in a tab under the same rules

      #371
    • Hooks

      useFileQueue({ upload, concurrency, batch, autoStart, retryable, onSettled }): a network-free upload queue — you supply the transport; it handles progress, cancel, retry, retryFailed, reset and batches, and FileQueueSummary makes one polite announcement per run

      #367
    • File Upload

      queue={useFileQueue(…)} uploads what's picked with per-row progress, Retry, cancel and one summary announcement (translations.summary)

      #367
    • File Upload

      onReject(rejections) reports what accept, maxFiles or maxFileSize turned away, and capture opens the phone camera

      #358
    • File Upload

      A rejected file shows why in the error slot ("report.pdf is too large (12.4 MB, max 1 MB)"), reworded through translations.rejected and moreRejected; an error you pass still wins

      #365
    • File Upload

      validate, minFileSize, preventDocumentDrop (on by default), color, thumbnails, icons and translations.hint/buttonHint; sizes format in the IntlProvider locale

      #365
    • DataTableScheduleNumber Input

      Swap any built-in icon through an icons map — icons={{ asc, desc }} on DataTable, icons={{ show, hide }} on PasswordInput; a key you leave out keeps the kit's icon, and a part's children still win

      #361
    • CalendarDatePicker

      icons={{ prev, next }} replaces the navigation chevrons in every view, passed through by DatePicker; a custom icon is no longer flipped under RTL

      #385
    • Menu

      icons={{ check, radio, submenu }} on Menu.Root or the data-driven Menu replaces the indicators and submenu chevron, carried into submenus

      #385
    • Schedule

      Schedule.Toolbar.PrevTrigger and NextTrigger take children to replace their arrow

      #360
    • Tabs

      Give one tab its own palette with color on Tabs.Trigger or a data item; the underline recolors as it slides

      #378
    • Motion

      Motion tokens: ease-standard, ease-emphasized, ease-decelerate, ease-accelerate, ease-anticipate, ease-overshoot, ease-spring and ease-spring-overshoot, plus --duration-instant to --duration-spring, each spring with a --duration-spring-settle

      #342
    • Hooks

      useHotkey(keys, handler, options) binds a chord like "mod+k" (⌘ on Apple, Ctrl elsewhere) or an array, and decides when it fires: inputs, scope + hover, layer (yields under an open overlay), repeat, event: "keyup" and when

      #396
    • KbdHooks

      <Kbd hotkey="mod+k" /> draws a useHotkey string for the visitor's platform as one key cap per key with icons and spoken names; formatHotkey() and hotkeyKeys() return the same keys as text

      #401
    • Kbd

      translations on <Kbd hotkey> replaces the words its caps show and speak ("Strg", "Flèche haut"), merged per key onto KBD_DEFAULT_TRANSLATIONS

      #410
    • Hooks

      useReducedMotion() follows the reduced-motion setting live, false on the server

      #342
    • Hooks

      OpenIndexProvider, useOpenIndex and useOpenIndexTrigger(index, reveal?) let any element open a viewer at an index, the way Gallery tiles and Carousel slides open Lightbox

      #349
    • Hooks

      useObjectUrl(blob) returns an object URL for a Blob or File, revoked when it changes or unmounts, and only for allowlisted types

      #355
    • Hooks

      useApplePlatform, useMergedRefs and useNow are public (with isApplePlatform, mergeRefs, isNowPending), and the new useHydrated() is false on the server and during hydration

      #394
    • Hooks

      useDebouncedValue(value, delay) and useDebouncedCallback(fn, delay): SSR-safe trailing debounces that drop a pending call on unmount

      #397
    • Hooks

      useDocumentVisibility() returns "visible" or "hidden" live ("visible" on the server)

      #398
    • Hooks

      useInView(ref, { root, margin, threshold, once }) wraps IntersectionObserver, undefined until observed so a reveal never hides server content

      #399
    • Hooks

      useElementSize(ref, { box, enabled }) gives an element's live width and height through ResizeObserver, undefined until measured

      #402
    • Schedule

      Create events from the keyboard: with editable granting "create", the timed grid gets a slot cursor — arrows move, Shift extends, Enter creates, Alt+Enter creates one per day, Esc clears (classNames.slotCursor)

      #400
    • Schedule

      Keyboard moves, resizes and refused steps are announced ("Standup moved to Friday, January 16, 2026, 9:00 – 9:30 AM"), with new translations keys eventMoved, eventResized, eventChangeRejected, moveHint, resizeHint, dayUnavailable, resizeStart and resizeEnd

      #400
    • Drawer

      Composed drawers state their edge once: Drawer.Root placement docks Drawer.Positioner and sets the swipe direction, and the new Drawer.Content takes size and radius

      #403
    • Drawer

      The ready-made <Drawer> takes role="alertdialog" and radius, like Modal

      #403
    • DrawerModalAppShell

      Drawer, Modal and AppShell.Sidebar accept aria-label/aria-labelledby, and development warns when an open dialog has no accessible name

      #383
    • Indicator

      A numeric label and its maxValue cap format with Intl.NumberFormat for the new locale prop (1 234, ٩٩+); pass the same locale as IntlProvider, since Indicator stays a Server Component

      #392
    • Indicator

      alt gives the dot a text alternative read with its children ("Inbox 3 unread messages")

      #388
    • Timeline

      Completed and upcoming steps are announced, not only colored, with translations.complete/pending

      #388
    • Chart

      The root accepts role, aria-label, aria-labelledby and aria-describedby, for a chart in a captioned Figure

      #388
    • DataTable

      getRowLabel(row, index) names each row's select checkbox; the default is now its 1-based position ("Select row 1"), not the internal row id

      #391
    • DataTable

      translations.fromTime, toTime and clearDates reach the date filters, and page words the rows-mode page tooltip

      #406
    • AlertNotification

      Alert's close label translates through translations.closeTriggerLabel, and Notification's close and collapse labels read from translations

      #376
    • Pin InputRadioGroup

      PinInput's cell names translate through translations, and RadioGroup accepts aria-label/aria-labelledby

      #379
    • Focus

      focusStyles gains "has-focus-visible", "peer-has-focus-visible" and "peer-focus-visible" sources for rings on wrappers and overlays, and outline: true draws the ring over positioned content

      #391
    • PopoverCombobox

      Popover.Trigger and Combobox.Group take testId

      #390
    • changed26
    • Kit

      Every icon the kit draws has a true 1.5px line at every size; iconStroke is exported so your own icons match, and an icon you pass through icons is drawn as given

      #363
    • Colors

      Neutral text, borders and fills use the Figma kit's navy and black/white primitives instead of the gray scales, so body text and hairlines shift slightly; --color-gray-* stays defined for your own use

      #380
    • FieldInputCheckbox

      Error states follow Figma: error text is red-900 in light and red-500 in dark, invalid fields drop the red wash and keep the red border

      #390
    • File Upload

      The file list is drawn with FileItem

      #366
    • Schedule

      The timed grid opens scrolled to the current hour in the schedule's timeZone; a selected event still wins

      #353
    • Schedule

      Month and Year are keyboard grids with one tab stop: arrows, Home/End and PageUp/PageDown move, Enter/Space fires onDayClick, and cells carry the full date

      #400
    • Schedule

      Toolbar.PrevTrigger/NextTrigger take ActionIcon props and NowTrigger takes Button props, and Toolbar.Title announces the new period

      #400
    • Schedule

      withSelection is renamed selectable; the old name warns once until the next minor

      #400
    • Indicator

      showZero is renamed hideZero (inverted); the old prop warns once until the next minor

      #390
    • AmbientBackground

      glow/noise are renamed withGlow/withNoise; the old names work until the next minor

      #390
    • Menu

      startSection/endSection are renamed startSlot/endSlot, and Menu.Trigger takes testId; the old names work until the next minor

      #390
    • Calendar

      renderDay's context reads unavailable/selected (CalendarDayState); isUnavailable/isSelected still work but warn

      #390
    • Accordion

      Swap the chevron through icons={{ chevron }}; the flat chevron prop is deprecated

      #385
    • Rating

      Swap the stars through icons={{ full, empty }}; fullSymbol/emptySymbol are deprecated

      #385
    • Flex

      justify="stretch" is the correct spelling and the default; "strech" stays as a deprecated alias

      #375
    • AutocompleteComboboxListMultiComboboxList

      Search ignores accents and case the way the locale does: "ele" finds "Éléphant", and Turkish İ/ı match

      #387
    • TreeSelectTreeMultiSelect

      Tree search ignores accents and case per locale, like the flat pickers

      #404
    • TreeMultiSelect

      Rows support type-ahead and announce their position in the tree, like TreeSelect

      #382
    • TreeMultiSelectMultiSelect

      Each pill's remove button is named after its value ("Remove lexer.c")

      #382
    • MultiSelectTagsInputTreeMultiSelect

      The "+N" counter uses the locale's digits and reads a pluralised "3 more items" through translations.overflowCount; PillsInput gains translations

      #387
    • DataTable

      Pagination formats page numbers, sizes and ranges for the locale, and translations.items receives formatted: { hits, from, to }

      #387
    • DatePicker

      presets={true} labels come from Intl.RelativeTimeFormat ("Aujourd’hui"), so only "All time" needs a translations.presets key

      #387
    • AppShell

      The mobile drawer closes when a link inside is followed, SidebarTrigger exposes aria-expanded/aria-controls, and useAppShell() returns mobileOpen, setMobileOpen, isMobile and sidebarId

      #389
    • Tooltip

      The default trigger is a <button> (it was a focusable <span>); use asChild when the tooltip wraps a control

      #389
    • Table

      The scroll area is focusable with a visible ring, and a named region when Table.Content has aria-label/aria-labelledby

      #391
    • ModalDrawer

      An open Modal or Drawer is a hotkey layer: hotkeys under it go quiet, and a Popover it was opened from stays open

      #396
    • fixed34
    • Button

      loading no longer changes the button's width or moves its label: the spinner fades into the icon's place or over the label, at full contrast

      #370
    • File Upload

      The dropzone is named by its label, described by its error, and keeps focus when the first error appears

      #365
    • File Upload

      An uploaded SVG thumbnail opened in a new tab can no longer run script as your app

      #373
    • ProgressCircular Progress

      aria-label, aria-labelledby, aria-describedby and aria-valuetext land on the progressbar itself

      #388
    • Overlays manager

      overlays.update(id, { title }) keeps the overlay's content, and opening one while another closes no longer strands an entry in useOverlays()

      #374
    • Time InputDatePicker

      hourCycle="h11" and "h24" show 0–11 and 1–24, and DatePicker accepts a typed 24:30 under h24; TimeRow fields keep their width in a narrow row

      #375
    • Number Input

      An uncontrolled NumberInput disables increment at max and decrement at min

      #375
    • NotifierNotification

      Toasts are announced — errors as alert, others as polite status — and auto-dismiss pauses while focus is in the stack

      #376
    • Notification

      Notifications mounted in a background tab hold their timers, so toasts no longer expire unseen

      #398
    • Tabs

      The active tab is marked in the server HTML before hydration

      #378
    • TabsSegment Group

      The sliding indicator holds still under reduced motion, and a consumer className overrides the part's own utilities

      #389
    • RadioGroupChoice Card GroupPin Input

      Grouped controls in a field are named by its label and described by description/error, and a Checkbox's error is announced

      #379
    • Slider

      Focus stays on the thumb after an arrow-key step

      #355
    • Modal

      classNames.positioner can override the positioner's overflow-clip

      #383
    • Schedule

      Day headers follow timeZone, overlapping events and the details popover mirror in RTL, and Month and Year follow a pinned now

      #381
    • Schedule

      The details popover is named after the event everywhere, clicking inside a Month event's panel no longer jumps to Days, and a multi-selection of all-day bars opens one popover

      #386
    • Schedule

      A rejected drag no longer pulses under reduced motion, and its readout reaches 5.9:1 contrast

      #386
    • Schedule

      Day headers are buttons only with onDayClick, a disabled day says "unavailable", and the view switcher no longer points aria-controls at missing panels

      #400
    • SelectNumber InputSegment Group

      A callback ref is no longer detached and re-attached on every render

      #384
    • DataTable

      Pagination chevrons point the right way in RTL

      #360
    • DataTable

      Column resizing follows RTL, the grip uses the kit's focus ring, title names the table and its scroll region, and the error row stays a table cell

      #391
    • DataTable

      In paginationMode="rows", the range indicator is named by its range and the live region leaves the button

      #406
    • Avatar

      Initials split by grapheme and upper-case for the locale ("😀 smile" → 😀S, Turkish i → İ), and an initials or failed-image avatar is an image named after alt/name

      #387
    • Divider

      A label is readable (≈1.5:1 → 5.5:1) and read by screen readers

      #388
    • ClipboardCodeBlock

      A successful copy is announced ("Copied"), and Copy takes translations

      #388
    • NavLink

      A disabled link drops its href and leaves the tab order, Navigation renders a real list, toggles carry aria-controls, and testId is accepted

      #389
    • Breadcrumb

      A Home crumb without an href renders as a named image, not a dead link

      #389
    • TagsInputMultiSelect

      With maxLines, overflowing tags stay reachable and all show on focus, and the cap no longer hides every pill under RTL

      #391
    • Pill

      Each remove button is named after its pill ("Remove C++"), and PillGroup takes testId

      #391
    • PillPillsInputMultiSelect

      Pill labels no longer clip descenders and accents ("qwik" read as "awik")

      #408
    • Switch

      With a description or error, the input no longer points aria-labelledby at a missing label

      #391
    • Kbd

      A single character or lone icon is a square cap at every size

      #401
    • Mark

      Highlights show in both themes: no fade to white in light mode, and color="brand" stays visible on dark surfaces

      #344
    • Kit

      Kit dev warnings no longer log in production builds

      #413

    On this page

    SpotlightChangesBreaking · 10Tabs · The filled, light, outline, subtle and default variants are replaced by underline (the new default) and enclosed on a full-width baseline; use SegmentGroup for the pill lookCodeBlock · CodeBlock and CodeBlock.Static replace copyIcon, copiedIcon, expandIcon and collapseIcon with one icons={{ copy, copied, expand, collapse }} map; null still leaves a button iconlessSlider · label is now the field label that names the slider, like every other input; the floating bubble moves to thumbLabel, and showLabel becomes showThumbLabel (the old name still works for now)Alert · withCloseButton now requires onClose; omitting it is a type errorDrawer · Drawer parts live on the namespace only: DrawerTitle, DrawerHeader and the other flat exports become Drawer.Title, Drawer.Header…Schedule · translations.eventCount is now (count) => string and reads "1 event" correctly; a "{count}" string still works for one minor with a deprecation warningSchedule · timeLabel(date, timeZone, locale) → timeLabel(date, { timeZone, locale }) and durationLabel(start, end, locale) → durationLabel(start, end, { locale }) (exported as ScheduleFormatOptions)Spinner · Spinner renders a <span role="status"> instead of an <svg role="img">, so its props are span props and className/testId/rest land on the root; it stops spinning under reduced motionDataTable · A date column's meta.filter.translations.clear is renamed clearDatesSelect, MultiSelect, ComboboxList, MultiComboboxList · renderItem's item.payload is typed Payload | undefined, as it always was at runtime for strings and payload-less items: guard it with item.payload?.xRemoved · 1File Upload · onDrop is removed — it never ran; filter with accept, maxFiles and maxFileSize and read what they turn away in onRejectAdded · 61Spotlight · New Spotlight ⌘K omni search: createSpotlight({ sources, navigate }) returns a controller (open, close, toggle, setQuery, refresh, loadMore) plus <SpotlightProvider />, useSpotlight, useSpotlightSource and <SpotlightSources>; sources search in parallel with their own debounce, can stream from an async function, and fail alone with a retry rowSpotlight · Items take a typed link checked against your router's navigate parameter, or an onSelect; ↵ navigates, ⌘↵ opens a new tab, and staticSource({ id, label, items }) filters commands client-side ignoring case and diacriticsSpotlight · The default menu opens on hotkey (mod+k), keeps recents (recents: { limit, storageKey } or false), highlights matches and supports RTL; Spotlight.Root/Input/List/Group/Item/Empty/Footer compose a custom layout, and translations, placeholder and icons reword and restyle itSpotlight · Drill-down: a source's within(item) returns the sources to search inside an item; Tab or › pushes a chip, Backspace or Esc pops one, and spotlight.open({ path }), setPath, push, pop, useSpotlightPath and <SpotlightPath> set the path from codeSpotlight · Scope a search by typing a source's prefix (@ , # …) or picking a "Search in" row (scopes: false hides them); scoped sources page in as you scroll by following nextCursorSpotlight · Loading never flashes: pending and streaming groups end in skeleton rows, stale rows dim, the list height eases; an empty scope shows Spotlight.Prompt with the source's hint and recents, and no results shows icons.empty and a hintSpotlight, Kbd · The footer draws its hints as <Kbd hotkey> caps with terse labels, translated through translations.kbdImage · New Image: an <img> that fades in once decoded over a color, blurred data: or skeleton placeholder painted in the SSR HTML, with a CDN loader that builds srcset, priority, fallbackSrc, a required alt, ratio, radius, RTL-aware position and onStatusChangeRatio, ratioStyle and ratioToNumber are exported, to size your own boxes like the media componentsAspectRatio · New AspectRatio: a Server Component box with a fixed ratio that crops video, iframes or layered content, with radius and asChildFigure · New Figure with a caption or Figure.Caption placed bottom, top or overlay (a readable scrim over the photo); a Server Component that sizes to its mediaGallery · New Gallery in grid, masonry or justified layout computed in CSS from each item's width/height, with captions, spacing, radius, loader and renderItem; wrap it in a Lightbox and every tile opens the viewerGallery · Gallery adapts to its own width: justified rows shrink when narrow, masonry columns takes a breakpoint map ({ base: 2, md: 3 }) or fits from min, and keyboard focus stays on its tile as columns changeLightbox · New Lightbox viewer that grows out of the clicked thumbnail and shrinks back into the tile you end on: swipe, drag down to dismiss, pinch, double-tap or ⌘-scroll to zoom, ← → mirrored in RTL; use <Lightbox data> or compose Trigger, Thumbnails, Caption, Download and more, with an icons mapCarousel · New Carousel with slidesPerPage, padding peek, mouse drag, roving indicators and autoplay that holds on hover and focus and stops under reduced motion; icons, composable parts, and slides that open in a Lightbox scrolling back to where you closeCompare · New Compare before/after slider (before, after, value/defaultValue/onChange, step, ratio) on a native range input — drag, touch, keyboard, screen readers and RTLImageCropper · New ImageCropper with a ratio or shape="circle", a grid while dragging, and withControls for zoom, rotate, flip and reset (glyphs swappable through icons); getCroppedImage() exports at exactly the locked ratioCamera · New Camera parts and headless useCamera(): Viewfinder, Guide (circle or document cut-out), Shutter, Flip, Devices and Status cover denied, blocked, busy and missing cameras with per-browser recovery steps; onCapture hands you a FilePhotoCapture · New PhotoCapture: take or pick a photo, crop it, and get a File in onChange on "Use photo"; shape, ratio, output={{ type, quality, size }}, and the phone's camera app on touch devices (camera="auto")FileTrigger · New FileTrigger: a button, or any element through asChild, that opens the file picker and calls onSelect(files), with accept, multiple and capture; picking the same file twice fires twiceFile Item · New FileItem: one row for a picked File or a stored document — thumbnail or kind icon, size, date, upload status/progress, onRetry, onRemove/onCancel, polite announcements and composable parts; thumbnails render only for allowlisted typesFile Item · formatFileSize(bytes, locale?) and fileKind(type, name) are exportedDownloadButton · New DownloadButton: data is a Blob, a URL or ({ signal }) => Promise<Blob | string>; it keeps focus with a spinner while pending, ignores repeat clicks, announces failures, and takes onDone/onError/asChild. saveFile(data, name) does it without a buttonFilePreview · New FilePreview shows a PDF, image, video, audio or text file with the browser's own viewers from file, src or an async data loader, with Open and Download actions; only allowlisted types render, so an uploaded HTML or SVG never runs as your app. openFile(source) opens one in a tab under the same rulesHooks · useFileQueue({ upload, concurrency, batch, autoStart, retryable, onSettled }): a network-free upload queue — you supply the transport; it handles progress, cancel, retry, retryFailed, reset and batches, and FileQueueSummary makes one polite announcement per runFile Upload · queue={useFileQueue(…)} uploads what's picked with per-row progress, Retry, cancel and one summary announcement (translations.summary)File Upload · onReject(rejections) reports what accept, maxFiles or maxFileSize turned away, and capture opens the phone cameraFile Upload · A rejected file shows why in the error slot ("report.pdf is too large (12.4 MB, max 1 MB)"), reworded through translations.rejected and moreRejected; an error you pass still winsFile Upload · validate, minFileSize, preventDocumentDrop (on by default), color, thumbnails, icons and translations.hint/buttonHint; sizes format in the IntlProvider localeDataTable, Schedule, Number Input, Password Input, Checkbox, ComboboxList, MultiComboboxList, Breadcrumb, Clipboard, Notification, Notifier, Modal, Drawer, Avatar, TreeSelect, TreeMultiSelect · Swap any built-in icon through an icons map — icons={{ asc, desc }} on DataTable, icons={{ show, hide }} on PasswordInput; a key you leave out keeps the kit's icon, and a part's children still winCalendar, DatePicker · icons={{ prev, next }} replaces the navigation chevrons in every view, passed through by DatePicker; a custom icon is no longer flipped under RTLMenu · icons={{ check, radio, submenu }} on Menu.Root or the data-driven Menu replaces the indicators and submenu chevron, carried into submenusSchedule · Schedule.Toolbar.PrevTrigger and NextTrigger take children to replace their arrowTabs · Give one tab its own palette with color on Tabs.Trigger or a data item; the underline recolors as it slidesMotion · Motion tokens: ease-standard, ease-emphasized, ease-decelerate, ease-accelerate, ease-anticipate, ease-overshoot, ease-spring and ease-spring-overshoot, plus --duration-instant to --duration-spring, each spring with a --duration-spring-settleHooks · useHotkey(keys, handler, options) binds a chord like "mod+k" (⌘ on Apple, Ctrl elsewhere) or an array, and decides when it fires: inputs, scope + hover, layer (yields under an open overlay), repeat, event: "keyup" and whenKbd, Hooks · <Kbd hotkey="mod+k" /> draws a useHotkey string for the visitor's platform as one key cap per key with icons and spoken names; formatHotkey() and hotkeyKeys() return the same keys as textKbd · translations on <Kbd hotkey> replaces the words its caps show and speak ("Strg", "Flèche haut"), merged per key onto KBD_DEFAULT_TRANSLATIONSHooks · useReducedMotion() follows the reduced-motion setting live, false on the serverHooks · OpenIndexProvider, useOpenIndex and useOpenIndexTrigger(index, reveal?) let any element open a viewer at an index, the way Gallery tiles and Carousel slides open LightboxHooks · useObjectUrl(blob) returns an object URL for a Blob or File, revoked when it changes or unmounts, and only for allowlisted typesHooks · useApplePlatform, useMergedRefs and useNow are public (with isApplePlatform, mergeRefs, isNowPending), and the new useHydrated() is false on the server and during hydrationHooks · useDebouncedValue(value, delay) and useDebouncedCallback(fn, delay): SSR-safe trailing debounces that drop a pending call on unmountHooks · useDocumentVisibility() returns "visible" or "hidden" live ("visible" on the server)Hooks · useInView(ref, { root, margin, threshold, once }) wraps IntersectionObserver, undefined until observed so a reveal never hides server contentHooks · useElementSize(ref, { box, enabled }) gives an element's live width and height through ResizeObserver, undefined until measuredSchedule · Create events from the keyboard: with editable granting "create", the timed grid gets a slot cursor — arrows move, Shift extends, Enter creates, Alt+Enter creates one per day, Esc clears (classNames.slotCursor)Schedule · Keyboard moves, resizes and refused steps are announced ("Standup moved to Friday, January 16, 2026, 9:00 – 9:30 AM"), with new translations keys eventMoved, eventResized, eventChangeRejected, moveHint, resizeHint, dayUnavailable, resizeStart and resizeEndDrawer · Composed drawers state their edge once: Drawer.Root placement docks Drawer.Positioner and sets the swipe direction, and the new Drawer.Content takes size and radiusDrawer · The ready-made <Drawer> takes role="alertdialog" and radius, like ModalDrawer, Modal, AppShell · Drawer, Modal and AppShell.Sidebar accept aria-label/aria-labelledby, and development warns when an open dialog has no accessible nameIndicator · A numeric label and its maxValue cap format with Intl.NumberFormat for the new locale prop (1 234, ٩٩+); pass the same locale as IntlProvider, since Indicator stays a Server ComponentIndicator · alt gives the dot a text alternative read with its children ("Inbox 3 unread messages")Timeline · Completed and upcoming steps are announced, not only colored, with translations.complete/pendingChart · The root accepts role, aria-label, aria-labelledby and aria-describedby, for a chart in a captioned FigureDataTable · getRowLabel(row, index) names each row's select checkbox; the default is now its 1-based position ("Select row 1"), not the internal row idDataTable · translations.fromTime, toTime and clearDates reach the date filters, and page words the rows-mode page tooltipAlert, Notification · Alert's close label translates through translations.closeTriggerLabel, and Notification's close and collapse labels read from translationsPin Input, RadioGroup · PinInput's cell names translate through translations, and RadioGroup accepts aria-label/aria-labelledbyFocus · focusStyles gains "has-focus-visible", "peer-has-focus-visible" and "peer-focus-visible" sources for rings on wrappers and overlays, and outline: true draws the ring over positioned contentPopover, Combobox · Popover.Trigger and Combobox.Group take testIdChanged · 26Every icon the kit draws has a true 1.5px line at every size; iconStroke is exported so your own icons match, and an icon you pass through icons is drawn as givenColors · Neutral text, borders and fills use the Figma kit's navy and black/white primitives instead of the gray scales, so body text and hairlines shift slightly; --color-gray- stays defined for your own useField, Input, Checkbox, Switch, Slider, Segment Group, File Upload · Error states follow Figma: error text is red-900 in light and red-500 in dark, invalid fields drop the red wash and keep the red borderFile Upload · The file list is drawn with FileItemSchedule · The timed grid opens scrolled to the current hour in the schedule's timeZone; a selected event still winsSchedule · Month and Year are keyboard grids with one tab stop: arrows, Home/End and PageUp/PageDown move, Enter/Space fires onDayClick, and cells carry the full dateSchedule · Toolbar.PrevTrigger/NextTrigger take ActionIcon props and NowTrigger takes Button props, and Toolbar.Title announces the new periodSchedule · withSelection is renamed selectable; the old name warns once until the next minorIndicator · showZero is renamed hideZero (inverted); the old prop warns once until the next minorAmbientBackground · glow/noise are renamed withGlow/withNoise; the old names work until the next minorMenu · startSection/endSection are renamed startSlot/endSlot, and Menu.Trigger takes testId; the old names work until the next minorCalendar · renderDay's context reads unavailable/selected (CalendarDayState); isUnavailable/isSelected still work but warnAccordion · Swap the chevron through icons={{ chevron }}; the flat chevron prop is deprecatedRating · Swap the stars through icons={{ full, empty }}; fullSymbol/emptySymbol are deprecatedFlex · justify="stretch" is the correct spelling and the default; "strech" stays as a deprecated aliasAutocomplete, ComboboxList, MultiComboboxList, MultiSelect · Search ignores accents and case the way the locale does: "ele" finds "Éléphant", and Turkish İ/ı matchTreeSelect, TreeMultiSelect · Tree search ignores accents and case per locale, like the flat pickersTreeMultiSelect · Rows support type-ahead and announce their position in the tree, like TreeSelectTreeMultiSelect, MultiSelect · Each pill's remove button is named after its value ("Remove lexer.c")MultiSelect, TagsInput, TreeMultiSelect, PillsInput · The "+N" counter uses the locale's digits and reads a pluralised "3 more items" through translations.overflowCount; PillsInput gains translationsDataTable · Pagination formats page numbers, sizes and ranges for the locale, and translations.items receives formatted: { hits, from, to }DatePicker · presets={true} labels come from Intl.RelativeTimeFormat ("Aujourd’hui"), so only "All time" needs a translations.presets keyAppShell · The mobile drawer closes when a link inside is followed, SidebarTrigger exposes aria-expanded/aria-controls, and useAppShell() returns mobileOpen, setMobileOpen, isMobile and sidebarIdTooltip · The default trigger is a <button> (it was a focusable <span>); use asChild when the tooltip wraps a controlTable · The scroll area is focusable with a visible ring, and a named region when Table.Content has aria-label/aria-labelledbyModal, Drawer · An open Modal or Drawer is a hotkey layer: hotkeys under it go quiet, and a Popover it was opened from stays openFixed · 34Button · loading no longer changes the button's width or moves its label: the spinner fades into the icon's place or over the label, at full contrastFile Upload · The dropzone is named by its label, described by its error, and keeps focus when the first error appearsFile Upload · An uploaded SVG thumbnail opened in a new tab can no longer run script as your appProgress, Circular Progress · aria-label, aria-labelledby, aria-describedby and aria-valuetext land on the progressbar itselfOverlays manager · overlays.update(id, { title }) keeps the overlay's content, and opening one while another closes no longer strands an entry in useOverlays()Time Input, DatePicker · hourCycle="h11" and "h24" show 0–11 and 1–24, and DatePicker accepts a typed 24:30 under h24; TimeRow fields keep their width in a narrow rowNumber Input · An uncontrolled NumberInput disables increment at max and decrement at minNotifier, Notification · Toasts are announced — errors as alert, others as polite status — and auto-dismiss pauses while focus is in the stackNotification · Notifications mounted in a background tab hold their timers, so toasts no longer expire unseenTabs · The active tab is marked in the server HTML before hydrationTabs, Segment Group · The sliding indicator holds still under reduced motion, and a consumer className overrides the part's own utilitiesRadioGroup, Choice Card Group, Pin Input, Slider, Checkbox · Grouped controls in a field are named by its label and described by description/error, and a Checkbox's error is announcedSlider · Focus stays on the thumb after an arrow-key stepModal · classNames.positioner can override the positioner's overflow-clipSchedule · Day headers follow timeZone, overlapping events and the details popover mirror in RTL, and Month and Year follow a pinned nowSchedule · The details popover is named after the event everywhere, clicking inside a Month event's panel no longer jumps to Days, and a multi-selection of all-day bars opens one popoverSchedule · A rejected drag no longer pulses under reduced motion, and its readout reaches 5.9:1 contrastSchedule · Day headers are buttons only with onDayClick, a disabled day says "unavailable", and the view switcher no longer points aria-controls at missing panelsSelect, Number Input, Segment Group, AppShell, Notification, Schedule · A callback ref is no longer detached and re-attached on every renderDataTable · Pagination chevrons point the right way in RTLDataTable · Column resizing follows RTL, the grip uses the kit's focus ring, title names the table and its scroll region, and the error row stays a table cellDataTable · In paginationMode="rows", the range indicator is named by its range and the live region leaves the buttonAvatar · Initials split by grapheme and upper-case for the locale ("😀 smile" → 😀S, Turkish i → İ), and an initials or failed-image avatar is an image named after alt/nameDivider · A label is readable (≈1.5:1 → 5.5:1) and read by screen readersClipboard, CodeBlock · A successful copy is announced ("Copied"), and Copy takes translationsNavLink · A disabled link drops its href and leaves the tab order, Navigation renders a real list, toggles carry aria-controls, and testId is acceptedBreadcrumb · A Home crumb without an href renders as a named image, not a dead linkTagsInput, MultiSelect · With maxLines, overflowing tags stay reachable and all show on focus, and the cap no longer hides every pill under RTLPill · Each remove button is named after its pill ("Remove C++"), and PillGroup takes testIdPill, PillsInput, MultiSelect · Pill labels no longer clip descenders and accents ("qwik" read as "awik")Switch · With a description or error, the input no longer points aria-labelledby at a missing labelKbd · A single character or lone icon is a square cap at every sizeMark · Highlights show in both themes: no fade to white in light mode, and color="brand" stays visible on dark surfacesKit dev warnings no longer log in production builds