Home / Function/ Commands() — supabase Function Reference

Commands() — supabase Function Reference

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

Entity Profile

Relationship Graph

Source Code

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

function Commands() {
  useRegisterCommands('Commands', [
    {
      id: 'experimental',
      name: 'Experimental',
      action: () => alert('You triggered an experimental command'),
      badge: () => <BadgeExperimental />,
    },
  ])

  return null
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free