The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(design-system): update section introduction docs (#41164)
kemal.earth9008713a786a
diff --git a/apps/design-system/config/docs.ts b/apps/design-system/config/docs.tsindex 80223ee7a21..5a9fc2cbb8c 100644--- a/apps/design-system/config/docs.ts+++ b/apps/design-system/config/docs.ts@@ -50,6 +50,11 @@ export const docsConfig: DocsConfig = {{title: 'UI Patterns',items: [+ {+ title: 'Introduction',+ href: '/docs/ui-patterns/ui-pattern-components',+ items: [],+ },{title: 'Navigation',href: '/docs/ui-patterns/navigation',@@ -77,7 +82,7 @@ export const docsConfig: DocsConfig = {items: [{title: 'Introduction',- href: '/docs/components/fragment-components',+ href: '/docs/fragments/fragment-components',items: [],},{diff --git a/apps/design-system/content/docs/components/atom-components.mdx b/apps/design-system/content/docs/components/atom-components.mdxindex 8952b428085..8022af4294d 100644--- a/apps/design-system/content/docs/components/atom-components.mdx+++ b/apps/design-system/content/docs/components/atom-components.mdx@@ -1,4 +1,10 @@---title: Atom components-description:+description: Fundamental building blocks of user interfaces, based on shadcn/ui components.---++Atom components are the fundamental building blocks of our design system. These are primitive, single-purpose components that serve as the foundation for building more complex interfaces. Unlike fragment components (pre-built composite components) or UI patterns (guidelines for structuring sections), atom components are the smallest reusable units that can be composed together.++These components are based on [shadcn/ui](https://ui.shadcn.com) and live in the `ui` package, making them shareable across all Supabase applications. They provide consistent styling, accessibility, and behavior for common interface elements like buttons, inputs, cards, dialogs, and form controls.++Atom components are imported from the `ui` package and can be used directly or combined to create fragment components and implement UI patterns. They form the base layer of our component architecture, ensuring visual and functional consistency across the entire design system.diff --git a/apps/design-system/content/docs/components/fragment-components.mdx b/apps/design-system/content/docs/components/fragment-components.mdxdeleted file mode 100644index 1a924430a1f..00000000000--- a/apps/design-system/content/docs/components/fragment-components.mdx+++ /dev/null@@ -1,4 +0,0 @@-----title: Fragment components-description: ''----diff --git a/apps/design-system/content/docs/fragments/fragment-components.mdx b/apps/design-system/content/docs/fragments/fragment-components.mdxnew file mode 100644index 00000000000..39bac50ecfd--- /dev/null+++ b/apps/design-system/content/docs/fragments/fragment-components.mdx@@ -0,0 +1,10 @@+---+title: Fragment components+description: Reusable composite components assembled from atom components to solve common interface needs.+---++Fragment components are pre-built composite components that combine multiple atom components to create reusable interface elements. Unlike atom components (basic building blocks like buttons and inputs) or UI patterns (guidelines for structuring entire sections), fragment components are ready-to-use solutions for specific interface needs.++These components help maintain consistency across Supabase products by providing standardized implementations for common interface patterns like data visualization, dialogs, empty states, forms, layout, and navigation.++Fragment components are imported from the `ui-patterns` package and can be used directly in your application. They encapsulate common combinations of atom components, reducing boilerplate and ensuring consistent behavior across similar features.diff --git a/apps/design-system/content/docs/index.mdx b/apps/design-system/content/docs/index.mdxindex 7e392c1b574..2d9559606e4 100644--- a/apps/design-system/content/docs/index.mdx+++ b/apps/design-system/content/docs/index.mdx@@ -3,10 +3,11 @@ title: Introductiondescription: Components and patterns that you can copy and paste into Supabase apps. Accessible. Customizable. Open Source.---+Welcome to the Supabase Design System!+## FAQ<Accordion type="multiple">-<AccordionItem value="faq-1"><AccordionTrigger>Why copy/paste and not packaged as a dependency?@@ -20,5 +21,28 @@ One of the drawback of packaging the components in an npm package is that the st</AccordionContent></AccordionItem>+<AccordionItem value="faq-2">+ <AccordionTrigger>+ Which libraries do you use?+ </AccordionTrigger>+ <AccordionContent>+ We use the following libraries as a basis. Anywhere we use additional libraries, we document them in the individual component pages.++ - [tailwindcss](https://tailwindcss.com)+ - [shadcn/ui](https://ui.shadcn.com)+ - [lucide-react](https://lucide.dev)+ - [react-hook-form](https://react-hook-form.com)++ You can find the full list of dependencies in the [package.json](https://github.com/supabase/design-system/blob/main/package.json) file.+ </AccordionContent>+</AccordionItem>+<AccordionItem value="faq-3">+ <AccordionTrigger>+ I was looking for Supabase UI Library+ </AccordionTrigger>+ <AccordionContent>+ If you are looking for the Supabase UI, you can find it [here](https://supabase.com/ui).+ </AccordionContent>+</AccordionItem></Accordion>diff --git a/apps/design-system/content/docs/ui-patterns/ui-pattern-components.mdx b/apps/design-system/content/docs/ui-patterns/ui-pattern-components.mdxnew file mode 100644index 00000000000..0e5d924e0a9--- /dev/null+++ b/apps/design-system/content/docs/ui-patterns/ui-pattern-components.mdx@@ -0,0 +1,16 @@+---+title: UI Pattern components+description: Higher-level design patterns that guide how to compose components together to solve common interface problems.+---++UI Patterns are reusable design solutions that combine multiple components from our design system to address common interface challenges. Unlike atom components (basic building blocks like buttons and inputs) or fragment components (pre-built composite components), UI patterns provide guidelines and best practices for structuring entire interface sections.++These patterns help ensure consistency across Supabase products by establishing standard approaches for:++- **Charts**: Visualizing data consistently using standardized chart types and styling.+- **[Empty States](/docs/ui-patterns/empty-states)**: Communicating the absence of data and guiding users toward meaningful actions.+- **[Forms](/docs/ui-patterns/forms)**: Building cohesive form experiences in both page layouts and side panels.+- **[Layout](/docs/ui-patterns/layout)**: Creating consistent page structures with proper spacing, max-widths, and content organization.+- **[Navigation](/docs/ui-patterns/navigation)**: Organizing complex hierarchical navigation systems across multiple products and contexts.++UI patterns may incorporate external libraries (such as `react-markdown`, `reactflow`, `recharts`, etc) or compose various components from the `ui` package. They serve as blueprints for solving recurring design problems, ensuring that similar features across the application follow the same structural and interaction patterns.diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex 4cc5912f641..26aa52dbe28 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -4,9 +4,16 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Fri, 05 Dec 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Mon, 08 Dec 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item>+ <guid>https://supabase.com/blog/introducing-iceberg-js</guid>+ <title>Introducing iceberg-js: A JavaScript Client for Apache Iceberg</title>+ <link>https://supabase.com/blog/introducing-iceberg-js</link>+ <description>A minimal, vendor-agnostic JavaScript client for the Apache Iceberg REST Catalog API, providing type-safe catalog management for JavaScript and TypeScript developers.</description>+ <pubDate>Mon, 08 Dec 2025 00:00:00 -0700</pubDate>+</item>+<item><guid>https://supabase.com/blog/introducing-supabase-for-platforms</guid><title>Introducing Supabase for Platforms</title><link>https://supabase.com/blog/introducing-supabase-for-platforms</link>