Backstage
    Preparing search index...

    Function BUIProvider

    • Provides integration capabilities to all descendant BUI components.

      When rendered inside the Backstage app router, BUI components use client-side navigation for internal links. Relative destinations resolve from the route of the component that renders the link, and the router basename applies once.

      External and scheme links, downloads, and links with non-self targets use the browser's native navigation. BUI components rendered outside React Router use native links without throwing.

      Parameters

      Returns Element

      import { BUIProvider } from '@backstage/ui';
      import { useAnalytics as useBackstageAnalytics } from '@backstage/core-plugin-api';

      function App() {
      return (
      <BUIProvider useAnalytics={useBackstageAnalytics}>
      <AppContent />
      </BUIProvider>
      );
      }