Skip to content

theisel/astro-portabletext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astro-portabletext logo

astro-portabletext

npm version npm downloads license

A flexible and customizable library for rendering Portable Text content in Astro projects.

๐Ÿš€ Features

  • Core components for common Portable Text elements.
  • Customizable rendering using slots or your own components.
  • Flexible control with the render function via usePortableText.
  • Built with TypeScript support.

๐ŸŽฎ Demonstration

Jump in and see it in action:

๐Ÿ“– Resources

Versions:

Sanity Logo Sanity Integration

This library is officially recommended by Sanity for rendering Portable Text in Astro projects.

Helpful resources:

๐Ÿ™Œ Contributing

We welcome contributions to improve astro-portabletext!

If you find a bug or have a feature request, please open an issue. If you'd like to contribute code, feel free to submit a pull request.

๐Ÿ“„ License

This project is licensed under the ISC License.