Sanity Pioneers: Get early access to betas, extra AI credits, and a direct line to the engineering team. Apply now

How to modify Sanity logo in backend on v3?

14 repliesLast updated: Nov 29, 2025

Hey Everyone! Is there a way to modify the sanity logo on the backend on v3? any github example to see how is made?
AI Update

Yes! In Sanity Studio v3, you can customize the logo in the backend by adding an icon property to your workspace configuration in sanity.config.ts (or .js). This approach was introduced in v3.23.0.

Here's how to do it:

In your sanity.config.ts file:

import { defineConfig } from 'sanity'
import { MyLogo } from './components/MyLogo'

export default defineConfig({
  icon: MyLogo,
  // ...rest of your config
})

Create your logo component (MyLogo.tsx or MyLogo.jsx):

import logo from './logo.png?url'

export const MyLogo = (
  <img src={logo} alt='My Logo' width={25} height={25} />
)

Important notes:

You can find working examples on GitHub by searching for sanity.config.ts files with the icon: property. The defineConfig documentation also covers workspace configuration options in detail.

Show original thread
14 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions