Next.js

The framework we've built most of our projects on. App Router patterns, server components, data fetching - we write about what the docs don't always cover. See how we work with Next.js.




Page 2

A really nice Mux video component
5 min read

A really nice Mux video component

Finding the best way to host video with Mux and Sanity? Well we've got the fastest possible way to get them working together

Jono Alford
Hrithik Prasad
S
Jono, Hrithik, and Shreyas
Read blog post


Building a search bar with Sanity Embeddings Index API & Next.js
6 min read

Building a search bar with Sanity Embeddings Index API & Next.js

Learn how to build a search bar using Sanity's Embeddings Index API & Next.js. This tutorial guides you through creating a dynamic, API-driven search component.

Hrithik Prasad
Jono Alford
Hrithik and Jono
Read blog post


Working with Formspark & Server action in Next.js 14
5 min read

Working with Formspark & Server action in Next.js 14

Build forms in Next.js 14 with Server Actions and Formspark. Working code using useFormState and useFormStatus hooks for handling submissions and loading states.

Hrithik Prasad
Hrithik
Read blog post


What we learnt updating the Roboto website V3
6 min read

What we learnt updating the Roboto website V3

We know Next.js app router is catching more heat than the inside of a fresh McDonalds apple pie, but we wanted to test it out. Here's our honest thoughts.

Jono Alford
Jono
Read blog post


The best Next.js & Sanity Image component
5 min read

The best Next.js & Sanity Image component

Think you know Sanity images in Next.js? Our guide sets the record straight—with code snippets for easy implementation. Get the definitive approach here.

Jono Alford
Jono
Read blog post


Setting up live preview for sanity on next 13.4 using drafts mode
6 min read

Setting up live preview for sanity on next 13.4 using drafts mode

Set up Sanity live preview with Next.js 13.4 draft mode. Step-by-step guide covering the draftMode API, preview routes, and real-time content updates.

Hrithik Prasad
Hrithik
Read blog post


The state of Chakra UI & Next 13.4
3 min read

The state of Chakra UI & Next 13.4

Has Chakra UI's roundtable seat been jeopardised by Next & React's shift to Server Components? Dive into our analysis to see if it still reigns supreme.

Jono Alford
Jono
Read blog post


A Seamless Experience with Next 13.4 Tailwind CSS and Sanity
6 min read

A seamless experience with Next 13.4, Tailwind CSS and Sanity

Build web apps with Next.js 13.4, Tailwind CSS, and Sanity CMS. Our setup for the stable App Router, visual editing, and real-time content collaboration.

Hrithik Prasad
Hrithik
Read blog post


11 top tips for SEO with Sanity & Next.js
6 min read

11 top tips for SEO with Sanity & Next.js

11 SEO tips for Next.js and Sanity sites: image optimization, structured data, GROQ query efficiency, Vercel analytics, and bundle size reduction.

Jono Alford
Jono
Read blog post