Skip to content
Sanity
Get started
  • Sanity Studio - Flexible editing environment
  • Content Lake - Real-time database
  • Developer experience - Tooling you love
  • Structured content - The philosophy behind Sanity
  • Review changes - View edits & rollback instantly
  • Image pipeline - On-demand transformations
  • E-commerce - Better shopping experiences
  • Marketing sites - Control your story
  • Products & services - Innovate and automate
  • Mobile apps - Content backend for every OS
  • Aether - Unique digital shopping experience
  • Morning Brew - Omnichannel media distribution
  • InVision - Delivering exceptional customer experiences
  • DataStax - Personalization for global audience
  • React
  • Gatsby
  • Next
  • Nuxt
  • Eleventy
  • Netlify
  • Vercel
  • Algolia
  • Documentation
  • Reference
  • Guides
  • Resource library
  • Headless CMS
  • Tools & plugins
  • Project showcase
  • Schemas & snippets
  • Agency partners
  • Technology partners
  • Get support
  • Share your work
  • 5 Disadvantages Of Wordpress That Are Holding You Back
EnterprisePricing
Contact salesLog inGet started
Published September 9th 2021

Launching Conditional Fields: Release Party Recap

We celebrated the launch of conditional fields and learned about two community success stories.

Knut Melvær

Principal Developer Marketing Manager

We wanted to celebrate the release of conditional fields, a long-awaited feature, with the community. So we invited you to a virtual meetup on Wednesday, Aug 25th.

We had the great pleasure of sharing this feature release with over 100 people from all over the world. Some even woke up in the middle of the night to attend – we’re both humbled and amazed.

Tweet by:Nicholas Shaw's photo
Nicholas Shaw
@_NicholasShaw

@kmelve @sanity_io @Hopin This 1 of 114 will be getting up at 3am to join, excited for conditional fields out of the box!

Tweet published on: Aug 25, 2021, 9:09 AM
Liked by: 5
Replied by: 1

This was also a great opportunity to invite our community to join us on stage to showcase how they use Sanity for their daily work.

Moving 26 marketing sites to one content lake

Karin Hendrikson is a frontend developer at YoungCapital and shared their process of moving 26 hard-coded marketing sites to the Gatsby.js and Sanity.io combo. Karin demoed an impressive setup that lets them manage content for all 26 sites from one studio, including landing pages and forms.

jot.works: A new SaaS with Sanity.io and SvelteKit

Jacob and Ivy, co-founders of a new note-taking app called Jot, showed us how they use Sanity to power their marketing site. The flexibility of Sanity makes updating key information on their homepage - like supported platforms - a breeze. This is also a demonstration that SvelteKit, despite its early days, can be used in production.

Conditions may apply

Part of maintaining public open-source software is getting feature requests. It’s both a great way to get feedback on where your software can improve, but it can also be a source of stress and guilt. Especially when feature requests that seem totally reasonable go untouched for… years. We’ve heard from a lot of people that they wanted the ability to control the visibility of fields in the content editor, based on the values of other fields, also known as “conditional fields.” It’s a super useful feature that improves the editor experience.

It was quite a relief to be able to close the two issues in the Sanity GitHub repository: “Possibility to render fields based on conditions (computed fields) #677” (from 2018) and “Feature Request: Pass a callback to 'hidden' parameter for conditionally-hidden fields #1224” (from 2019). We even got to do it live at the virtual release party that we hosted for the community.

And here's the slide deck!

Stay tuned for our next meetup in late September – we're looking forward to seeing you there!

Page content

  • Moving 26 marketing sites to one content lake
  • jot.works: A new SaaS with Sanity.io and SvelteKit
  • Conditions may apply

Platform

Structured ContentDeveloper experienceContent LakeSanity StudioSecurity & Compliance
  • Sanity vs Contentful
  • Sanity vs Strapi
  • Sanity vs Wordpress
  • Sanity vs Adobe Experience Manager
  • Sanity vs Hygraph
  • Sanity vs Sitecore
  • Sanity vs Storyblok
  • Sanity vs Contentstack
  • Sanity vs Prismic
  • Sanity vs Drupal
  • Sanity vs ButterCMS

Resources

Documentation
  • React Blog
  • Gatsby Blog
  • Next.js Landing Pages
  • Progressive Web Application
  • Single Page Application
  • Svelte & Typescript App
  • Vue & Tailwind Blog
  • Developer Portfolio Templates
  • Form validation with Yup
  • Live Preview with Next.js and Sanity.io
Resource library
  • Agency partners
  • Technology partners
  • Blog Template
  • Personal Website Template
  • Developer Portfolio Templates
  • All Templates
Case Studies
  • Headless CMS
  • What is an API CMS
  • Static Sites 101
  • Headless SEO
  • Localization
  • GraphQL vs REST
  • What is a DXP?
  • Typescript 101
  • Content as a Service
  • Ecommerce SEO
  • React CMS
  • Next.JS CMS
  • CMS for Shopify
  • Content platform
  • Multilingual CMS
  • Static Site CMS
  • Gatsby CMS
  • Node CMS
  • E-commerce CMS
  • Vue CMS
  • Angular CMS
  • GraphQL CMS
  • Newspaper CMS
  • Magazine CMS
  • CMS for apps
  • Remix CMS

Company

Contact SalesEnterpriseCareersTerms of ServiceAccessibility Statement

Stay connected

  • GitHub
  • Slack
  • Twitter
  • YouTube
  • Stack Overflow
  • Blog RSS
  • Newsletter
©Sanity 2023