@backstage/core-components
Home > @backstage/core-components
Core components used by Backstage plugins and apps
Classes
Class |
Description |
---|---|
An implementation of the IdentityApi that is constructed using various backstage user identity representations. |
Functions
Function |
Description |
---|---|
Displays alerts from AlertApi | |
A component that renders a system icon by its id. | |
The Autologout feature enables platform engineers to add a mechanism to log out users after a configurable amount of time of inactivity. When enabled, the mechanism will track user actions (mouse movement, mouse click, key pressing, taps, etc.) in order to determine if they are active or not. After a certain amount of inactivity/idle time, the user session is invalidated and they are required to sign in again. | |
Component rendering an Avatar | |
Footer with link used in InfoCard() and TabbedCard() | |
Breadcrumbs component to show navigation hierarchical structure | |
Broken Image Icon | |
Card tab component used in TabbedCard() | |
Thin wrapper on top of react-syntax-highlighter providing consistent theming and copy code button | |
The main content part inside a Page(). | |
A header at the top inside a Content(). | |
Copy text button with visual feedback | |
Responsive Button giving consistent UX for creation of different things | |
Graph component used to visualize relations between entities | |
Various placeholder views for empty state pages | |
Error page with status and description | |
Renders a warning panel as the effect of an error. | |
Toggle encapsulating logic for marking something as favorite, primarily used in various instances of entity lists and cards but can be used elsewhere. This component can only be used in as a controlled toggle and does not keep internal state. | |
Icon used in FavoriteToggle component. Can be used independently, useful when used as in | |
One-time, round 'telescope' animation showing new feature. | |
Circular Progress Bar | |
Gauge() with header, subheader and footer | |
Backstage main header with abstract color background in multiple variants | |
HTML nav tag with links mapped inside | |
Additional label to main Header() | |
Horizontal Tabs component | |
Horizontal scrollable component with arrows to navigate | |
IconLinkVertical({ color, disabled, href, icon, label, onClick, title, }) | |
Material-ui card with header , content and actions footer | |
This card type has been deprecated. Instead use plain Material UI Card and helpers where appropriate. | |
A default grid to use when arranging "item cards" - cards that let users select among several options. | |
A simple card header, rendering a default look for "item cards" - cards that are arranged in a grid for users to select among several options. | |
Thin wrapper on top of material-ui's Link component, which... - Makes the Link use react-router - Captures Link clicks as analytics events. | |
Thin wrapper on top of material-ui's Button component | |
A component that displays logs in a scrollable text area. | |
Renders markdown with the default dialect gfm - GitHub flavored Markdown to backstage theme styled HTML. | |
A navigation component for mobile screens, which sticks to the bottom. | |
A sign-in page that has no user interface of its own. Instead, it relies on sign-in being performed by a reverse authenticating proxy that Backstage is deployed behind, and leverages its session handling. | |
Renders a warning panel as the effect of a failed server request. | |
Passing children into the desktop or mobile sidebar depending on the context | |
A button which allows you to expand the sidebar when clicked. | |
Groups items of the | |
Creates a | |
Provides context for reading and updating sidebar state. | |
Provides state for how the | |
Used inside SidebarItem to display an expandable Submenu | |
Item used inside a submenu within the sidebar. | |
TabbedLayout is a compound component, which allows you to define a layout for pages using a sub-navigation mechanism. | |
This hook provides a react ref to the main content. Allows to set an element as the main content and focus on that component. *Note: If | |
Hook to read and update the sidebar's open state, which controls whether or not the sidebar is open and full-width, or closed and only displaying icons. | |
Hook to read and update sidebar pin state, which controls whether or not the sidebar is pinned open. | |
Show a user friendly error message to a user similar to ErrorPanel except that the warning panel only shows the warning message to the user. |
Interfaces
Interface |
Description |
---|---|
Properties for Avatar(). | |
Properties for CodeSnippet() | |
Properties for CopyTextButton() | |
Properties of DependencyGraph() | |
The properties for the LogViewer component. | |
Props for the | |
Namespaces
Namespace |
Description |
---|---|
Types for the DependencyGraph() component. | |
Variables
Variable |
Description |
---|---|
Context whether the | |
Contains the state on how the | |
Type Aliases
Type Alias |
Description |
---|---|
Properties for AlertDisplay() | |
Props for the AppIcon() component. | |
Properties for CreateButton() | |
Props for the IconComponent component. | |
Properties for LinkButton() | |
Class keys for overriding LogViewer styles | |
Props of MobileSidebar | |
Props for ProxiedSignInPage(). | |
Types for the | |
The open state of the sidebar. | |
Props for SidebarPage | |
The pin state of the sidebar. | |
Type of | |
Clickable item displayed when submenu item is clicked. title: Text content of item to: Path to navigate to when item is clicked | |
Holds submenu item content. | |
Holds a title for text Header of a sidebar submenu and children components to be rendered inside SidebarSubmenu | |