🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Lack of documentation on available parts in Sanity.io and excitement for upcoming improvements.

3 replies
Last updated: Mar 1, 2021
🙋‍♀️ Is there a way (that isn’t too wild) to create a plugin that would be a button in the navbar that opens a modal on the current page instead of navigating to a new route for the tool? I made my way through
and looks like ToolMenu will always route to its own page. There’s a div in the navbar code with
{/* Insert plugins here */}
as the content and that looks like it would be what I want, except I don’t know that it’s actually doing anything!
Feb 26, 2021, 11:10 PM
Update: I ended up having the plugin use
_"implements"_: "part:@sanity/base/absolutes",
instead of
, so it shows as a fixed button at the bottom right corner. Works for me 🤷‍♀️I really wish there were more documentation on the available parts, though! Or even links to where in the source code to find what exists. I spend a lot of time traversing through the folders of the Sanity source code in GitHub
Feb 27, 2021, 2:01 AM
Totally see your frustration on the lack of documentation and insight into these things, User!
We're doing a push to replace much of our UI code with the new
library at the moment - once we get there we will start to refactor some of the data loading and UI pieces to make it easier for developers to use. Along with that process there will be proper documentation and more guides on how to do things. We're suuuper excited about getting to that point 😅
Apologies for the current situation - I'm impressed by your willingness to dive deep into the codebase
🕵️‍♀️ 🔍
Feb 27, 2021, 7:00 PM
Despite everything that hasn’t been documented yet, I think there’s still more existing documentation for Sanity than any other product I’ve come across!
Mar 1, 2021, 6:40 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?