The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix lm images (#34582)
Terry Sutton7b79c308b048
diff --git a/apps/www/_blog/2025-03-31-supabase-ui-library.mdx b/apps/www/_blog/2025-03-31-supabase-ui-library.mdxindex a65c7ee6b1a..6facd244218 100644--- a/apps/www/_blog/2025-03-31-supabase-ui-library.mdx+++ b/apps/www/_blog/2025-03-31-supabase-ui-library.mdx@@ -28,7 +28,14 @@ We're excited to release an [official Supabase UI Library](https://supabase.com/Installing components from the Supabase UI Library is as easy as installing a component from shadcn/ui.-<Img wide alt="Install" src="/images/blog/launch-week-14/day-1-supabase-ui-library/install.jpg" />+<Img+ wide+ alt="Install"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/install.jpg',+ light: '/images/blog/launch-week-14/day-1-supabase-ui-library/install-light.jpg',+ }}+/>The library is 100% shadcn/ui compatible by leveraging the [component registry](https://x.com/shadcn/status/1829646556318089509) feature. It follows the conventions for theming and reuses existing components like buttons and inputs.@@ -37,7 +44,10 @@ Our UI registry is a collection of reusable components designed for use in sever<Imgwidealt="UI Library files"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/day-1-folder-structure.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure.jpg',+ light: '/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure-light.jpg',+ }}/>It's designed to take both the time and the pain out of building complex functionality like user sign-up in your apps. All components work with new or existing projects.@@ -63,15 +73,22 @@ Setting up authentication in your projects can be complicated and time-consuming<Imgwidealt="Authentication files"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth-02.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth-02.jpg',+ light:+ '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth-02-light.jpg',+ }}/>It includes everything you need to get started—fully built components for signing up, signing in, resetting a password, and handling forgotten passwords. These components are styled, responsive, and production-ready out of the box, so you don't have to worry about the design or flow. Just drop them into your project, and you're ready to sign up users.<Img- widealt="Sign up"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth.jpg',+ light:+ '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-password-based-auth-light.jpg',+ }}/>## Easy file uploads@@ -82,9 +99,12 @@ multiple file uploads, file size and count limits, image previews and MIME typeFile upload components are often complicated to set up. Spend your time working on what happens after the files are on the server.<Img- widealt="File upload dropzone"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-dropzone.jpg"+ src={{+ dark: "/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-dropzone.jpg",+ light: "/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-dropzone-light.jpg"+ }}+/>## Realtime cursor sharing@@ -92,9 +112,12 @@ File upload components are often complicated to set up. Spend your time workingThe Realtime Cursor component gets you started building multiplayer experiences in your applications. You can just drop this component into your project and you're ready to use Realtime in seconds.<Img- widealt="Realtime cursors"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-realtime-cursors.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-realtime-cursors.jpg',+ light:+ '/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-realtime-cursors-light.jpg',+ }}/>## See who's online@@ -102,9 +125,11 @@ The Realtime Cursor component gets you started building multiplayer experiencesWith the User Avatar and Realtime Avatar Stack components, you can add Realtime Presence to your apps in a few minutes. See who's online in your collaborative apps, just like in Notion or Figma.<Img- widealt="Who's Online"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/whos-online.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/whos-online.jpg',+ light: '/images/blog/launch-week-14/day-1-supabase-ui-library/whos-online-light.jpg',+ }}/>## Realtime Chat@@ -112,11 +137,17 @@ With the User Avatar and Realtime Avatar Stack components, you can add RealtimeThe Realtime Chat component is a complete chat interface, letting users exchange messages in real-time within a shared room. It features real-time, low-latency updates, message synchronization, message persistence support, customizable message appearance, automatic scroll-to-bottom on new messages and more.<Img- widealt="Realtime Chat"- src="/images/blog/launch-week-14/day-1-supabase-ui-library/realtime-chat.jpg"+ src={{+ dark: '/images/blog/launch-week-14/day-1-supabase-ui-library/realtime-chat.jpg',+ light: '/images/blog/launch-week-14/day-1-supabase-ui-library/realtime-chat-light.jpg',+ }}/>+## Rules for AI Code Editors for Supabase++Alongside our UI components, we're also shipping a curated set of LLM rules tailored for Supabase and Postgres. These rules help AI code editors understand and work with features like Row Level Security (RLS), Postgres functions, RLS policies, and Supabase Edge Functions. These rules help guide models toward best practices and valid syntax, improving your developer experience. Install them all in a single command.+---## Why build on shadcn/ui?diff --git a/apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-folder-structure-light.jpg b/apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure-light.jpgsimilarity index 100%rename from apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/supabase-ui-folder-structure-light.jpgrename to apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure-light.jpgdiff --git a/apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/day-1-folder-structure.jpg b/apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure.jpgsimilarity index 100%rename from apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/day-1-folder-structure.jpgrename to apps/www/public/images/blog/launch-week-14/day-1-supabase-ui-library/folder-structure.jpg