Home / Function/ Commands() — supabase Function Reference

Commands() — supabase Function Reference

Architecture documentation for the Commands() function in commandmenu-icon.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/design-system/registry/default/example/commandmenu-icon.tsx lines 12–23

function Commands() {
  useRegisterCommands('Commands', [
    {
      id: 'github',
      name: 'Go to repo',
      route: 'https://github.com/supabase/supabase',
      icon: () => <Github />,
    },
  ])

  return null
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free