Files
supabase/apps/design-system/registry/default/example/empty-state-presentational-buttons.tsx
Danny WhiteandJoshen Lim 080cc7aeab chore(studio): authentication empty states (#40883)
* auth hooks and docs

* third-party auth

* remove unrelated changes

* remove unrelated changes

* docs tighten

* docs tighten

* Nit clean up

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-28 14:57:56 +08:00

42 lines
1.2 KiB
TypeScript

import { Plus } from 'lucide-react'
import { Button } from 'ui'
import { EmptyStatePresentational } from 'ui-patterns'
import {
PageSection,
PageSectionAside,
PageSectionContent,
PageSectionMeta,
PageSectionSummary,
PageSectionTitle,
} from 'ui-patterns/PageSection'
export default function EmptyStatePresentationalIcon() {
return (
<div className="w-full">
<PageSection>
<PageSectionMeta>
<PageSectionSummary>
<PageSectionTitle>Providers</PageSectionTitle>
</PageSectionSummary>
<PageSectionAside>
<Button size="tiny" type="primary" icon={<Plus size={14} />}>
Add provider
</Button>
</PageSectionAside>
</PageSectionMeta>
<PageSectionContent>
<EmptyStatePresentational
title="Add a provider"
description="Use third-party authentication systems to access your project."
>
<Button size="tiny" type="default" icon={<Plus size={14} />}>
Add provider
</Button>
</EmptyStatePresentational>
</PageSectionContent>
</PageSection>
</div>
)
}