Using a custom image as an icon in a Sanity project by overriding the media portion of a list preview.

3 replies
Last updated: Oct 13, 2023
Hello everyone, I want to use a custom image as Icon in my Sanity project. Does somebody know how I could apply an image instead of an Icon?
Oct 12, 2023, 9:34 AM
It would probably be best to override the
media
portion of a list preview .
Oct 12, 2023, 6:09 PM
thanks, that worked πŸ™‚
Oct 13, 2023, 7:09 AM
Great!
Oct 13, 2023, 3:20 PM

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.

Was this answer helpful?