Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

835 B
Raw Blame
import { Button } from 'ui'
import { Admonition } from 'ui-patterns/Admonition'

export default function AdmonitionDemo() {
  return (
    <div className="flex flex-col gap-4">
      <Admonition
        type="warning"
        layout="horizontal"
        title="Set up custom SMTP"
        description="You’re using the built-in email service. This service has rate limits and is not meant to be
        used for production apps."
        actions={<Button>Set up SMTP</Button>}
      />
      <Admonition
        type="destructive"
        layout="horizontal"
        title="Deleting this organization will also remove its projects"
        description="Make sure you have made a backup of your projects if you want to keep your data."
        actions={<Button variant="danger">Delete organization</Button>}
      />
    </div>
  )
}