Home / Function/ AiPrompt() — supabase Function Reference

AiPrompt() — supabase Function Reference

Architecture documentation for the AiPrompt() function in HomePageCover.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/components/HomePageCover.tsx lines 20–37

function AiPrompt({ className }: { className?: string }) {
  return (
    <Link
      className={cn(
        'group',
        'w-fit rounded-full border px-3 py-1 flex gap-2 items-center text-foreground-light text-sm',
        'hover:border-brand hover:text-brand-link focus-visible:text-brand-link',
        'transition-colors',
        className
      )}
      href="/guides/getting-started/ai-prompts"
    >
      <Sparkles size={14} />
      Start with Supabase AI prompts
      <ChevronRight size={14} className="group-hover:translate-x-1 transition-transform" />
    </Link>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free