
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGreat question! Yes, you can absolutely use the Portable Text editor outside of Sanity Studio. The Sanity team recently extracted the editor from Studio and released it as a standalone package that you can integrate into any React application.
The Portable Text Editor is now available as a reusable React component that you can embed in your own applications. This was a major undertaking by the Sanity team—as discussed in this blog post, they took the editor that was previously hard-coded into Sanity Studio and made it framework-agnostic and customizable.
The standalone editor gives you:
The editor handles all the complex behaviors you'd expect from a modern block editor—things like how bold text should extend when you keep typing, proper caret positioning, and keyboard shortcuts. These are all built-in and tested, so you don't have to reinvent the wheel.
The Behavior API is particularly powerful—it's not just for users to customize the editor, but it's actually the foundation for all the core behaviors that ship with the package. This means you can extend or override nearly any aspect of how the editor works.
Once you have content in Portable Text format, you'll want to render it on your frontend. That's where @portabletext/react comes in. This is a separate package that transforms your Portable Text JSON into React components with custom serializers for styling and behavior.
So to summarize: the Portable Text Editor package lets you create and edit rich content outside of Studio in any React app, while @portabletext/react lets you display that content in your application. Both work independently of Sanity Studio and give you complete control over the editing and rendering experience!
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.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store