@sanity/client

Client for retrieving data from Sanity

Usage no npm install needed!

<script type="module">
  import sanityClient from 'https://cdn.skypack.dev/@sanity/client';
</script>

README

Sanity logo">

Build with Structured Content

Sanity.io is the platform for structured content. It comes with an open-source editing environment called Sanity Studio that you can customize with JavaScript and a real-time hosted data store. Sanity has generous included quotas – so getting started is free.

npm Downloads Join us on Slack Follow on twitter

Quickstart

Get started from the command line:

npm i -g @sanity/cli && sanity init

Or go to sanity.io/create to get started from the browser in minutes.

Table of contents

Key Features

Sanity Studio

Sanity Studio

Sanity Studio is an open source headless real-time CMS, that you can customize with JavaScript and React.

Developer Experience

Developer experience

Structured content

Structured Content

Stay up to date

Code of Conduct

We aim to be an inclusive, welcoming community for everyone. To make that explicit, we have a code of conduct that applies to communication around the project.

Want to contribute?

Found a bug, or want to contribute code? Pull requests and issues are most welcome. Read our contributing guidelines to learn how.

License

Sanity Studio is available under the MIT License

Hands collaborating