Moves to @sanity/icons v5 and adds a retry dialog for failed requests

Published: July 7, 2026

v6.4.0

Studio now depends on @sanity/icons v5, so custom code that imports icons from the package root must switch to per-icon subpaths or install v3. This release also adds a retry dialog for failed requests, user attributes on CurrentUser, and fixes for pasting references, review change connectors, and Safari.

Action required

  • Who's affected: Projects whose custom code (schema types, plugins, components) imports icons from the @sanity/icons root and doesn't install its own v3 or v4 copy.
  • What to do: Install @sanity/icons v3, or update your imports to per-icon subpaths, as described below.
  • By when: When you upgrade to Studio 6.4.0.

Icons no longer import from the @sanity/icons root

Sanity Studio now depends on @sanity/icons v5, which no longer exports individual icons from the package root. If your custom code imports icons from the root and your project resolves v5, for example because you rely on the copy that Studio installs, those imports fail with an error such as The requested module '@sanity/icons' does not provide an export named 'RocketIcon'.

You have two options:

  • Install @sanity/icons v3 (npm install @sanity/icons@^3 --save-exact) so that your custom code keeps importing icons from the package root. Studio installs its own copy of v5, so this doesn't require code changes, but your bundle includes both versions.
  • Update your imports to per-icon subpaths. Each icon's subpath is its name without the Icon suffix. Subpaths work in @sanity/icons 4.1.0 and later, so you can update your imports before you upgrade. There's no codemod, but you can update imports in bulk with a find and replace. See Update icon imports for @sanity/icons v5.
import {RocketIcon} from '@sanity/icons'

New features

Failed requests show a retry dialog

Sanity Studio now handles failed requests instead of crashing. A dropped connection, a server error, or a rate limit shows a dialog with a Try again button.

Plugin authors can now delegate request failures in their code to this same UI. See more details in the Plugins API Reference.

User attributes on CurrentUser

Studio developers can now access organization-scoped user attributes on the current user:

import {useCurrentUser} from 'sanity'

const currentUser = useCurrentUser()
const department = currentUser?.attributes?.find((attr) => attr.key === 'department')

attributes is optional and only present when /users/me is called with a project context. Supported attribute types: string, string-array, integer, integer-array, number, number-array, and boolean.

Fixes

  • Fixes pasting a reference to a document that only exists in a release.
  • Fixes a Safari-only bug where a release with a single changed document appeared to have no documents.
  • Fixes review change connectors staying visible after you close the review changes panel, and only appearing after you scroll.
  • Fixes the change connector not appearing when you hover an image or file diff in the review changes panel.
Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change site theme