Building an Image Gallery with Next.js, Supabase, and Tailwind CSS @leerob
Building an Image Gallery with Next.js, Supabase, and Tailwind CSS  @leerob
Uploaded March 2022 | Updated December 2026, 3 hours ago
Learn how to create an image gallery with dynamic content from a PostgreSQL database, with support for content updates without needing to redeploy.

0:00 — Introduction
0:18 — Create Next App
0:37 — Running Locally
0:59 — Using Tailwind CSS (Gallery Component)
1:21 — Building an Image Component
1:51 — Aspect Ratios & Group Modifiers
2:50 — Next.js Image Component
4:50 — Blur-Up Image Placeholders
5:45 — Setting Up Supabase
6:36 — Connecting to Supabase
7:35 — Adding Data to Supabase
8:42 — Fetching Data from Supabase
10:45 — Image Gallery Demonstration
11:01 — Deploying to Vercel
12:02 — On-Demand Incremental Static Regeneration
12:38 — Supabase Function Hooks
13:51 — Revalidation API Route
14:55 — Redeploying
15:42 — On-Demand ISR Demo
16:05 — Conclusion

Links
–––––
◆ Walkthrough: leerob.io/blog/image-gallery-supabase-tailwind-nextjs
◆ Code: github.com/leerob/image-gallery-supabase-tailwind-nextjs
◆ Demo: https://swag.vercel.app/

–––––
◆ Blog: leerob.io
◆ Twitter: twitter.com/leeerob
◆ GitHub: github.com/leerob
◆ Theme/Gear/Setup: leerob.io/uses

#tailwind #supabase
Building an Image Gallery with Next.js, Supabase, and Tailwind CSSNext.js Pages / Layouts (FAQ)Next.js App Router Authentication (Sessions, Cookies, JWTs)Revisiting my React course 3 years laterReact Server Components (with Next.js Demo)Navigating Between Pages – Learn Next.jsReact 2025 – Managing Site FeedbackFast ecommerce with optimistic UI and Next.jsReact 2025 – User Feedback Page + Google Sign InUsing Serverless Redis with Next.jsWhat are Web Fonts? (Best Practices for 2021)Lets Talk about Developer Careers! (Hiring, Growing, and Getting Promoted)
leerob |

Building an Image Gallery with Next.js, Supabase, and Tailwind CSS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER