✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

How to add a hr Component to `blockContent` Schema

2 replies
Last updated: Jun 22, 2020
Hey folks, I'd like to add an hr component to my
schema. I've been combing through the docs, but I can't figure out a good solution. Any ideas?
Jun 22, 2020, 7:52 PM
We should perhaps add it to docs, but this is my best suggestion at the moment, because there can be several types of “breaks” (which a hr is an expression of)

Jun 22, 2020, 8:12 PM
Wicked. Thanks for the example
user Y
Jun 22, 2020, 8:16 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?